Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AssetList = []AssetType{ AutnumRecord, AutonomousSystem, ContactRecord, DomainRecord, EmailAddress, File, Fingerprint, FQDN, IPAddress, IPNetRecord, Location, Netblock, NetworkEndpoint, Organization, Person, Phone, Service, SocketAddress, Source, TLSCertificate, URL, }
Functions ¶
func GetAssetOutgoingRelations ¶ added in v0.7.0
GetAssetOutgoingRelations returns the relation types allowed to be used when the subject is the asset type provided in the parameter. Providing an invalid subject causes a return value of nil.
Types ¶
type AssetType ¶
type AssetType string
const ( AutnumRecord AssetType = "AutnumRecord" AutonomousSystem AssetType = "AutonomousSystem" ContactRecord AssetType = "ContactRecord" DomainRecord AssetType = "DomainRecord" EmailAddress AssetType = "EmailAddress" File AssetType = "File" Fingerprint AssetType = "Fingerprint" FQDN AssetType = "FQDN" IPAddress AssetType = "IPAddress" IPNetRecord AssetType = "IPNetRecord" Location AssetType = "Location" Netblock AssetType = "Netblock" NetworkEndpoint AssetType = "NetworkEndpoint" Organization AssetType = "Organization" Person AssetType = "Person" Phone AssetType = "Phone" Service AssetType = "Service" SocketAddress AssetType = "SocketAddress" Source AssetType = "Source" TLSCertificate AssetType = "TLSCertificate" URL AssetType = "URL" )
func GetTransformAssetTypes ¶ added in v0.7.0
GetAssetOutgoingRelations returns the relation types allowed to be used when the subject is the asset type provided in the parameter. Providing an invalid subject causes a return value of nil.
Click to show internal directories.
Click to hide internal directories.