Malwation ThreatZone Documentation
  • Release Notes
    • v2.7.2 - latest
    • v2.7.1
    • v2.7.0
    • v2.6.1
    • v2.6.0
    • v2.5.2
    • v2.5.1
    • v2.5.0
    • v2.4.0
    • v2.3.0
    • v2.2.0
    • v2.1.0
    • v2.0.0
    • v1.4.0
    • v1.3.0
    • v1.2.0
    • v1.1.0
    • v1.0.0
  • API Docs
    • Scan
    • Get
    • Me
    • Download
    • Constants
    • Models
  • ThreatZone Onpremise Usage Guide
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. API Docs

Constants

PreviousDownloadNextModels

Was this helpful?

Get metafields that can be used in the Threat.Zone API

get

Retrieve metafields to use in the Threat.Zone's /scan/sandbox endpoint

Authorizations
Responses
200
Successfully retrieved metafields
application/json
get
GET /public-api/constants/metafields HTTP/1.1
Host: 
Authorization: Bearer 
Accept: */*
200

Successfully retrieved metafields

[
  {
    "metafieldId": "timeout",
    "value": 60
  }
]

Get all available levels used in Threat.Zone API

get

Retrieve all available levels for a Threat.Zone submission that can be used

Responses
200
Successfully retrieved levels
application/json
get
GET /public-api/constants/levels HTTP/1.1
Host: 
Accept: */*
200

Successfully retrieved levels

[
  {
    "value": 0,
    "description": "Unknown"
  }
]

Get all available statuses used in Threat.Zone API

get

Retrieve all available statuses for a submission

Responses
200
Successfully retrieved statuses
application/json
get
GET /public-api/constants/statuses HTTP/1.1
Host: 
Accept: */*
200

Successfully retrieved statuses

[
  {
    "value": 1,
    "description": "File received"
  }
]

Get sample metafield to use while sending requests to the /scan/sandbox endpoint

get

Retrieve a sample metafield to use while sending requests to the /scan/sandbox endpoint

Responses
200
Successfully retrieved sample metafield
application/json
get
GET /public-api/constants/samplemetafield HTTP/1.1
Host: 
Accept: */*
200

Successfully retrieved sample metafield

[
  {
    "metafieldId": "timeout",
    "value": 60
  }
]
  • GETGet metafields that can be used in the Threat.Zone API
  • GETGet all available levels used in Threat.Zone API
  • GETGet all available statuses used in Threat.Zone API
  • GETGet sample metafield to use while sending requests to the /scan/sandbox endpoint