{
  "opencollection": "1.0.0",
  "info": {
    "name": "Armor Compliance Vulnerability Scanning API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://auth.armor.com/authorize",
      "accessTokenUrl": "https://auth.armor.com/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Vulnerability Scanning",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get asset vulnerabilities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://compliance.api.secure-prod.services/vs/asset-vulnerabilities/:coreinstanceid",
            "params": [
              {
                "name": "coreinstanceid",
                "value": "",
                "type": "path",
                "description": "Asset identifier (GUID)"
              }
            ]
          },
          "docs": "Get asset vulnerabilities"
        },
        {
          "info": {
            "name": "Get asset and vulnerabilities with pagination",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://compliance.api.secure-prod.services/vulnerability-scan/asset-vulnerabilities/:coreinstanceid",
            "headers": [
              {
                "name": "x-range",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "coreinstanceid",
                "value": "",
                "type": "path",
                "description": "Asset identifier (GUID)"
              }
            ]
          },
          "docs": "Get asset and vulnerabilities with pagination"
        },
        {
          "info": {
            "name": "Get list of current vulnerabilities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://compliance.api.secure-prod.services/vulnerability-scan/current",
            "headers": [
              {
                "name": "x-range",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Filter by assetId or other criteria"
              }
            ]
          },
          "docs": "Get list of current vulnerabilities"
        },
        {
          "info": {
            "name": "Get details of a vulnerability",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://compliance.api.secure-prod.services/vulnerability-scan/current/:vulnerabilityReportId",
            "params": [
              {
                "name": "vulnerabilityReportId",
                "value": "",
                "type": "path",
                "description": "Vulnerability report ID"
              }
            ]
          },
          "docs": "Get details of a vulnerability"
        },
        {
          "info": {
            "name": "List of VMs by scan report ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://compliance.api.secure-prod.services/vulnerability-scan/:scanId/vms",
            "params": [
              {
                "name": "scanId",
                "value": "",
                "type": "path",
                "description": "Scan report ID"
              }
            ]
          },
          "docs": "List of VMs by scan report ID"
        },
        {
          "info": {
            "name": "List of vulnerabilities by scan report ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://compliance.api.secure-prod.services/vulnerability-scan/:scanId/vulnerabilities",
            "params": [
              {
                "name": "scanId",
                "value": "",
                "type": "path",
                "description": "Scan report ID"
              }
            ]
          },
          "docs": "List of vulnerabilities by scan report ID"
        },
        {
          "info": {
            "name": "List of vulnerabilities with affected assets count",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://compliance.api.secure-prod.services/v2/vulnerability-scan/:scanId/vulnerabilities",
            "params": [
              {
                "name": "scanId",
                "value": "",
                "type": "path",
                "description": "Scan report ID"
              }
            ]
          },
          "docs": "List of vulnerabilities with affected assets count"
        },
        {
          "info": {
            "name": "Get vulnerability detail by scan and vulnerability report ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://compliance.api.secure-prod.services/vulnerability-scan/:scanId/:vulnerabilityReportId",
            "params": [
              {
                "name": "scanId",
                "value": "",
                "type": "path",
                "description": "Scan report ID"
              },
              {
                "name": "vulnerabilityReportId",
                "value": "",
                "type": "path",
                "description": "Vulnerability report ID"
              }
            ]
          },
          "docs": "Get vulnerability detail by scan and vulnerability report ID"
        }
      ]
    }
  ],
  "bundled": true
}