Skip to content

Latest commit

 

History

History
259 lines (176 loc) · 5.54 KB

constants.rst

File metadata and controls

259 lines (176 loc) · 5.54 KB

libtaxii.constants Module

libtaxii.constants

Constants

Version IDs

The following constants can be used as TAXII Version IDs

VID_TAXII_SERVICES_10

VID_TAXII_SERVICES_11

VID_TAXII_XML_10

VID_TAXII_XML_11

VID_TAXII_HTTP_10

VID_TAXII_HTTPS_10

The following are third-party Version IDs included in libtaxii for convenience.

VID_CERT_EU_JSON_10

Content Binding IDs

The following constants should be used as the Content Binding ID for STIX XML.

CB_STIX_XML_10

CB_STIX_XML_101

CB_STIX_XML_11

CB_STIX_XML_111

CB_STIX_XML_12

These other Content Binding IDs are included for convenience as well.

CB_CAP_11

CB_XENC_122002

CB_SMIME

Namespace Map

This constant contains commonly namespaces and aliases in TAXII.

NS_MAP

Message Types

MSG_STATUS_MESSAGE

MSG_DISCOVERY_REQUEST

MSG_DISCOVERY_RESPONSE

MSG_FEED_INFORMATION_REQUEST

MSG_FEED_INFORMATION_RESPONSE

MSG_MANAGE_FEED_SUBSCRIPTION_REQUEST

MSG_MANAGE_FEED_SUBSCRIPTION_RESPONSE

MSG_POLL_REQUEST

MSG_POLL_RESPONSE

MSG_INBOX_MESSAGE

MSG_TYPES_10

MSG_POLL_FULFILLMENT_REQUEST

MSG_COLLECTION_INFORMATION_REQUEST

MSG_COLLECTION_INFORMATION_RESPONSE

MSG_MANAGE_COLLECTION_SUBSCRIPTION_REQUEST

MSG_MANAGE_COLLECTION_SUBSCRIPTION_RESPONSE

MSG_TYPES_11

Status Types

These constants are used in :pyStatusMessage.

ST_BAD_MESSAGE

ST_DENIED

ST_FAILURE

ST_NOT_FOUND

ST_POLLING_UNSUPPORTED

ST_RETRY

ST_SUCCESS

ST_UNAUTHORIZED

ST_UNSUPPORTED_MESSAGE_BINDING

ST_UNSUPPORTED_CONTENT_BINDING

ST_UNSUPPORTED_PROTOCOL

ST_TYPES_10

ST_ASYNCHRONOUS_POLL_ERROR

ST_DESTINATION_COLLECTION_ERROR

ST_INVALID_RESPONSE_PART

ST_NETWORK_ERROR

ST_PENDING

ST_UNSUPPORTED_QUERY

ST_TYPES_11

Subscription Actions

These constants are used in :pyManageFeedSubscriptionRequest

ACT_SUBSCRIBE

ACT_UNSUBSCRIBE

ACT_STATUS

ACT_TYPES_10

ACT_PAUSE

ACT_RESUME

ACT_TYPES_11

Service Types

These constants are used to indicate the type of service.

SVC_INBOX

SVC_POLL

SVC_FEED_MANAGEMENT

SVC_DISCOVERY

SVC_TYPES_10

SVC_COLLECTION_MANAGEMENT

SVC_TYPES_11

Subscription Statuses

These constants are used in :pyManageCollectionSubscriptionResponse

SS_ACTIVE

SS_PAUSED

SS_UNSUBSCRIBED

SS_TYPES_11

Response Types

These constants are used to indicate the type of response returned.

RT_FULL

RT_COUNT_ONLY

RT_TYPES_11

Collection Types

These constants are used to indicate the type of collection.

CT_DATA_FEED

CT_DATA_SET

CT_TYPES_11

Status Details

These constants are used in :pyStatusMessage.

SD_ACCEPTABLE_DESTINATION

SD_MAX_PART_NUMBER

SD_ITEM

SD_ESTIMATED_WAIT

SD_RESULT_ID

SD_WILL_PUSH

SD_SUPPORTED_BINDING

SD_SUPPORTED_CONTENT

SD_SUPPORTED_PROTOCOL

SD_SUPPORTED_QUERY

SD_TYPES_11

SD_CAPABILITY_MODULE

SD_PREFERRED_SCOPE

SD_ALLOWED_SCOPE

SD_TARGETING_EXPRESSION_ID

Query Formats

These constants are used to indicate query format.

..autodata:: FID_TAXII_DEFAULT_QUERY_10

Query Capability Modules

These constants are used to indicate TAXII Default Query Capability Modules

CM_CORE

CM_REGEX

CM_TIMESTAMP

CM_IDS

Query Operators

These constants are used to identify the operator in :py:class`Criteria`

OP_OR

OP_AND

OP_TYPES

Query Status Types

TAXII Default Query 1.0 identifies three additional Status Types:

ST_UNSUPPORTED_CAPABILITY_MODULE

ST_UNSUPPORTED_TARGETING_EXPRESSION

ST_UNSUPPORTED_TARGETING_EXPRESSION_ID

Query Parameters

These constants are used to identify parameters.

P_VALUE

P_MATCH_TYPE

P_CASE_SENSITIVE

P_NAMES

Query Relationships

These constants are used to identify relationships

R_EQUALS

R_NOT_EQUALS

R_GREATER_THAN

R_GREATER_THAN_OR_EQUAL

R_LESS_THAN

R_LESS_THAN_OR_EQUAL

R_DOES_NOT_EXIST

R_EXISTS

R_BEGINS_WITH

R_ENDS_WITH

R_CONTAINS

R_MATCHES

R_NAMES