Update a RuleStack
PUT/v1/config/rulestacks/:rulestackname
Modify the rulestack.
Note: You cannot update the scope of the rulestack.
Request
Path Parameters
The name of the rulestack.
- application/json
Body
RuleStackEntry object
Scope of the rulestack.
Possible values: <= 12 characters
, Value must match regular expression ^$|^[0-9]+$
The unique ID of the account.
Possible values: <= 512 characters
Description of the rulestack.
Profiles object
Rulestack profile.
Possible values: [custom
, BestPractice
]
Default value: BestPractice
Anti-spyware security profile.
Possible values: [custom
, BestPractice
]
Default value: BestPractice
Anti-virus security profile.
Possible values: [custom
, BestPractice
]
Default value: BestPractice
File blocking security profile.
Outbound trust certificate profile.
Outbound untrust certificate profile.
Possible values: [custom
, BestPractice
, None
]
Default value: None
URL filtering security profile.
Possible values: [custom
, BestPractice
]
Default value: BestPractice
Vulnerability security profile.
Possible values: [Global
, Local
]
The scope of the rulestack.
Refresh token
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- 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.
- InternalServerError—Your request is valid but Cloud NGFW could not perform the operation due to a system issue.
Response object
RuleStackEntry object
Describe whether the rulestack is local or global.
Possible values: <= 12 characters
, Value must match regular expression ^$|^[0-9]+$
The unique ID of the account.
Possible values: <= 512 characters
Description of the rulestack.
Profiles object
Rulestack profile.
Possible values: [custom
, BestPractice
]
Default value: BestPractice
Anti-spyware security profile.
Possible values: [custom
, BestPractice
]
Default value: BestPractice
Anti-virus security profile.
Possible values: [custom
, BestPractice
]
Default value: BestPractice
File blocking security profile.
Outbound trust certificate profile.
Outbound untrust certificate profile.
Possible values: [custom
, BestPractice
, None
]
Default value: None
URL filtering security profile.
Possible values: [custom
, BestPractice
]
Default value: BestPractice
Vulnerability security profile.
Possible values: [Global
, Local
]
The scope of the rulestack.
Refresh token.
Name of the rulestack.
ResponseStatus object
Default value: 0
Default value of a successful response is 0. Any other number indicates an error code.
400—HTTP bad request
500—Bad request
The error description.
{
"Response": {
"RuleStackEntry": {
"AccountId": "string",
"Description": "string",
"Profiles": {
"AntiSpywareProfile": "BestPractice",
"AntiVirusProfile": "BestPractice",
"FileBlockingProfile": "BestPractice",
"OutboundTrustCertificate": "string",
"OutboundUnTrustCertificate": "string",
"URLFilteringProfile": "None",
"VulnerabilityProfile": "BestPractice"
},
"Scope": "Global",
"UpdateToken": "string"
},
"RuleStackName": "string"
},
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
}
}