Skip to main content

Update a RuleStack

PUT 

/v1/config/rulestacks/:rulestackname

Modify the rulestack.

Note: You cannot update the scope of the rulestack.

Request

Path Parameters

    rulestackname stringrequired

    The name of the rulestack.

Body

    RuleStackEntry object

    Scope of the rulestack.

    AccountId Accountid (string)

    Possible values: <= 12 characters, Value must match regular expression ^$|^[0-9]+$

    The unique ID of the account.

    Description Description (string)

    Possible values: <= 512 characters

    Description of the rulestack.

    Profiles object

    Rulestack profile.

    AntiSpywareProfile Antispywareprofile (string)

    Possible values: [custom, BestPractice]

    Default value: BestPractice

    Anti-spyware security profile.

    AntiVirusProfile Antivirusprofile (string)

    Possible values: [custom, BestPractice]

    Default value: BestPractice

    Anti-virus security profile.

    FileBlockingProfile Fileblockingprofile (string)

    Possible values: [custom, BestPractice]

    Default value: BestPractice

    File blocking security profile.

    OutboundTrustCertificate Outboundtrustcertificate (string)

    Outbound trust certificate profile.

    OutboundUnTrustCertificate Outbounduntrustcertificate (string)

    Outbound untrust certificate profile.

    URLFilteringProfile Urlfilteringprofile (string)

    Possible values: [custom, BestPractice, None]

    Default value: None

    URL filtering security profile.

    VulnerabilityProfile Vulnerabilityprofile (string)

    Possible values: [custom, BestPractice]

    Default value: BestPractice

    Vulnerability security profile.

    Scope Scope (string)

    Possible values: [Global, Local]

    The scope of the rulestack.

    UpdateToken Updatetoken (string)

    Refresh token

Responses

OK

Schema
    Response object
    RuleStackEntry object

    Describe whether the rulestack is local or global.

    AccountId Accountid (string)

    Possible values: <= 12 characters, Value must match regular expression ^$|^[0-9]+$

    The unique ID of the account.

    Description Description (string)

    Possible values: <= 512 characters

    Description of the rulestack.

    Profiles object

    Rulestack profile.

    AntiSpywareProfile Antispywareprofile (string)

    Possible values: [custom, BestPractice]

    Default value: BestPractice

    Anti-spyware security profile.

    AntiVirusProfile Antivirusprofile (string)

    Possible values: [custom, BestPractice]

    Default value: BestPractice

    Anti-virus security profile.

    FileBlockingProfile Fileblockingprofile (string)

    Possible values: [custom, BestPractice]

    Default value: BestPractice

    File blocking security profile.

    OutboundTrustCertificate Outboundtrustcertificate (string)

    Outbound trust certificate profile.

    OutboundUnTrustCertificate Outbounduntrustcertificate (string)

    Outbound untrust certificate profile.

    URLFilteringProfile Urlfilteringprofile (string)

    Possible values: [custom, BestPractice, None]

    Default value: None

    URL filtering security profile.

    VulnerabilityProfile Vulnerabilityprofile (string)

    Possible values: [custom, BestPractice]

    Default value: BestPractice

    Vulnerability security profile.

    Scope Scope (string)

    Possible values: [Global, Local]

    The scope of the rulestack.

    UpdateToken Updatetoken (string)

    Refresh token.

    RuleStackName Rulestackname (string)

    Name of the rulestack.

    ResponseStatus object
    ErrorCode Errorcode (integer)

    Default value: 0

    Default value of a successful response is 0. Any other number indicates an error code.

    400—HTTP bad request

    • InvalidRequestException—Operation failed due to invalid request. For example, unsupported parameter name or value in the request.
    • LimitExceededException—Operation failed due to violation in limit settings.
    • ThrottlingException—Operation failed due to throttling limitations.

    500—Bad request

    • InternalServerError—Your request is valid but Cloud NGFW could not perform the operation due to a system issue.
    Reason Reason (string)

    The error description.

Loading...