Versions in this module Expand all Collapse all v1 v1.6.0 Nov 7, 2026 v1.5.1 Nov 5, 2026 v1.5.0 Nov 5, 2026 v1.4.0 Nov 5, 2026 v1.3.1 Nov 5, 2026 v1.3.0 Nov 5, 2026 v1.2.0 Nov 5, 2026 v1.1.1 Nov 3, 2026 v1.1.0 Nov 3, 2026 v1.0.0 Nov 3, 2026 Changes in this version + const Version + func JSON() []byte + func Markdown() string + func ParseRef(ref string) (id string, major int, ok bool) + type AssetType string + const AssetAIModel + const AssetAPI + const AssetAutonomousSystem + const AssetBlockchain + const AssetCertificate + const AssetCloudAccount + const AssetCloudResource + const AssetContainer + const AssetContainerImage + const AssetContainerRegistry + const AssetDatabase + const AssetDeFiProtocol + const AssetDomainName + const AssetEndpointDevice + const AssetFirewall + const AssetHost + const AssetIPAddress + const AssetIPRange + const AssetIdentity + const AssetIoTDevice + const AssetKubernetesCluster + const AssetKubernetesNS + const AssetKubernetesWL + const AssetLoadBalancer + const AssetMobileApp + const AssetNFTCollection + const AssetNetworkDevice + const AssetOTDevice + const AssetPackage + const AssetRepository + const AssetSaaSApplication + const AssetServerless + const AssetService + const AssetSmartContract + const AssetStorage + const AssetSubnet + const AssetToken + const AssetUnclassified + const AssetVPC + const AssetWallet + const AssetWebApplication + const AssetWebOrigin + func AllAssetTypes() []AssetType + type Capability struct + ATTACK []string + CAPEC []string + CrossCutting bool + D3FEND []string + Deprecated *Deprecation + Description string + ExtraOutputs []string + FindingTypes []string + ID string + InPorts []PortType + Major int + Name string + OutPorts []PortType + Outputs []Rule + Params []Param + Phase Phase + Status Status + TierFloor int + func All() []Capability + func Lookup(ref string) (Capability, bool) + func Routed() []Capability + func (c Capability) Accepts(assetType string) bool + func (c Capability) CTEMStage() string + func (c Capability) Check(doc map[string]any, opts CheckOptions) ([]Violation, error) + func (c Capability) MayEmit(kind string) bool + func (c Capability) Param(name string) (Param, bool) + func (c Capability) Ref() string + func (c Capability) Runnable() bool + func (c Capability) Shapes() []string + type CheckOptions struct + MaxViolations int + Shape string + type Deprecation struct + Message string + ReplacedBy string + Since string + type Param struct + Description string + Enum []string + Max *int + Min *int + Name string + Type ParamType + type ParamType string + const ParamBoolean + const ParamInteger + const ParamPortList + const ParamString + const ParamStringList + type Phase string + const PhaseAssess + const PhaseCollect + const PhaseDiscoverActive + const PhaseDiscoverPassive + const PhaseValidate + type PhaseInfo struct + CTEMStage string + Description string + ID Phase + Label string + func LookupPhase(p Phase) (PhaseInfo, bool) + func Phases() []PhaseInfo + type PortType string + const PortCIDR + const PortCloudAccount + const PortContainerImage + const PortEndpoint + const PortFinding + const PortHostname + const PortIP + const PortRepository + const PortRootDomain + const PortService + const PortURL + type PortTypeInfo struct + Carries []string + Label string + Type PortType + func LookupPortType(t PortType) (PortTypeInfo, bool) + func PortTypes() []PortTypeInfo + type Rule struct + AnyOf []string + Paths []string + Select string + Shape string + type Status string + const StatusLater + const StatusPlanned + const StatusRouted + type Violation struct + Kind string + Path string + Record string + func (v Violation) String() string