List File Blocking Actions
GET/v1/config/rulestacks/:rulestackname/fileblockingprofiles/custom/filetypes
Retrieves the metadata for the file blocking profile defined for a specified rulestack.
Request
Path Parameters
The name of the rulestack.
Query Parameters
If the number of file blocking actions available for retrieval exceeds the maximum you requested, NGFW returns a NextToken value in response. To retrieve the next batch of file blocking actions, use this token in your next request.
Default value: true
File blocking action candidate.
File blocking actions in run state.
Uncommitted file blocking actions.
Possible values: >= 1
and <= 1024
Default value: 1024
The maximum number of file blocking actions that you want NGFW to return for this request.
Retrieve file blocking action information.
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.
- ResourceNotFoundException—Unable to locate a resource using the parameters you provided.
- 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
The API call response.
File blocking action candidate.
File blocking action on run state.
FileBlockingUncommitted object[]
Uncommitted file blocking actions.
Name of the file blocking action.
File blocking action operation.
If the number of file blocking actions available for retrieval exceeds the maximum you requested, NGFW returns a NextToken value in response. To retrieve the next batch of file blocking actions, use this token in your next request.
Name of the rulestack.
ResponseStatus object
The API call response status.
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": {
"FileBlockingCandidate": [
"string"
],
"FileBlockingRunning": [
"string"
],
"FileBlockingUncommitted": [
{
"Name": "string",
"Operation": "string"
}
],
"NextToken": "string",
"RuleStackName": "string"
},
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
}
}