Skip to content

    Type a page, a command such as keryn scan, or a rule id.

    keryn export

    Describes Keryn 0.5.2 and keryn-rules 0.8.0. Changelog

    View as Markdown

    .keryn/decisions.yml as OpenVEX 0.2.0 or CycloneDX 1.6 VEX.

    keryn export --vex <file>
    Usage: keryn export --vex <file> [--format openvex|cyclonedx] [path] [--product <purl|url>] [--author <name>] [--timestamp <iso>] [--from <result.json>]
    Writes .keryn/decisions.yml as OpenVEX 0.2.0, or CycloneDX 1.6 VEX with --format cyclonedx ('-' for stdout): status and justification pass through, the reason is the
    impact or action statement, the rule id is the vulnerability name. The product is --product, else the git remote as a purl, else
    pkg:generic/<folder name>. --from names each finding's rule and file (the subcomponent). An accepted risk is affected, with who and until when.
    Terminal window
    # Write the decisions as OpenVEX.
    keryn export --vex keryn.openvex.json .
    Code Meaning
    0 written
    2 usage error or no decisions file