Documentation ¶
Overview ¶
Package datastore defines various datastores for use with STIX 2 and TAXII 2.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datastorer ¶
type Datastorer interface { Close() error AddObject(obj interface{}) error AddTAXIIObject(obj interface{}) error AddToCollection(collectionid, stixid string) error GetObjects(query collections.CollectionQuery) (*collections.CollectionQueryResult, error) GetVersions(query collections.CollectionQuery) (*collections.CollectionQueryResult, error) GetManifestData(query collections.CollectionQuery) (*collections.CollectionQueryResult, error) }
Datastorer - This interface enables access to the STIX/TAXII datastore.
Close - This will close the connection to the datastore GetObject - This takes in a STIX ID and modified timestamp and returns a specific STIX object AddObject - This takes in a STIX object and writes it to the datastore AddTAXIIObject - This takes in a TAXII object and writes it to the datastore GetBundle - This will return a STIX Bundle object based on the query parameters provided GetManifestData - This will return a TAXII Manifest resource based on the query parameters provide
Directories ¶
Path | Synopsis |
---|---|
Package sqlite3 implements the SQLite 3 datastore for TAXII 2.
|
Package sqlite3 implements the SQLite 3 datastore for TAXII 2. |