Skip to content

feat: have a converter from NeuVector process rules to new enforcer format #593

@dottorblaster

Description

@dottorblaster

We need a one-way converter that ingests existing NeuVector process profiles and emits equivalent policies in our new runtime-enforcer format. This unblocks migration for users who already have curated NeuVector rules and don't fancy rewriting them by hand (nobody does).

Acceptance criteria

  • CLI tool / subcommand (e.g. runtime-enforcer convert --from neuvector ) reads a NeuVector process profile (JSON/YAML) and outputs a valid policy in our new format, with a clear mapping of allow/deny actions and process path/args matching semantics.
  • Unmappable or ambiguous rules produce a non-zero exit code and a human-readable diagnostic pointing at the offending entry, rather than silently dropping them.
  • Draft document as to how to migrate existing NV 5 rules to runtime-enforcer.

Metadata

Metadata

Assignees

Labels

No labels
No labels
No fields configured for Feature.

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions