taxii-api-root

Retrieves general information about a specific API root on a TAXII 2.x server. Fetches API root metadata such as supported TAXII versions and maximum content length.

Command properties

PropertyDescription
Command typeDriver query
Required permissionUser permission
License usageNot counted
Parallel executionNot supported
Distributed executionNot supported

Syntax

taxii-api-root profile=profile_name apiroot=api_root_name

Options

profile=profile_name
Name of the TAXII connect profile to use. You can specify multiple profiles separated by commas.
apiroot=api_root_name
Name of the TAXII API root to query. Required.

Output fields

FieldTypeDescription
profilestringConnect profile name
titlestringAPI root title
descriptionstringAPI root description
versionsarrayList of TAXII versions supported by the API root
max_content_lengthlongMaximum content size allowed by the API root (bytes)
_errorstringError message if an error occurs

Error codes

Parsing errors
Error codeMessageDescription
201800No available TAXII profile found.No available TAXII profile exists
201801Specify valid TAXII profile.The specified TAXII profile name is invalid
201802Specify apiroot optionThe apiroot option was not specified

Description

Sends a request to a specific API root endpoint on the TAXII server to retrieve its metadata. Both the profile and apiroot options are required. If an error occurs, the error message is recorded in the _error field of the corresponding record.

Examples

  1. Retrieve TAXII API root information

    taxii-api-root profile="my-taxii" apiroot="taxii"
    

    Retrieves information about the taxii API root using the my-taxii connect profile.