Skip to content

Can not update the rule  #29

@ma3s7ro

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

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