Skip to main content

Create an anti-spyware profile

POST 

https://api.strata.paloaltonetworks.com/config/security/v1/anti-spyware-profiles

Create a new anti-spyware profile.

Request

Body

Created

    oneOf
    folderstringrequired

    The folder in which the resource is defined

    Possible values: <= 64 characters, Value must match regular expression ^[a-zA-Z\d-_\. ]+$

    Example: My Folder

Responses

Created

Authorization: http

name: scmTokentype: httpdescription: Strata Cloud Manager APIs authenticate client requests using the 
OAuth 2.0 Client Credentials flow.  Please use the `client_id`, 
`client_secret` values associated with an IAM service account along 
with a scope value of `tsg_id:XXXXXXXXXX`, where `XXXXXXXXXX` is the 
Tenant Service Group (TSG) ID.  The resulting JWT access token should 
be attached to all API calls as a `Bearer` token in the `Authorization` 
header (ex. `Authorization: Bearer tokenstring`).
scheme: bearerbearerFormat: JWT
curl -L 'https://api.strata.paloaltonetworks.com/config/security/v1/anti-spyware-profiles' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <token>' \
-d '{
"name": "string",
"description": "string",
"cloud_inline_analysis": false,
"inline_exception_edl_url": [
"string"
],
"inline_exception_ip_address": [
"string"
],
"mica_engine_spyware_enabled": [
{
"name": "string"
}
],
"rules": [
{
"name": "string",
"action": {
"allow": {}
},
"severity": [
"string"
],
"threat_name": "string"
}
],
"threat_exception": [
{
"name": "string",
"action": {
"default": {}
},
"exempt_ip": [
{
"name": "string"
}
],
"notes": "string"
}
],
"folder": "My Folder"
}'
Request Collapse all
Base URL
https://api.strata.paloaltonetworks.com/config/security/v1
Auth
Body
{
  "name": "string",
  "description": "string",
  "cloud_inline_analysis": false,
  "inline_exception_edl_url": [
    "string"
  ],
  "inline_exception_ip_address": [
    "string"
  ],
  "mica_engine_spyware_enabled": [
    {
      "name": "string"
    }
  ],
  "rules": [
    {
      "name": "string",
      "action": {
        "allow": {}
      },
      "severity": [
        "string"
      ],
      "threat_name": "string"
    }
  ],
  "threat_exception": [
    {
      "name": "string",
      "action": {
        "default": {}
      },
      "exempt_ip": [
        {
          "name": "string"
        }
      ],
      "notes": "string"
    }
  ],
  "folder": "My Folder"
}
ResponseClear

Click the Send API Request button above and see the response here!