taxii-objects

Retrieves STIX (Structured Threat Information eXpression) domain objects from a specific collection on a TAXII 2.x server. Use this command to fetch threat intelligence data.

Command properties

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

Syntax

taxii-objects profile=profile_name apiroot=api_root_name id=collection_id

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 from which to retrieve objects. Required.
id=collection_id
Collection ID (GUID format) from which to retrieve objects. Required.

Output fields

FieldTypeDescription
profilestringConnect profile name
indexstringIndex of the cyber observable object within an ObservedData object
typestringSTIX object type
idstringSTIX object ID
createdtimestampObject creation time
modifiedtimestampObject last modified time
revokedbooleanWhether the object is revoked
labelsarrayList of labels assigned to the object
first_observedtimestampFirst observation time (for ObservedData type)
last_observedtimestampLast observation time (for ObservedData type)
objectsarrayList of cyber observable objects (for ObservedData type)
valuestringObject value (e.g., IP address)
_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
201803Specify id optionThe id option was not specified
201804check GUID format of TAXII id optionThe id option is not in GUID format

Description

Retrieves STIX domain objects from a specific collection on the TAXII server. Fetches a maximum of 10,000 objects. ObservedData-type objects are output as a structure that includes a list of cyber observable objects; other types output the STIX object's fields directly. You can find the collection ID using the taxii-collections command.

Examples

  1. Retrieve STIX objects from a collection

    taxii-objects profile="my-taxii" apiroot="taxii" id="12345678-1234-1234-1234-123456789abc"
    

    Retrieves the list of STIX objects from the specified collection using the my-taxii connect profile.