Describe a RuleStack
GET/v1/config/rulestacks/:rulestackname
Returns the data of the specific rulestack.
Request
Path Parameters
The name of the rulestack.
- application/json
Body
Default value: true
Rulestack candidate.
Possible values: > 0
and < 101
The maximum number of rulestacks that you want NGFW to return for this request.
Rulestacks in run state.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- 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
RuleStackCandidate object
Rulestack candidate.
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.
RuleStackRunning object
Rulestacks in run state.
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
State of rulestack.
Tags object[]
The tags associated with the rulestack.
Possible values: non-empty
and <= 128 characters
, Value must match regular expression ^.*$
A unique identifier in the key-value pair. The constant that defines the data set. .
Possible values: non-empty
and <= 256 characters
, Value must match regular expression ^.*$
The variable that belongs to the data set.
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": {
"RuleStackCandidate": {
"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",
"RuleStackRunning": {
"AccountId": "string",
"Description": "string",
"Profiles": {
"AntiSpywareProfile": "BestPractice",
"AntiVirusProfile": "BestPractice",
"FileBlockingProfile": "BestPractice",
"OutboundTrustCertificate": "string",
"OutboundUnTrustCertificate": "string",
"URLFilteringProfile": "None",
"VulnerabilityProfile": "BestPractice"
},
"Scope": "Global",
"UpdateToken": "string"
},
"RuleStackState": "string",
"Tags": [
{
"Key": "string",
"Value": "string"
}
]
},
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
}
}