Akamai · Example Payload

Akamai Get Policy Rapid Rules Example

CDNCloudEdge ComputingNetworksPlatformSecurity

Akamai Get Policy Rapid Rules Example is an example object payload from Akamai, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "get-policy-rapid-rules",
  "method": "GET",
  "path": "/configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/rapid-rules",
  "summary": "List rapid rules",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "policyRules": [
          {
            "action": "deny",
            "conditionException": {},
            "id": 950002,
            "lock": true,
            "riskScoreGroups": [],
            "title": "Rapid rule title",
            "version": 1
          },
          {
            "action": "alert",
            "conditionException": {},
            "id": 950006,
            "lock": false,
            "riskScoreGroups": [
              "LFI"
            ],
            "title": "Local File Inclusion (LFI) Attack on Linux files",
            "version": 2
          },
          {
            "action": "alert",
            "conditionException": {
              "exception": {
                "specificHeaderCookieParamXmlOrJsonNames": [
                  {
                    "names": [
                      "test"
                    ],
                    "selector": "REQUEST_COOKIES_NAMES",
                    "wildcard": true
                  }
                ]
              }
            },
            "id": 950007,
            "lock": false,
            "riskScoreGroups": [
              "XSS"
            ],
            "title": "Cross-site Scripting (XSS) Attack",
            "version": 2
          }
        ]
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "example": {
        "detail": "The request could not be understood by the server due to malformed syntax.",
        "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
        "status": 400,
        "title": "Bad Request",
        "type": "https://problems.luna.akamaiapis.net/appsec/error-types/BAD-REQUEST"
      }
    },
    {
      "status": "404",
      "contentType": "application/problem+json",
      "example": {
        "detail": "The requested resource is not found",
        "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
        "status": 404,
        "title": "Not Found",
        "type": "https://problems.luna.akamaiapis.net/appsec/error-types/NOT-FOUND"
      }
    },
    {
      "status": "500",
      "contentType": "application/problem+json",
      "example": {
        "detail": "Internal Server Error",
        "instance": "12ab3c45-789d-01ef-2gh3-ijk4l56m78no",
        "status": 500,
        "title": "Internal Server Error",
        "type": "internal_server_error"
      }
    }
  ]
}