Add To Allow List
This API is used to add a list of files to allow-list.
Request
URI
POST
https://api.example.com/napp/api/v1/malware-prevention/allow-list
COPY
Request Body
Details of the file. Expected in terms of sha256 hash for each file.
AllowedFileDetailsRequestList of type(s) application/json
Optional
This request body class requires all of the following: ListResult , InlineAllowedFileDetailsRequestList1
{
"_self": {},
"_links": [
{
"href": "string",
"action": "string",
"rel": "string"
}
],
"_schema": "string",
"result_count": 0,
"sort_by": "string",
"sort_ascending": false,
"cursor": "string",
"file_hashes": [
{
"sha256": "fa35e2051ae8f152a1745d2455606a8e1f07c20abf848f8346549cb2f3986b0f"
},
{
"sha256": "fa35e2051ae8f152a1745d2455606a8e1f07c20abf848f8346549cb2f3986b0f"
}
]
}
Authentication
This operation uses the following authentication methods.
Responses
200
Successful operation
Returns AllowedFileDetailsResponseList of type(s) application/json
This response body class contains all of the following: ListResult , InlineAllowedFileDetailsResponseList1
{
"_self": {},
"_links": [
{
"href": "string",
"action": "string",
"rel": "string"
}
],
"_schema": "string",
"result_count": 0,
"sort_by": "string",
"sort_ascending": false,
"cursor": "string",
"results": [
{
"sha256": "fa35e2051ae8f152a1745d2455606a8e1f07c20abf848f8346549cb2f3986b0f"
},
{
"sha256": "fa35e2051ae8f152a1745d2455606a8e1f07c20abf848f8346549cb2f3986b0f"
}
]
}
400
Invalid inputs
Operation doesn't return any data structure
Malware Prevention Operations
POST
Add To Allow List
POST
Auto Complete Search
DELETE
Delete Allow List
DELETE
Delete Deployment Spec
GET
Get Allow List
GET
Get Events Statistics
GET
Get File Inspection Events
GET
Get Inspected File Details
GET
Get Inspected Files
GET
Get Malware Prevention Rbac Permissions
GET
Get Malware Prevention Usage Details
GET
Get Service Definition
GET
Get Statistics By Threat Family
GET
Get Statistics By Threat Score
GET
Query Search
POST
Register Svm