Akamai · Example Payload

Akamai Get Rules Upgrade Details Example

CDNCloudEdge ComputingNetworksPlatformSecurity

Akamai Get Rules Upgrade Details 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-rules-upgrade-details",
  "method": "GET",
  "path": "/configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/rules/upgrade-details",
  "summary": "Get upgrade details",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "current": "KRS 1.0 (Apr 20, 2020)",
        "evalToEvalUpdates": {
          "deletedAttackGroups": [
            {
              "group": "SQL",
              "groupName": "SQL Injection"
            }
          ],
          "deletedRules": [],
          "newAttackGroups": [
            {
              "group": "CMD",
              "groupName": "Command Injection"
            },
            {
              "group": "XSS",
              "groupName": "Cross Site Scripting (XSS)"
            }
          ],
          "newRules": [
            {
              "id": 3000090,
              "title": "Cross-site Scripting (XSS) Attack: Attribute Injection"
            }
          ],
          "updatedAttackGroups": [],
          "updatedRules": []
        },
        "evaluating": "KRS 1.0 (Mar 15, 2020)",
        "krsToEvalUpdates": {
          "deletedAttackGroups": [
            {
              "group": "SQL",
              "groupName": "SQL Injection"
            }
          ],
          "deletedRules": [],
          "newAttackGroups": [
            {
              "group": "CMD",
              "groupName": "Command Injection"
            },
            {
              "group": "XSS",
              "groupName": "Cross Site Scripting (XSS)"
            }
          ],
          "newRules": [
            {
              "id": 3000082,
              "title": "Cross-site Scripting (XSS) Attack: Attribute Injection"
            },
            {
              "id": 3000083,
              "title": "IE XSS Filters - Attack Detected"
            }
          ],
          "updatedAttackGroups": [],
          "updatedRules": [
            {
              "id": 3000080,
              "title": "Cross-site Scripting (XSS) Attack"
            },
            {
              "id": 3000081,
              "title": "PHP Injection Attack (Opening Tag)"
            }
          ]
        },
        "krsToLatestUpdates": {
          "deletedAttackGroups": [
            {
              "group": "SQL",
              "groupName": "SQL Injection"
            }
          ],
          "deletedRules": [
            {
              "id": 3000048,
              "title": "MSSQL Code Execution and Information Gathering Attempts"
            }
          ],
          "newAttackGroups": [],
          "newRules": [
            {
              "id": 3000090,
              "title": "Remote File Inclusion Attack"
            },
            {
              "id": 3000091,
              "title": "IE XSS Filters"
            }
          ],
          "updatedAttackGroups": [
            {
              "group": "CMD",
              "groupName": "Command Injection"
            },
            {
              "group": "XSS",
              "groupName": "Cross Site Scripting (XSS)"
            }
          ],
          "updatedRules": []
        },
        "latest": "KRS 1.0 (June 15, 2020)"
      }
    },
    {
      "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"
      }
    }
  ]
}