# yaml-language-server: $schema=../../../../api/jsonschema/harp.bundle.v1/Patch.json
apiVersion: harp.elastic.co/v1
kind: BundlePatch
meta:
  name: "regofile-package-remover"
  owner: security@elastic.co
  description: "Remove a targeted package with Rego file"
spec:
  rules:
    - selector:
        regoFile: remover.rego
      package:
        # Flag to be removed
        remove: true
