Versions in this module Expand all Collapse all v0 v0.6.1 Jan 15, 2020 v0.5.1 Dec 19, 2018 Changes in this version + const DB_TABLE_STIX_ALIASES + const DB_TABLE_STIX_ATTACK_PATTERN + const DB_TABLE_STIX_AUTHORS + const DB_TABLE_STIX_BASE_OBJECT + const DB_TABLE_STIX_CAMPAIGN + const DB_TABLE_STIX_COURSE_OF_ACTION + const DB_TABLE_STIX_EXTERNAL_REFERENCES + const DB_TABLE_STIX_GOALS + const DB_TABLE_STIX_HASHES + const DB_TABLE_STIX_IDENTITY + const DB_TABLE_STIX_IDENTITY_SECTORS + const DB_TABLE_STIX_INDICATOR + const DB_TABLE_STIX_INDICATOR_TYPES + const DB_TABLE_STIX_INTRUSION_SET + const DB_TABLE_STIX_KILL_CHAIN_PHASES + const DB_TABLE_STIX_LABELS + const DB_TABLE_STIX_LOCATION + const DB_TABLE_STIX_MALWARE + const DB_TABLE_STIX_NOTE + const DB_TABLE_STIX_OBJECT_MARKING_REFS + const DB_TABLE_STIX_OBJECT_REFS + const DB_TABLE_STIX_OBSERVED_DATA + const DB_TABLE_STIX_OPINION + const DB_TABLE_STIX_PERSONAL_MOTIVATIONS + const DB_TABLE_STIX_REPORT + const DB_TABLE_STIX_SECONDARY_MOTIVATIONS + const DB_TABLE_STIX_THREAT_ACTOR + const DB_TABLE_STIX_THREAT_ACTOR_ROLES + const DB_TABLE_STIX_TOOL + const DB_TABLE_STIX_VULNERABILITY + const DB_TABLE_TAXII_COLLECTIONS + const DB_TABLE_TAXII_COLLECTION_DATA + const DB_TABLE_TAXII_COLLECTION_MEDIA_TYPE + const DB_TABLE_TAXII_MEDIA_TYPES + const DB_TABLE_VOCAB_ATTACK_MOTIVATIONS + const DB_TABLE_VOCAB_ATTACK_RESOURCE_LEVEL + const DB_TABLE_VOCAB_IDENTITY_CLASS + const DB_TABLE_VOCAB_INDICATOR_LABEL + const DB_TABLE_VOCAB_INDUSTRY_SECTOR + const DB_TABLE_VOCAB_MALWARE_LABEL + const DB_TABLE_VOCAB_REPORT_LABEL + const DB_TABLE_VOCAB_THREAT_ACTOR_LABEL + const DB_TABLE_VOCAB_THREAT_ACTOR_ROLE + const DB_TABLE_VOCAB_THREAT_ACTOR_SOPHISTICATION + const DB_TABLE_VOCAB_TOOL_LABEL + type Store struct + Cache struct{ ... } + DB *sql.DB + Filename string + Logger *log.Logger + Strict struct{ ... } + func New(logger *log.Logger, filename string, ...) *Store + func (ds *Store) AddObject(obj interface{}) error + func (ds *Store) AddTAXIIObject(obj interface{}) error + func (ds *Store) AddToCollection(collectionid, stixid string) error + func (ds *Store) Close() error + func (ds *Store) CreateSTIXTables() + func (ds *Store) CreateTAXIITables() + func (ds *Store) CreateVocabTables() + func (ds *Store) GetAllCollections() (*collections.Collections, error) + func (ds *Store) GetAllEnabledCollections() (*collections.Collections, error) + func (ds *Store) GetCollections() (*collections.Collections, error) + func (ds *Store) GetManifestData(query collections.CollectionQuery) (*collections.CollectionQueryResult, error) + func (ds *Store) GetObjects(query collections.CollectionQuery) (*collections.CollectionQueryResult, error) + func (ds *Store) GetVersions(query collections.CollectionQuery) (*collections.CollectionQueryResult, error) + func (ds *Store) PopulateVocabTables()