{
  "opencollection": "1.0.0",
  "info": {
    "name": "Checkmarx One Applications Authentication API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Authentication",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Checkmarx Obtain access token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://ast.checkmarx.net/api/auth/realms/:realm/protocol/openid-connect/token",
            "params": [
              {
                "name": "realm",
                "value": "",
                "type": "path",
                "description": "Authentication realm name"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "grant_type",
                  "value": ""
                },
                {
                  "name": "client_id",
                  "value": ""
                },
                {
                  "name": "client_secret",
                  "value": ""
                },
                {
                  "name": "refresh_token",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Authenticate using OAuth 2.0 client credentials via the Checkmarx One IAM service to obtain a bearer token for API access."
        },
        {
          "info": {
            "name": "Checkmarx Obtain access token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://ast.checkmarx.net/api/auth/identity/connect/token",
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "username",
                  "value": ""
                },
                {
                  "name": "grant_type",
                  "value": ""
                },
                {
                  "name": "scope",
                  "value": ""
                },
                {
                  "name": "client_id",
                  "value": ""
                },
                {
                  "name": "client_secret",
                  "value": ""
                },
                {
                  "name": "password",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Authenticate using OAuth 2.0 to obtain a bearer token for accessing the Checkmarx SAST REST API. Supports both password and refresh token grant types."
        },
        {
          "info": {
            "name": "Checkmarx Obtain access token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://ast.checkmarx.net/api/identity/connect/token",
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "grant_type",
                  "value": ""
                },
                {
                  "name": "username",
                  "value": ""
                },
                {
                  "name": "password",
                  "value": ""
                },
                {
                  "name": "acr_values",
                  "value": ""
                },
                {
                  "name": "scope",
                  "value": ""
                },
                {
                  "name": "client_id",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Authenticate using OAuth 2.0 client credentials to obtain a bearer token for accessing the Checkmarx SCA API."
        }
      ]
    }
  ],
  "bundled": true
}