package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Mar 9, 2023
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func RegisterType(name string, builder func() interface{}) error
RegisterType register a new type association and a builder for deserialization
func ReplaceType(name string, builder func() interface{}) error
ReplaceType is used to replace a type with new builder. For Example for attribute extensions (Mitre Att&ck)
type Bundle struct {
Type string `json:"type"`
ID string `json:"id"`
SpecVersion string `json:"spec_version"`
Objects []interface{} `json:"objects"`
}
Bundle represents STIX object bundle (i.e. ATT&CK)
Stats represents bundle loading stats
Source Files
¶
Click to show internal directories.
Click to hide internal directories.