Link11 WAAP
v5
v5
  • Link11 WAAP Documentation
  • Release Notes
  • Known Issues
  • User Guide
    • Introduction to Link11 WAAP
  • How Link11 WAAP Works
    • Traffic Filtering Process
    • Traffic Reporting and Analytics
    • Policy Mapping and Traffic Routing
    • Tagging
    • UI Overview and Common Elements
  • Console UI Walkthrough
    • Analytics
      • Dashboard
      • Events Log
    • Security
      • Global Filters
      • Flow Control Policies
      • Security Policies
      • Rate Limit Rules
      • ACL Profiles
      • Actions
      • Dynamic Rules
      • Quarantined
      • Content Filter
        • Content Filter Profiles
        • Content Filter Rules
    • Sites
      • Server Groups
      • Proxy Templates
      • Mobile Application Groups
      • Backend Services
      • Edge Functions
      • DNS Records
      • SSL
        • Load Balancers
        • Certificates
    • System
      • Interactive Challenge
      • SSO Configuration
      • Purge CDN Cache
      • Users Management
      • Security Alerts
      • Log Exporters
      • Version Control
      • System DB
      • Publish Changes
    • Account
  • Using the product
    • Best Practices
      • Saving and Publishing Your Changes
      • Enabling Passive Challenges
      • Understanding and Diagnosing Traffic Issues
    • How Do I...
      • Authenticate mobile app users
      • Ban, unban, and allowlist traffic sources
      • Bypass Link11 WAAP for loadtesting or other purposes
      • Configure a new path/section of a site
      • Control caching behavior
      • Enable GraphQL traffic
      • Enable mTLS (mutual TLS)
      • Protect sensitive information in logs and analytics
      • Quickly block an attacker
      • Redirect or block HTTP traffic
      • Run custom code
      • Set rate limits and exemptions
      • Stream event data to a SIEM solution or other destination
    • The Link11 WAAP API
      • Overview
      • Internal data structures
      • Using Swagger UI
      • Using curl
  • Reference Information
    • Acronyms
    • API
      • API access to traffic data
      • Types of namespaces
      • Namespace reference
        • ACL Profiles
        • Actions
        • Backend Services
        • Certificates
        • Configs
        • Content Filter Profiles
        • Content Filter Rules
        • Data queries
        • Dynamic Rules
        • Edge Functions
        • Flow Control Policies
        • Global Filters
        • Load Balancers
        • Log Exporters
        • Mobile Application Groups
        • Planets
        • Proxy Templates
        • Rate Limit Rules
        • Security Alerts
        • Security Policies
        • Server Groups
        • Tags
        • Tools
        • Users
    • Hostile Bot Detection / LWCSI
      • Environmental detection and browser verification
      • Client authentication
      • Biometric behavioral verification
    • HTTP Response Codes
    • Log Exporter Output
    • Pattern Matching Syntax
    • Query Filter Syntax and Best Practices
  • Support
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Reference Information
  2. API
  3. Namespace reference

Security Policies

PreviousSecurity AlertsNextServer Groups

Last updated 4 months ago

Was this helpful?

Delete Security Policies

delete

Delete all Security Policies in a configuration

Path parameters
configstringRequired
Responses
200
Security Policies deleted successfully
application/json
422
Validation Error
application/json
delete
DELETE /api/v4.0/conf/{config}/security-policies HTTP/1.1
Host: 
Accept: */*
{
  "message": "Successfully deleted entry"
}

Get specific Security Policy

get

Get a Security Policy from the specified configuration

Path parameters
configstringRequired
entry_idstringRequired
Responses
200
Security Policy retrieved successfully
application/json
422
Validation Error
application/json
get
GET /api/v4.0/conf/{config}/security-policies/{entry_id} HTTP/1.1
Host: 
Accept: */*
{
  "description": "text",
  "id": "text",
  "map": [
    {
      "acl_profile_active": true,
      "acl_profile": "text",
      "backend_service": "text",
      "edge_functions": [
        "text"
      ],
      "content_filter_profile_active": true,
      "content_filter_profile": "text",
      "description": "text",
      "id": "text",
      "rate_limit_rules": [
        "text"
      ],
      "match": "text",
      "name": "text"
    }
  ],
  "name": "text",
  "session": 1,
  "session_ids": 1,
  "tags": [
    "text"
  ]
}

Delete single Security Policy

delete

Delete an individual Security Policy from the specified configuration

Path parameters
configstringRequired
entry_idstringRequired
Responses
200
Security Policy deleted successfully
application/json
422
Validation Error
application/json
delete
DELETE /api/v4.0/conf/{config}/security-policies/{entry_id} HTTP/1.1
Host: 
Accept: */*
{
  "message": "Successfully deleted entry"
}

Get Security Policies version list

get

Get list of versions of Security Policies in a configuration

Path parameters
configstringRequired
Responses
200
Security Policies version list retrieved successfully
application/json
422
Validation Error
application/json
get
GET /api/v4.0/conf/{config}/security-policies/versions HTTP/1.1
Host: 
Accept: */*
{
  "total": 1,
  "items": [
    {
      "author": "text",
      "email": "name@gmail.com",
      "message": "text",
      "date": "2025-05-18T00:26:39.991Z",
      "version": "42bcc1282349db1e5791484c3d69420b1d8a8bc1",
      "parents": [
        "f44073242093228b45bff7eb7a065559fa9b46aa"
      ]
    }
  ]
}

Get version of Security Policy

get

Get a specific version of a Security Policy

Path parameters
configstringRequired
versionstringRequired
Responses
200
Security Policy retrieved successfully
application/json
422
Validation Error
application/json
get
GET /api/v4.0/conf/{config}/security-policies/versions/{version} HTTP/1.1
Host: 
Accept: */*
{
  "total": 1,
  "items": [
    {
      "description": "text",
      "id": "text",
      "map": [
        {
          "acl_profile_active": true,
          "acl_profile": "text",
          "backend_service": "text",
          "edge_functions": [
            "text"
          ],
          "content_filter_profile_active": true,
          "content_filter_profile": "text",
          "description": "text",
          "id": "text",
          "rate_limit_rules": [
            "text"
          ],
          "match": "text",
          "name": "text"
        }
      ],
      "name": "text",
      "session": 1,
      "session_ids": 1,
      "tags": [
        "text"
      ]
    }
  ]
}

Revert a Security Policy to the specified version

put

Set a previous Security Policy version to be the current one

Path parameters
configstringRequired
versionstringRequired
Responses
200
Security Policy reversion was successful
application/json
422
Validation Error
application/json
put
PUT /api/v4.0/conf/{config}/security-policies/versions/{version}/revert HTTP/1.1
Host: 
Accept: */*
{
  "message": "Successfully updated entry"
}
  • GETGet Security Policies
  • PUTModify Security Policies
  • POSTCreate Security Policies
  • DELETEDelete Security Policies
  • GETGet specific Security Policy
  • PUTModify a single Security Policy
  • POSTCreate single Security Policy
  • DELETEDelete single Security Policy
  • GETGet Security Policies version list
  • GETGet version of Security Policy
  • PUTRevert a Security Policy to the specified version

Get Security Policies

get

Get all Security Policies in a configuration

Path parameters
configstringRequired
Responses
200
Security Policies retrieved successfully
application/json
422
Validation Error
application/json
get
GET /api/v4.0/conf/{config}/security-policies HTTP/1.1
Host: 
Accept: */*
{
  "total": 1,
  "items": [
    {
      "description": "text",
      "id": "text",
      "map": [
        {
          "acl_profile_active": true,
          "acl_profile": "text",
          "backend_service": "text",
          "edge_functions": [
            "text"
          ],
          "content_filter_profile_active": true,
          "content_filter_profile": "text",
          "description": "text",
          "id": "text",
          "rate_limit_rules": [
            "text"
          ],
          "match": "text",
          "name": "text"
        }
      ],
      "name": "text",
      "session": 1,
      "session_ids": 1,
      "tags": [
        "text"
      ]
    }
  ]
}

Modify Security Policies

put

Update an existing set of Security Policies for a configuration

Path parameters
configstringRequired
Body
descriptionstringOptional
idstringRequired
namestringRequired
sessionany ofOptional
integerOptional
or
numberOptional
or
booleanOptional
or
anyOptional
or
session_idsany ofOptional
integerOptional
or
numberOptional
or
booleanOptional
or
anyOptional
or
tagsstring[]Optional
Responses
200
Security Policies updated successfully
application/json
422
Validation Error
application/json
put
PUT /api/v4.0/conf/{config}/security-policies HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 361

[
  {
    "description": "text",
    "id": "text",
    "map": [
      {
        "acl_profile_active": true,
        "acl_profile": "text",
        "backend_service": "text",
        "edge_functions": [
          "text"
        ],
        "content_filter_profile_active": true,
        "content_filter_profile": "text",
        "description": "text",
        "id": "text",
        "rate_limit_rules": [
          "text"
        ],
        "match": "text",
        "name": "text"
      }
    ],
    "name": "text",
    "session": 1,
    "session_ids": 1,
    "tags": [
      "text"
    ]
  }
]
{
  "message": "Successfully updated entry"
}

Create Security Policies

post

Create a complete set of Security Policies for a configuration

Path parameters
configstringRequired
Body
descriptionstringOptional
idstringRequired
namestringRequired
sessionany ofOptional
integerOptional
or
numberOptional
or
booleanOptional
or
anyOptional
or
session_idsany ofOptional
integerOptional
or
numberOptional
or
booleanOptional
or
anyOptional
or
tagsstring[]Optional
Responses
201
Security Policies created successfully
application/json
422
Validation Error
application/json
post
POST /api/v4.0/conf/{config}/security-policies HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 361

[
  {
    "description": "text",
    "id": "text",
    "map": [
      {
        "acl_profile_active": true,
        "acl_profile": "text",
        "backend_service": "text",
        "edge_functions": [
          "text"
        ],
        "content_filter_profile_active": true,
        "content_filter_profile": "text",
        "description": "text",
        "id": "text",
        "rate_limit_rules": [
          "text"
        ],
        "match": "text",
        "name": "text"
      }
    ],
    "name": "text",
    "session": 1,
    "session_ids": 1,
    "tags": [
      "text"
    ]
  }
]
{
  "message": "Successfully created entry"
}

Modify a single Security Policy

put

Update an individual Security Policy within a configuration

Path parameters
configstringRequired
entry_idstringRequired
Body
descriptionstringOptional
idstringRequired
namestringRequired
sessionany ofOptional
integerOptional
or
numberOptional
or
booleanOptional
or
anyOptional
or
session_idsany ofOptional
integerOptional
or
numberOptional
or
booleanOptional
or
anyOptional
or
tagsstring[]Optional
Responses
200
Security Policy updated successfully
application/json
422
Validation Error
application/json
put
PUT /api/v4.0/conf/{config}/security-policies/{entry_id} HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 359

{
  "description": "text",
  "id": "text",
  "map": [
    {
      "acl_profile_active": true,
      "acl_profile": "text",
      "backend_service": "text",
      "edge_functions": [
        "text"
      ],
      "content_filter_profile_active": true,
      "content_filter_profile": "text",
      "description": "text",
      "id": "text",
      "rate_limit_rules": [
        "text"
      ],
      "match": "text",
      "name": "text"
    }
  ],
  "name": "text",
  "session": 1,
  "session_ids": 1,
  "tags": [
    "text"
  ]
}
{
  "message": "Successfully updated entry"
}

Create single Security Policy

post

Create an individual Security Policy within a configuration

Path parameters
configstringRequired
entry_idstringRequired
Body
descriptionstringOptional
idstringRequired
namestringRequired
sessionany ofOptional
integerOptional
or
numberOptional
or
booleanOptional
or
anyOptional
or
session_idsany ofOptional
integerOptional
or
numberOptional
or
booleanOptional
or
anyOptional
or
tagsstring[]Optional
Responses
201
Security Policy created successfully
application/json
422
Validation Error
application/json
post
POST /api/v4.0/conf/{config}/security-policies/{entry_id} HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 359

{
  "description": "text",
  "id": "text",
  "map": [
    {
      "acl_profile_active": true,
      "acl_profile": "text",
      "backend_service": "text",
      "edge_functions": [
        "text"
      ],
      "content_filter_profile_active": true,
      "content_filter_profile": "text",
      "description": "text",
      "id": "text",
      "rate_limit_rules": [
        "text"
      ],
      "match": "text",
      "name": "text"
    }
  ],
  "name": "text",
  "session": 1,
  "session_ids": 1,
  "tags": [
    "text"
  ]
}
{
  "message": "Successfully created entry"
}