Skip to content

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

    keryn init

    Describes Keryn 0.5.2 and keryn-rules 0.8.0. Changelog

    View as Markdown

    Write .keryn.yml and .keryn/policy.yml.

    keryn init [--force]
    Usage: keryn init [--force]
    Writes .keryn.yml and .keryn/policy.yml; refuses to overwrite without --force.
    The config runs the full rule library (rules: bundled:all, as `keryn scan` does without a config); narrow it in .keryn.yml.
    Terminal window
    # Write the starter configuration; refuses to overwrite.
    keryn init
    Code Meaning
    0 written
    2 a file exists and –force was not given