Skip to content

Can not update the rule  #29

Description

@ma3s7ro

According to API v2 documentation
https://docs.imperva.com/bundle/cloud-application-security/page/apiv2/cloud-waf-api-definition.htm

parameters should be in JSON format

Need add in line

param, "POST", param)

param, "POST", param["json"])

After the change command incap rule update-rule works as expected

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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