{
  "opencollection": "1.0.0",
  "info": {
    "name": "ThreatDown Security Advisor API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Security Advisor",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Issue bulk software update jobs",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.threatdown.com/sam/assets/software",
            "headers": [
              {
                "name": "authorization",
                "value": ""
              },
              {
                "name": "accountid",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Bulk issue software update jobs per machine id"
        },
        {
          "info": {
            "name": "List SAM issues",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.threatdown.com/sam/details",
            "headers": [
              {
                "name": "authorization",
                "value": ""
              },
              {
                "name": "accountid",
                "value": ""
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get list of issues found by the Security Advisor Module"
        },
        {
          "info": {
            "name": "List SAM issues by category",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.threatdown.com/sam/details/:category",
            "headers": [
              {
                "name": "authorization",
                "value": ""
              },
              {
                "name": "accountid",
                "value": ""
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get list of issues found by the Security Advisor Module filtered by category"
        },
        {
          "info": {
            "name": "Get supported DNS categories",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.threatdown.com/sam/dns/categories",
            "headers": [
              {
                "name": "authorization",
                "value": ""
              },
              {
                "name": "accountid",
                "value": ""
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get list of supported DNS security categories with their code"
        },
        {
          "info": {
            "name": "Get list of ongoing SAM jobs",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.threatdown.com/sam/jobs/status",
            "headers": [
              {
                "name": "authorization",
                "value": ""
              },
              {
                "name": "accountid",
                "value": ""
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get list of ongoing jobs that can potentially fix a SAM issue"
        },
        {
          "info": {
            "name": "Get Policy protection features",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.threatdown.com/sam/policy/:policyId/details/:category",
            "headers": [
              {
                "name": "authorization",
                "value": ""
              },
              {
                "name": "accountid",
                "value": ""
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get Policy protection features status according to given category"
        },
        {
          "info": {
            "name": "Placeholder. Please extend this",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.threatdown.com/sam/preferences/:name",
            "headers": [
              {
                "name": "authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Placeholder. Please extend this"
        },
        {
          "info": {
            "name": "Placeholder. Please extend this",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.threatdown.com/sam/preferences/:name",
            "headers": [
              {
                "name": "authorization",
                "value": ""
              },
              {
                "name": "accountid",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Placeholder. Please extend this"
        },
        {
          "info": {
            "name": "Retrieve SAM scores",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.threatdown.com/sam/summary",
            "headers": [
              {
                "name": "authorization",
                "value": ""
              },
              {
                "name": "accountid",
                "value": ""
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get account Security Advisor Module (SAM) current and achievable scores"
        }
      ]
    }
  ],
  "bundled": true
}