Skip to content

Deleting exception to managed sysdig_secure_rule_falco fails validation #727

@omaen

Description

@omaen

Hi,

When trying to delete a previously created exception to a managed rule, the terraform provider fails with the following error:

│ Error: File failed to pass validation with the following linux agents: 14.5.0.
│ Validation failed: linux 14.5.0. Reason: Rule exception must have fields property with a list of fields. Location: rule: K8s Networkpolicy Deleted, exception: user_name_target_namespace

user_name_target_namespace is a custom exception created using this terraform a while ago, and values have later been added through runtime policy tuning in the web app.

Could a problem be that deleting the custom exception fails validation because the tuner relies on the exception definition? If so, maybe the error message could be a bit more specific?

Using sysdig provider version v3.7.1 and terraform v1.14.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions