ctis

package
v0.48.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package ctis is the SDK's name for the CTIS data model (github.com/openctemio/ctis).

It holds no copy of the model. Every exported type, constant and function of the ctis module is re-exported here (zz_generated_aliases.go, written by internal/genalias from the version go.mod requires): types are aliases, so a ctis.Report from this package and from the module are the same type and mix freely. Bumping the CTIS version is a go.mod change plus `go generate ./pkg/ctis`; CI fails when the generated file is stale.

What the SDK adds on top of the module:

  • SARIFLog / SARIFRun: the module's SARIF root types plus versionControlProvenance (SARIFRun.Repository).
  • CheckFindingAssets / ErrNoAssetForFindings: every finding needs an asset of its own report (the rule protocol v2 ingest enforces).

SARIF is converted by core.SARIFParser, through the module's importer package; the module's bare FromSARIF is not re-exported.

Stability: Stable (docs/STABILITY.md).

Index

Constants

View Source
const (
	AssetKeyNamespace                                           = upstream.AssetKeyNamespace
	MaxTechnologies                                             = upstream.MaxTechnologies
	MaxTechnologyNameLen                                        = upstream.MaxTechnologyNameLen
	MaxTechnologyVerLen                                         = upstream.MaxTechnologyVerLen
	MaxTechnologyCPELen                                         = upstream.MaxTechnologyCPELen
	MaxTechnologyCategory                                       = upstream.MaxTechnologyCategory
	MaxTechnologyCatLen                                         = upstream.MaxTechnologyCatLen
	MaxFindingTechniques                                        = upstream.MaxFindingTechniques
	MaxRelationships                                            = upstream.MaxRelationships
	MaxRelationshipRefLen                                       = upstream.MaxRelationshipRefLen
	MaxFindingEvidenceSize                                      = upstream.MaxFindingEvidenceSize
	RelSubdomainOf                                              = upstream.RelSubdomainOf
	RelResolvesTo                                               = upstream.RelResolvesTo
	RelCnameOf                                                  = upstream.RelCnameOf
	RelExposes                                                  = upstream.RelExposes
	RelServesCertificate                                        = upstream.RelServesCertificate
	RelHostedBy                                                 = upstream.RelHostedBy
	RelContains                                                 = upstream.RelContains
	RelRunsOn                                                   = upstream.RelRunsOn
	RelDependsOn                                                = upstream.RelDependsOn
	RelDeployedFrom                                             = upstream.RelDeployedFrom
	RelMemberOf                                                 = upstream.RelMemberOf
	RelRoutesTo                                                 = upstream.RelRoutesTo
	RelHasAccessTo                                              = upstream.RelHasAccessTo
	RelHasAddress                                               = upstream.RelHasAddress
	CorrelationKeyPrefix                                        = upstream.CorrelationKeyPrefix
	MaxExtensionNamespaces                                      = upstream.MaxExtensionNamespaces
	MaxExtensionNamespaceLen                                    = upstream.MaxExtensionNamespaceLen
	MaxExtensionsBytes                                          = upstream.MaxExtensionsBytes
	MaxAssetOwners                                              = upstream.MaxAssetOwners
	MaxOwnerRefLen                                              = upstream.MaxOwnerRefLen
	MaxValidatorLen                                             = upstream.MaxValidatorLen
	MaxValidationNotes                                          = upstream.MaxValidationNotes
	MaxEvidenceRefs                                             = upstream.MaxEvidenceRefs
	MaxEvidenceRefLen                                           = upstream.MaxEvidenceRefLen
	MaxCAPECIDs                                                 = upstream.MaxCAPECIDs
	MaxThreatSignals                                            = upstream.MaxThreatSignals
	MaxSignalSourceLen                                          = upstream.MaxSignalSourceLen
	MaxSignalRefLen                                             = upstream.MaxSignalRefLen
	MaxTargets                                                  = upstream.MaxTargets
	MaxTargetLen                                                = upstream.MaxTargetLen
	MaxSegmentCount                                             = upstream.MaxSegmentCount
	MaxDependencyRefLen                                         = upstream.MaxDependencyRefLen
	OpenTokenPattern                                            = upstream.OpenTokenPattern
	ExtensionNamespacePattern                                   = upstream.ExtensionNamespacePattern
	OpenCTEMNamespace                                           = upstream.OpenCTEMNamespace
	EnvironmentProduction                                       = upstream.EnvironmentProduction
	EnvironmentStaging                                          = upstream.EnvironmentStaging
	EnvironmentDevelopment                                      = upstream.EnvironmentDevelopment
	EnvironmentTest                                             = upstream.EnvironmentTest
	EnvironmentUnknown                                          = upstream.EnvironmentUnknown
	OwnerKindTeam                                               = upstream.OwnerKindTeam
	OwnerKindPerson                                             = upstream.OwnerKindPerson
	OwnerKindGroup                                              = upstream.OwnerKindGroup
	OwnerRoleTechnical                                          = upstream.OwnerRoleTechnical
	OwnerRoleBusiness                                           = upstream.OwnerRoleBusiness
	OwnerRoleSecurity                                           = upstream.OwnerRoleSecurity
	AssetStateActive                                            = upstream.AssetStateActive
	AssetStateGone                                              = upstream.AssetStateGone
	StateReasonNameGone                                         = upstream.StateReasonNameGone
	StateReasonResourceDeleted                                  = upstream.StateReasonResourceDeleted
	StateReasonInventoryRemoved                                 = upstream.StateReasonInventoryRemoved
	ValidationExploited                                         = upstream.ValidationExploited
	ValidationNotExploited                                      = upstream.ValidationNotExploited
	ValidationBlocked                                           = upstream.ValidationBlocked
	ValidationDetected                                          = upstream.ValidationDetected
	ValidationNotReproducible                                   = upstream.ValidationNotReproducible
	ValidationNotTested                                         = upstream.ValidationNotTested
	ValidationMethodPentest                                     = upstream.ValidationMethodPentest
	ValidationMethodBAS                                         = upstream.ValidationMethodBAS
	ValidationMethodAutomatedExploit                            = upstream.ValidationMethodAutomatedExploit
	ValidationMethodRetest                                      = upstream.ValidationMethodRetest
	ValidationMethodManualReview                                = upstream.ValidationMethodManualReview
	ThreatSignalKEV                                             = upstream.ThreatSignalKEV
	ThreatSignalExploitedInWild                                 = upstream.ThreatSignalExploitedInWild
	ThreatSignalPublicExploit                                   = upstream.ThreatSignalPublicExploit
	ThreatSignalRansomwareUse                                   = upstream.ThreatSignalRansomwareUse
	ThreatSignalWeaponized                                      = upstream.ThreatSignalWeaponized
	TargetDone                                                  = upstream.TargetDone
	TargetFailed                                                = upstream.TargetFailed
	TargetSkipped                                               = upstream.TargetSkipped
	TargetUnfinished                                            = upstream.TargetUnfinished
	TargetClassUnreachable                                      = upstream.TargetClassUnreachable
	TargetClassTimeout                                          = upstream.TargetClassTimeout
	TargetClassToolError                                        = upstream.TargetClassToolError
	TargetClassEgressRefused                                    = upstream.TargetClassEgressRefused
	TargetClassNameGone                                         = upstream.TargetClassNameGone
	TargetClassResolverFailed                                   = upstream.TargetClassResolverFailed
	TargetClassSensorNetworkFault                               = upstream.TargetClassSensorNetworkFault
	TargetClassRateLimited                                      = upstream.TargetClassRateLimited
	TargetClassEdgeChallenged                                   = upstream.TargetClassEdgeChallenged
	TargetClassEdgeBlocked                                      = upstream.TargetClassEdgeBlocked
	TargetClassRefused                                          = upstream.TargetClassRefused
	TargetClassExcluded                                         = upstream.TargetClassExcluded
	TargetCauseTarget                                           = upstream.TargetCauseTarget
	TargetCauseSensor                                           = upstream.TargetCauseSensor
	TargetCausePlatform                                         = upstream.TargetCausePlatform
	MaxDataFlowSteps                                            = upstream.MaxDataFlowSteps
	MaxDataFlowContentLen                                       = upstream.MaxDataFlowContentLen
	MaxDataFlowPathLen                                          = upstream.MaxDataFlowPathLen
	MaxDataFlowLabelLen                                         = upstream.MaxDataFlowLabelLen
	DataFlowLocationSource                                      = upstream.DataFlowLocationSource
	DataFlowLocationSink                                        = upstream.DataFlowLocationSink
	DataFlowLocationPropagator                                  = upstream.DataFlowLocationPropagator
	DataFlowLocationSanitizer                                   = upstream.DataFlowLocationSanitizer
	DataFlowLocationTransform                                   = upstream.DataFlowLocationTransform
	MaxUnknownEntries                                           = upstream.MaxUnknownEntries
	UnknownMember                                               = upstream.UnknownMember
	UnknownEnumValue                                            = upstream.UnknownEnumValue
	UnknownRemoved                                              = upstream.UnknownRemoved
	UnknownDropped                                              = upstream.UnknownDropped
	DependencyRoot                                              = upstream.DependencyRoot
	DependencyDirect                                            = upstream.DependencyDirect
	DependencyTransitive                                        = upstream.DependencyTransitive
	DependencyTypeApplication                                   = upstream.DependencyTypeApplication
	DependencyTypeFramework                                     = upstream.DependencyTypeFramework
	DependencyTypeLibrary                                       = upstream.DependencyTypeLibrary
	DependencyTypeContainer                                     = upstream.DependencyTypeContainer
	DependencyTypePlatform                                      = upstream.DependencyTypePlatform
	DependencyTypeOperatingSystem                               = upstream.DependencyTypeOperatingSystem
	DependencyTypeDevice                                        = upstream.DependencyTypeDevice
	DependencyTypeDeviceDriver                                  = upstream.DependencyTypeDeviceDriver
	DependencyTypeFirmware                                      = upstream.DependencyTypeFirmware
	DependencyTypeFile                                          = upstream.DependencyTypeFile
	DependencyTypeMachineLearning                               = upstream.DependencyTypeMachineLearning
	DependencyTypeData                                          = upstream.DependencyTypeData
	DependencyTypeCryptographicAst                              = upstream.DependencyTypeCryptographicAst
	EvidenceKindHTTPExchange                                    = upstream.EvidenceKindHTTPExchange
	EvidenceKindRawText                                         = upstream.EvidenceKindRawText
	EvidenceKindScreenshot                                      = upstream.EvidenceKindScreenshot
	EvidenceKindFileExcerpt                                     = upstream.EvidenceKindFileExcerpt
	EvidenceKindCommandOutput                                   = upstream.EvidenceKindCommandOutput
	EvidenceKindCurl                                            = upstream.EvidenceKindCurl
	MaxEvidenceItems                                            = upstream.MaxEvidenceItems
	MaxEvidenceItemBytes                                        = upstream.MaxEvidenceItemBytes
	MaxEvidenceBodyBytes                                        = upstream.MaxEvidenceBodyBytes
	MaxEvidenceTextBytes                                        = upstream.MaxEvidenceTextBytes
	MaxEvidenceHeaders                                          = upstream.MaxEvidenceHeaders
	MaxEvidenceHeaderBytes                                      = upstream.MaxEvidenceHeaderBytes
	MaxEvidenceExtracted                                        = upstream.MaxEvidenceExtracted
	MaxEvidenceExtractLen                                       = upstream.MaxEvidenceExtractLen
	MaxEvidenceLabelLen                                         = upstream.MaxEvidenceLabelLen
	MaxEvidenceMatches                                          = upstream.MaxEvidenceMatches
	MaxEvidenceSpans                                            = upstream.MaxEvidenceSpans
	MaxEvidenceURLBytes                                         = upstream.MaxEvidenceURLBytes
	MaxEvidenceCommandLen                                       = upstream.MaxEvidenceCommandLen
	MaxEvidenceDataBytes                                        = upstream.MaxEvidenceDataBytes
	BodyEncodingText                                            = upstream.BodyEncodingText
	BodyEncodingBase64                                          = upstream.BodyEncodingBase64
	MatchLocationRequest                                        = upstream.MatchLocationRequest
	MatchLocationResponse                                       = upstream.MatchLocationResponse
	MatchPartStatus                                             = upstream.MatchPartStatus
	MatchPartHeader                                             = upstream.MatchPartHeader
	MatchPartBody                                               = upstream.MatchPartBody
	MatchPartURL                                                = upstream.MatchPartURL
	MaxHTTPXLineBytes                                           = upstream.MaxHTTPXLineBytes
	MaxDocumentRefLen                                           = upstream.MaxDocumentRefLen
	MaxSourceRefs                                               = upstream.MaxSourceRefs
	MaxSourceRefIDLen                                           = upstream.MaxSourceRefIDLen
	MaxSourceSystemLen                                          = upstream.MaxSourceSystemLen
	DocumentRefPattern                                          = upstream.DocumentRefPattern
	UUIDShapePattern                                            = upstream.UUIDShapePattern
	ReportIDPattern                                             = upstream.ReportIDPattern
	MaxScores                                                   = upstream.MaxScores
	MaxScoreVectorLen                                           = upstream.MaxScoreVectorLen
	MaxScoreSourceLen                                           = upstream.MaxScoreSourceLen
	MaxScoreLabelLen                                            = upstream.MaxScoreLabelLen
	MaxVulnerabilityIDs                                         = upstream.MaxVulnerabilityIDs
	MaxVulnerabilityIDLen                                       = upstream.MaxVulnerabilityIDLen
	MaxAdvisories                                               = upstream.MaxAdvisories
	MaxAdvisoryURLLen                                           = upstream.MaxAdvisoryURLLen
	MaxNativeValueLen                                           = upstream.MaxNativeValueLen
	MaxNativeIDLen                                              = upstream.MaxNativeIDLen
	MaxRawRefLen                                                = upstream.MaxRawRefLen
	MaxVEXStatementLen                                          = upstream.MaxVEXStatementLen
	MaxVEXSourceLen                                             = upstream.MaxVEXSourceLen
	MaxSourceExtraEntries                                       = upstream.MaxSourceExtraEntries
	MaxSourceExtraKeyLen                                        = upstream.MaxSourceExtraKeyLen
	MaxSourceExtraValueLen                                      = upstream.MaxSourceExtraValueLen
	MaxSourceExtraBytes                                         = upstream.MaxSourceExtraBytes
	MaxIdentityHintLen                                          = upstream.MaxIdentityHintLen
	MaxIdentityHintMACs                                         = upstream.MaxIdentityHintMACs
	MaxTimesFound                                               = upstream.MaxTimesFound
	NativeSchemeNessus                                          = upstream.NativeSchemeNessus
	NativeSchemeQualys                                          = upstream.NativeSchemeQualys
	NativeSchemeDefectDojo                                      = upstream.NativeSchemeDefectDojo
	NativeSchemeSARIF                                           = upstream.NativeSchemeSARIF
	NativeSchemeOther                                           = upstream.NativeSchemeOther
	DetectionTypeConfirmed                                      = upstream.DetectionTypeConfirmed
	DetectionTypePotential                                      = upstream.DetectionTypePotential
	DetectionTypeInfo                                           = upstream.DetectionTypeInfo
	ScoreSystemCVSS                                             = upstream.ScoreSystemCVSS
	ScoreSystemEPSS                                             = upstream.ScoreSystemEPSS
	ScoreSystemEPSSPercentile                                   = upstream.ScoreSystemEPSSPercentile
	ScoreSystemSSVC                                             = upstream.ScoreSystemSSVC
	ScoreSystemVendor                                           = upstream.ScoreSystemVendor
	VEXStatusNotAffected                                        = upstream.VEXStatusNotAffected
	VEXStatusAffected                                           = upstream.VEXStatusAffected
	VEXStatusFixed                                              = upstream.VEXStatusFixed
	VEXStatusUnderInvestigation                                 = upstream.VEXStatusUnderInvestigation
	VEXJustificationComponentNotPresent                         = upstream.VEXJustificationComponentNotPresent
	VEXJustificationVulnerableCodeNotPresent                    = upstream.VEXJustificationVulnerableCodeNotPresent
	VEXJustificationVulnerableCodeNotInExecutePath              = upstream.VEXJustificationVulnerableCodeNotInExecutePath
	VEXJustificationVulnerableCodeCannotBeControlledByAdversary = upstream.VEXJustificationVulnerableCodeCannotBeControlledByAdversary
	VEXJustificationInlineMitigationsAlreadyExist               = upstream.VEXJustificationInlineMitigationsAlreadyExist
	SourceStateNew                                              = upstream.SourceStateNew
	SourceStateActive                                           = upstream.SourceStateActive
	SourceStateReopened                                         = upstream.SourceStateReopened
	SourceStateFixed                                            = upstream.SourceStateFixed
	VulnerabilityIDCVE                                          = upstream.VulnerabilityIDCVE
	VulnerabilityIDGHSA                                         = upstream.VulnerabilityIDGHSA
	VulnerabilityIDOSV                                          = upstream.VulnerabilityIDOSV
	VulnerabilityIDVendor                                       = upstream.VulnerabilityIDVendor
	SolutionTypeVendorFix                                       = upstream.SolutionTypeVendorFix
	SolutionTypeWorkaround                                      = upstream.SolutionTypeWorkaround
	SolutionTypeMitigation                                      = upstream.SolutionTypeMitigation
	SolutionTypeNoFixPlanned                                    = upstream.SolutionTypeNoFixPlanned
	SolutionTypeNoneAvailable                                   = upstream.SolutionTypeNoneAvailable
	SolutionTypeConfigChange                                    = upstream.SolutionTypeConfigChange
	SolutionTypeUpgrade                                         = upstream.SolutionTypeUpgrade
	MaxAssetValueLen                                            = upstream.MaxAssetValueLen
	MaxDNSRecords                                               = upstream.MaxDNSRecords
	MaxDNSValueLen                                              = upstream.MaxDNSValueLen
	MaxPostureValueLen                                          = upstream.MaxPostureValueLen
	MaxPostureCookies                                           = upstream.MaxPostureCookies
	TypeHintPassword                                            = upstream.TypeHintPassword
	WebContentKey                                               = upstream.WebContentKey
	MaxWebContentBody                                           = upstream.MaxWebContentBody
	MaxWebCaptures                                              = upstream.MaxWebCaptures
	MaxRules                                                    = upstream.MaxRules
	MaxRuleIDLen                                                = upstream.MaxRuleIDLen
	MaxRuleNameLen                                              = upstream.MaxRuleNameLen
	MaxRuleShortDescLen                                         = upstream.MaxRuleShortDescLen
	MaxRuleTextLen                                              = upstream.MaxRuleTextLen
	MaxRuleTags                                                 = upstream.MaxRuleTags
	MaxRuleTagLen                                               = upstream.MaxRuleTagLen
	MaxRuleCWEIDs                                               = upstream.MaxRuleCWEIDs
	MaxContentPathLen                                           = upstream.MaxContentPathLen
	MaxToolContent                                              = upstream.MaxToolContent
	MaxToolContentFieldLen                                      = upstream.MaxToolContentFieldLen
	RedactedSecret                                              = upstream.RedactedSecret
	ChannelScanner                                              = upstream.ChannelScanner
	ChannelCollector                                            = upstream.ChannelCollector
	ChannelIntegration                                          = upstream.ChannelIntegration
	ChannelManual                                               = upstream.ChannelManual
	CoverageFull                                                = upstream.CoverageFull
	CoverageIncremental                                         = upstream.CoverageIncremental
	CoveragePartial                                             = upstream.CoveragePartial
	ProfileCore                                                 = upstream.ProfileCore
	ProfileDiscovery                                            = upstream.ProfileDiscovery
	ProfileVulnerability                                        = upstream.ProfileVulnerability
	ProfileCode                                                 = upstream.ProfileCode
	ProfileSBOM                                                 = upstream.ProfileSBOM
	ProfileValidation                                           = upstream.ProfileValidation
	ProfileWeb3                                                 = upstream.ProfileWeb3
	TechniqueSAST                                               = upstream.TechniqueSAST
	TechniqueSCA                                                = upstream.TechniqueSCA
	TechniqueSecret                                             = upstream.TechniqueSecret
	TechniqueIaC                                                = upstream.TechniqueIaC
	TechniqueContainer                                          = upstream.TechniqueContainer
	TechniqueDAST                                               = upstream.TechniqueDAST
	TechniqueVA                                                 = upstream.TechniqueVA
	TechniqueEASM                                               = upstream.TechniqueEASM
	TechniqueCSPM                                               = upstream.TechniqueCSPM
	TechniqueBAS                                                = upstream.TechniqueBAS
	TechniquePentest                                            = upstream.TechniquePentest
	TechniqueManual                                             = upstream.TechniqueManual
	DataPublic                                                  = upstream.DataPublic
	DataInternal                                                = upstream.DataInternal
	DataConfidential                                            = upstream.DataConfidential
	DataRestricted                                              = upstream.DataRestricted
	TransportTCP                                                = upstream.TransportTCP
	TransportUDP                                                = upstream.TransportUDP
	TransportSCTP                                               = upstream.TransportSCTP
	PortOpen                                                    = upstream.PortOpen
	PortClosed                                                  = upstream.PortClosed
	PortFiltered                                                = upstream.PortFiltered
	TLSVersionSSL3                                              = upstream.TLSVersionSSL3
	TLSVersionTLS10                                             = upstream.TLSVersionTLS10
	TLSVersionTLS11                                             = upstream.TLSVersionTLS11
	TLSVersionTLS12                                             = upstream.TLSVersionTLS12
	TLSVersionTLS13                                             = upstream.TLSVersionTLS13
	IdentityUser                                                = upstream.IdentityUser
	IdentityServiceAccount                                      = upstream.IdentityServiceAccount
	IdentityRole                                                = upstream.IdentityRole
	IdentityGroup                                               = upstream.IdentityGroup
	IdentityWorkload                                            = upstream.IdentityWorkload
	NetworkDeviceRouter                                         = upstream.NetworkDeviceRouter
	NetworkDeviceSwitch                                         = upstream.NetworkDeviceSwitch
	NetworkDeviceFirewall                                       = upstream.NetworkDeviceFirewall
	NetworkDeviceLoadBalancer                                   = upstream.NetworkDeviceLoadBalancer
	NetworkDeviceWirelessAccessPoint                            = upstream.NetworkDeviceWirelessAccessPoint
	NetworkDeviceVPNGateway                                     = upstream.NetworkDeviceVPNGateway
	NetworkDeviceOther                                          = upstream.NetworkDeviceOther
	VectorNetwork                                               = upstream.VectorNetwork
	VectorAdjacent                                              = upstream.VectorAdjacent
	VectorLocal                                                 = upstream.VectorLocal
	VectorPhysical                                              = upstream.VectorPhysical
	FindingStatusOpen                                           = upstream.FindingStatusOpen
	FindingStatusResolved                                       = upstream.FindingStatusResolved
	FindingStatusSuppressed                                     = upstream.FindingStatusSuppressed
	FindingStatusFalsePositive                                  = upstream.FindingStatusFalsePositive
	FindingStatusAcceptedRisk                                   = upstream.FindingStatusAcceptedRisk
	FindingStatusInProgress                                     = upstream.FindingStatusInProgress
	FrameworkPCIDSS                                             = upstream.FrameworkPCIDSS
	FrameworkHIPAA                                              = upstream.FrameworkHIPAA
	FrameworkSOC2                                               = upstream.FrameworkSOC2
	FrameworkISO27001                                           = upstream.FrameworkISO27001
	FrameworkNISTCSF                                            = upstream.FrameworkNISTCSF
	FrameworkNIST80053                                          = upstream.FrameworkNIST80053
	FrameworkCIS                                                = upstream.FrameworkCIS
	FrameworkGDPR                                               = upstream.FrameworkGDPR
	FrameworkFedRAMP                                            = upstream.FrameworkFedRAMP
	FrameworkOWASPASVS                                          = upstream.FrameworkOWASPASVS
	EffortTrivial                                               = upstream.EffortTrivial
	EffortLow                                                   = upstream.EffortLow
	EffortMedium                                                = upstream.EffortMedium
	EffortHigh                                                  = upstream.EffortHigh
	AssetTypeDomainName                                         = upstream.AssetTypeDomainName
	AssetTypeIPAddress                                          = upstream.AssetTypeIPAddress
	AssetTypeIPRange                                            = upstream.AssetTypeIPRange
	AssetTypeCertificate                                        = upstream.AssetTypeCertificate
	AssetTypeAutonomousSystem                                   = upstream.AssetTypeAutonomousSystem
	AssetTypeWebOrigin                                          = upstream.AssetTypeWebOrigin
	AssetTypeWebApplication                                     = upstream.AssetTypeWebApplication
	AssetTypeAPI                                                = upstream.AssetTypeAPI
	AssetTypeMobileApp                                          = upstream.AssetTypeMobileApp
	AssetTypeSaaSApplication                                    = upstream.AssetTypeSaaSApplication
	AssetTypeService                                            = upstream.AssetTypeService
	AssetTypeRepository                                         = upstream.AssetTypeRepository
	AssetTypePackage                                            = upstream.AssetTypePackage
	AssetTypeContainerImage                                     = upstream.AssetTypeContainerImage
	AssetTypeAIModel                                            = upstream.AssetTypeAIModel
	AssetTypeCloudAccount                                       = upstream.AssetTypeCloudAccount
	AssetTypeCloudResource                                      = upstream.AssetTypeCloudResource
	AssetTypeStorage                                            = upstream.AssetTypeStorage
	AssetTypeDatabase                                           = upstream.AssetTypeDatabase
	AssetTypeServerless                                         = upstream.AssetTypeServerless
	AssetTypeContainerRegistry                                  = upstream.AssetTypeContainerRegistry
	AssetTypeHost                                               = upstream.AssetTypeHost
	AssetTypeContainer                                          = upstream.AssetTypeContainer
	AssetTypeKubernetesCluster                                  = upstream.AssetTypeKubernetesCluster
	AssetTypeKubernetesNamespace                                = upstream.AssetTypeKubernetesNamespace
	AssetTypeKubernetesWorkload                                 = upstream.AssetTypeKubernetesWorkload
	AssetTypeEndpointDevice                                     = upstream.AssetTypeEndpointDevice
	AssetTypeIoTDevice                                          = upstream.AssetTypeIoTDevice
	AssetTypeOTDevice                                           = upstream.AssetTypeOTDevice
	AssetTypeNetworkDevice                                      = upstream.AssetTypeNetworkDevice
	AssetTypeVPC                                                = upstream.AssetTypeVPC
	AssetTypeSubnet                                             = upstream.AssetTypeSubnet
	AssetTypeLoadBalancer                                       = upstream.AssetTypeLoadBalancer
	AssetTypeFirewall                                           = upstream.AssetTypeFirewall
	AssetTypeIdentity                                           = upstream.AssetTypeIdentity
	AssetTypeSmartContract                                      = upstream.AssetTypeSmartContract
	AssetTypeWallet                                             = upstream.AssetTypeWallet
	AssetTypeNFTCollection                                      = upstream.AssetTypeNFTCollection
	AssetTypeDeFiProtocol                                       = upstream.AssetTypeDeFiProtocol
	AssetTypeToken                                              = upstream.AssetTypeToken
	AssetTypeBlockchain                                         = upstream.AssetTypeBlockchain
	AssetTypeUnclassified                                       = upstream.AssetTypeUnclassified
	FindingTypeVulnerability                                    = upstream.FindingTypeVulnerability
	FindingTypeWeakness                                         = upstream.FindingTypeWeakness
	FindingTypeSecret                                           = upstream.FindingTypeSecret
	FindingTypeMisconfiguration                                 = upstream.FindingTypeMisconfiguration
	FindingTypeCompliance                                       = upstream.FindingTypeCompliance
	FindingTypeExposure                                         = upstream.FindingTypeExposure
	FindingTypeMalware                                          = upstream.FindingTypeMalware
	FindingTypeLicense                                          = upstream.FindingTypeLicense
	SeverityCritical                                            = upstream.SeverityCritical
	SeverityHigh                                                = upstream.SeverityHigh
	SeverityMedium                                              = upstream.SeverityMedium
	SeverityLow                                                 = upstream.SeverityLow
	SeverityInfo                                                = upstream.SeverityInfo
	SeverityUnknown                                             = upstream.SeverityUnknown
	CriticalityCritical                                         = upstream.CriticalityCritical
	CriticalityHigh                                             = upstream.CriticalityHigh
	CriticalityMedium                                           = upstream.CriticalityMedium
	CriticalityLow                                              = upstream.CriticalityLow
	MaxReferences                                               = upstream.MaxReferences
	MaxURLLen                                                   = upstream.MaxURLLen
	MaxDependencyLocation                                       = upstream.MaxDependencyLocation
	MaxDependsOn                                                = upstream.MaxDependsOn
	MaxLicenses                                                 = upstream.MaxLicenses
	MaxCWEIDs                                                   = upstream.MaxCWEIDs
	MaxFixedVersions                                            = upstream.MaxFixedVersions
	MaxAuthMethods                                              = upstream.MaxAuthMethods
	MaxServiceDetails                                           = upstream.MaxServiceDetails
	MaxDetailValueLen                                           = upstream.MaxDetailValueLen
	MaxHeaderValueLen                                           = upstream.MaxHeaderValueLen
	MaxSecretScopes                                             = upstream.MaxSecretScopes
	SchemaVersion                                               = upstream.SchemaVersion
	SchemaMajor                                                 = upstream.SchemaMajor
	SchemaBaseURL                                               = upstream.SchemaBaseURL
	SchemaURL                                                   = upstream.SchemaURL
	MediaType                                                   = upstream.MediaType
	MediaTypeVersioned                                          = upstream.MediaTypeVersioned
	FileSuffix                                                  = upstream.FileSuffix
	Web3VulnReentrancy                                          = upstream.Web3VulnReentrancy
	Web3VulnIntegerOverflow                                     = upstream.Web3VulnIntegerOverflow
	Web3VulnIntegerUnderflow                                    = upstream.Web3VulnIntegerUnderflow
	Web3VulnAccessControl                                       = upstream.Web3VulnAccessControl
	Web3VulnUncheckedCall                                       = upstream.Web3VulnUncheckedCall
	Web3VulnDelegateCall                                        = upstream.Web3VulnDelegateCall
	Web3VulnSelfDestruct                                        = upstream.Web3VulnSelfDestruct
	Web3VulnTxOrigin                                            = upstream.Web3VulnTxOrigin
	Web3VulnTimestampDependence                                 = upstream.Web3VulnTimestampDependence
	Web3VulnBlockHashDependence                                 = upstream.Web3VulnBlockHashDependence
	Web3VulnFlashLoan                                           = upstream.Web3VulnFlashLoan
	Web3VulnOracleManipulation                                  = upstream.Web3VulnOracleManipulation
	Web3VulnFrontRunning                                        = upstream.Web3VulnFrontRunning
	Web3VulnSandwichAttack                                      = upstream.Web3VulnSandwichAttack
	Web3VulnSlippage                                            = upstream.Web3VulnSlippage
	Web3VulnPriceManipulation                                   = upstream.Web3VulnPriceManipulation
	Web3VulnGovernanceAttack                                    = upstream.Web3VulnGovernanceAttack
	Web3VulnLiquidityDrain                                      = upstream.Web3VulnLiquidityDrain
	Web3VulnMEV                                                 = upstream.Web3VulnMEV
	Web3VulnHoneypot                                            = upstream.Web3VulnHoneypot
	Web3VulnHiddenMint                                          = upstream.Web3VulnHiddenMint
	Web3VulnHiddenFee                                           = upstream.Web3VulnHiddenFee
	Web3VulnBlacklistAbuse                                      = upstream.Web3VulnBlacklistAbuse
	Web3VulnRenounceOwnership                                   = upstream.Web3VulnRenounceOwnership
	Web3VulnStorageCollision                                    = upstream.Web3VulnStorageCollision
	Web3VulnUninitializedProxy                                  = upstream.Web3VulnUninitializedProxy
	Web3VulnUpgradeVuln                                         = upstream.Web3VulnUpgradeVuln
	Web3VulnWeakRandomness                                      = upstream.Web3VulnWeakRandomness
	Web3VulnSignatureMalleability                               = upstream.Web3VulnSignatureMalleability
	Web3VulnReplayAttack                                        = upstream.Web3VulnReplayAttack
	Web3VulnDosGasLimit                                         = upstream.Web3VulnDosGasLimit
	Web3VulnUnboundedLoop                                       = upstream.Web3VulnUnboundedLoop
	Web3VulnDosBlockStuffing                                    = upstream.Web3VulnDosBlockStuffing
	Web3VulnBusinessLogic                                       = upstream.Web3VulnBusinessLogic
	Web3VulnInvariantViolation                                  = upstream.Web3VulnInvariantViolation
	MaxEndpoints                                                = upstream.MaxEndpoints
	MaxEndpointParams                                           = upstream.MaxEndpointParams
	MaxParamNameLen                                             = upstream.MaxParamNameLen
	MaxEndpointPathLen                                          = upstream.MaxEndpointPathLen
	MaxContentTypeLen                                           = upstream.MaxContentTypeLen
	MaxParamTypeHintLen                                         = upstream.MaxParamTypeHintLen
	MaxEndpointIDLen                                            = upstream.MaxEndpointIDLen
	MaxWebRequestRefLen                                         = upstream.MaxWebRequestRefLen
	EndpointKindPage                                            = upstream.EndpointKindPage
	EndpointKindAPI                                             = upstream.EndpointKindAPI
	EndpointKindScript                                          = upstream.EndpointKindScript
	EndpointKindForm                                            = upstream.EndpointKindForm
	EndpointKindGraphQL                                         = upstream.EndpointKindGraphQL
	EndpointKindWebSocket                                       = upstream.EndpointKindWebSocket
	EndpointKindStatic                                          = upstream.EndpointKindStatic
	EndpointKindOther                                           = upstream.EndpointKindOther
	EndpointSourceCrawl                                         = upstream.EndpointSourceCrawl
	EndpointSourceJS                                            = upstream.EndpointSourceJS
	EndpointSourceSitemap                                       = upstream.EndpointSourceSitemap
	EndpointSourceRobots                                        = upstream.EndpointSourceRobots
	EndpointSourceSpec                                          = upstream.EndpointSourceSpec
	EndpointSourceHAR                                           = upstream.EndpointSourceHAR
	EndpointSourceArchive                                       = upstream.EndpointSourceArchive
	EndpointSourceDAST                                          = upstream.EndpointSourceDAST
	EndpointSourceProbe                                         = upstream.EndpointSourceProbe
	EndpointSourceImport                                        = upstream.EndpointSourceImport
	EndpointAuthNone                                            = upstream.EndpointAuthNone
	EndpointAuthRequired                                        = upstream.EndpointAuthRequired
	EndpointAuthRedirectLogin                                   = upstream.EndpointAuthRedirectLogin
	EndpointAuthUnknown                                         = upstream.EndpointAuthUnknown
	ParamLocationQuery                                          = upstream.ParamLocationQuery
	ParamLocationPath                                           = upstream.ParamLocationPath
	ParamLocationHeader                                         = upstream.ParamLocationHeader
	ParamLocationCookie                                         = upstream.ParamLocationCookie
	ParamLocationForm                                           = upstream.ParamLocationForm
	ParamLocationJSON                                           = upstream.ParamLocationJSON
	ParamLocationMultipart                                      = upstream.ParamLocationMultipart
	ParamLocationGraphQLArg                                     = upstream.ParamLocationGraphQLArg
)

Constants.

Variables

View Source
var (
	ErrNotCanonicalizable = upstream.ErrNotCanonicalizable
	ErrHTTPXLine          = upstream.ErrHTTPXLine
)

Variables.

View Source
var ErrNoAssetForFindings = errors.New("ctis: findings have no asset in the report")

ErrNoAssetForFindings reports findings that do not belong to an asset of their own report. Protocol v2 ingest rejects such a finding (asset_unresolved): there is no fallback asset on the server, so a converter that cannot name the asset its findings belong to must fail instead of sending them. Test with errors.Is; CheckFindingAssets returns a *FindingAssetError that matches it.

Functions

func AssetKey added in v0.46.0

func AssetKey(t AssetType, canonicalValue string) string

AssetKey calls github.com/openctemio/ctis/v2.AssetKey.

func Bool added in v0.46.0

func Bool(b bool) *bool

Bool calls github.com/openctemio/ctis/v2.Bool.

func CVEs added in v0.46.0

func CVEs(v *VulnerabilityDetails) []string

CVEs calls github.com/openctemio/ctis/v2.CVEs.

func CVSSVersionOfVector added in v0.18.0

func CVSSVersionOfVector(vector string) string

CVSSVersionOfVector calls github.com/openctemio/ctis/v2.CVSSVersionOfVector.

func CanonicalARN added in v0.46.0

func CanonicalARN(s string) (string, error)

CanonicalARN calls github.com/openctemio/ctis/v2.CanonicalARN.

func CanonicalAssetValue added in v0.46.0

func CanonicalAssetValue(t AssetType, value string) (string, error)

CanonicalAssetValue calls github.com/openctemio/ctis/v2.CanonicalAssetValue.

func CanonicalAzureResourceID added in v0.46.0

func CanonicalAzureResourceID(s string) (string, error)

CanonicalAzureResourceID calls github.com/openctemio/ctis/v2.CanonicalAzureResourceID.

func CanonicalCIDR added in v0.46.0

func CanonicalCIDR(s string) (string, error)

CanonicalCIDR calls github.com/openctemio/ctis/v2.CanonicalCIDR.

func CanonicalCPE added in v0.46.0

func CanonicalCPE(s string) (string, error)

CanonicalCPE calls github.com/openctemio/ctis/v2.CanonicalCPE.

func CanonicalCertificateFingerprint added in v0.46.0

func CanonicalCertificateFingerprint(s string) (string, error)

CanonicalCertificateFingerprint calls github.com/openctemio/ctis/v2.CanonicalCertificateFingerprint.

func CanonicalDomain added in v0.46.0

func CanonicalDomain(s string) (string, error)

CanonicalDomain calls github.com/openctemio/ctis/v2.CanonicalDomain.

func CanonicalGCPResourceName added in v0.46.0

func CanonicalGCPResourceName(s string) (string, error)

CanonicalGCPResourceName calls github.com/openctemio/ctis/v2.CanonicalGCPResourceName.

func CanonicalIP added in v0.46.0

func CanonicalIP(s string) (string, error)

CanonicalIP calls github.com/openctemio/ctis/v2.CanonicalIP.

func CanonicalImage added in v0.46.0

func CanonicalImage(s string) (string, error)

CanonicalImage calls github.com/openctemio/ctis/v2.CanonicalImage.

func CanonicalOrigin added in v0.46.0

func CanonicalOrigin(s string) (string, error)

CanonicalOrigin calls github.com/openctemio/ctis/v2.CanonicalOrigin.

func CanonicalPurl added in v0.46.0

func CanonicalPurl(s string) (identity, version string, err error)

CanonicalPurl calls github.com/openctemio/ctis/v2.CanonicalPurl.

func CanonicalRepository added in v0.46.0

func CanonicalRepository(s string) (string, error)

CanonicalRepository calls github.com/openctemio/ctis/v2.CanonicalRepository.

func CanonicalService added in v0.46.0

func CanonicalService(host string, port int, transport string) (string, error)

CanonicalService calls github.com/openctemio/ctis/v2.CanonicalService.

func CanonicalURL added in v0.46.0

func CanonicalURL(s string) (string, error)

CanonicalURL calls github.com/openctemio/ctis/v2.CanonicalURL.

func CheckFindingAssets added in v0.8.0

func CheckFindingAssets(r *Report) error

CheckFindingAssets checks that every finding of r resolves to an asset of r under the protocol v2 ingest rule:

  • a finding whose AssetRef is set must name the ID of an asset in r.Assets;
  • a finding with an empty AssetRef resolves only when r has exactly one asset;
  • the asset it resolves to must have a value, since the server does not store an asset without one.

AssetValue/AssetType on a finding are not a reference: v1 ingest created a shared asset from them, v2 does not. It returns nil when every finding resolves (or r is nil or has no findings), and a *FindingAssetError otherwise.

func ContainsSecret added in v0.19.0

func ContainsSecret(s string, raw ...string) bool

ContainsSecret calls github.com/openctemio/ctis/v2.ContainsSecret.

func CorrelationKey added in v0.46.0

func CorrelationKey(assetKey string, f *Finding) string

CorrelationKey calls github.com/openctemio/ctis/v2.CorrelationKey.

func CorrelationKeyForTool added in v0.46.0

func CorrelationKeyForTool(assetKey, tool string, f *Finding) string

CorrelationKeyForTool calls github.com/openctemio/ctis/v2.CorrelationKeyForTool.

func Decode added in v0.46.0

func Decode(r io.Reader) (Report, Unknown, error)

Decode calls github.com/openctemio/ctis/v2.Decode.

func EnumFallback added in v0.46.0

func EnumFallback(v any) (string, bool)

EnumFallback calls github.com/openctemio/ctis/v2.EnumFallback.

func FitEvidenceItem added in v0.19.0

func FitEvidenceItem(it *EvidenceItem)

FitEvidenceItem calls github.com/openctemio/ctis/v2.FitEvidenceItem.

func FlowPath added in v0.46.0

func FlowPath(p string) (string, bool)

FlowPath calls github.com/openctemio/ctis/v2.FlowPath.

func HasThreatSignal added in v0.46.0

func HasThreatSignal(v *VulnerabilityDetails, types ...ThreatSignalType) bool

HasThreatSignal calls github.com/openctemio/ctis/v2.HasThreatSignal.

func IsAttackTechniqueID added in v0.19.0

func IsAttackTechniqueID(s string) bool

IsAttackTechniqueID calls github.com/openctemio/ctis/v2.IsAttackTechniqueID.

func IsCompatibleVersion added in v0.18.0

func IsCompatibleVersion(v string) bool

IsCompatibleVersion calls github.com/openctemio/ctis/v2.IsCompatibleVersion.

func IsDocumentRef added in v0.46.0

func IsDocumentRef(s string) bool

IsDocumentRef calls github.com/openctemio/ctis/v2.IsDocumentRef.

func IsExtensionNamespace added in v0.46.0

func IsExtensionNamespace(s string) bool

IsExtensionNamespace calls github.com/openctemio/ctis/v2.IsExtensionNamespace.

func IsKnownEvidenceKind added in v0.19.0

func IsKnownEvidenceKind(kind string) bool

IsKnownEvidenceKind calls github.com/openctemio/ctis/v2.IsKnownEvidenceKind.

func IsOpenToken added in v0.46.0

func IsOpenToken(s string) bool

IsOpenToken calls github.com/openctemio/ctis/v2.IsOpenToken.

func IsReportID added in v0.46.0

func IsReportID(s string) bool

IsReportID calls github.com/openctemio/ctis/v2.IsReportID.

func IsSensitiveHeader added in v0.19.0

func IsSensitiveHeader(name string) bool

IsSensitiveHeader calls github.com/openctemio/ctis/v2.IsSensitiveHeader.

func IsSensitiveParam added in v0.19.0

func IsSensitiveParam(name string) bool

IsSensitiveParam calls github.com/openctemio/ctis/v2.IsSensitiveParam.

func IsSupportedVersion added in v0.18.0

func IsSupportedVersion(v string) bool

IsSupportedVersion calls github.com/openctemio/ctis/v2.IsSupportedVersion.

func IsUUIDShaped added in v0.46.0

func IsUUIDShaped(s string) bool

IsUUIDShaped calls github.com/openctemio/ctis/v2.IsUUIDShaped.

func IsWebURL added in v0.46.0

func IsWebURL(s string) bool

IsWebURL calls github.com/openctemio/ctis/v2.IsWebURL.

func KnownEvidenceKinds added in v0.19.0

func KnownEvidenceKinds() []string

KnownEvidenceKinds calls github.com/openctemio/ctis/v2.KnownEvidenceKinds.

func LocationKey added in v0.18.0

func LocationKey(f *Finding) string

LocationKey calls github.com/openctemio/ctis/v2.LocationKey.

func MarkSensitive added in v0.19.0

func MarkSensitive(items ...*EvidenceItem) (incomplete []int)

MarkSensitive calls github.com/openctemio/ctis/v2.MarkSensitive.

func MaskSecretMatch added in v0.18.0

func MaskSecretMatch(s string) string

MaskSecretMatch calls github.com/openctemio/ctis/v2.MaskSecretMatch.

func NewReportID added in v0.46.0

func NewReportID() string

NewReportID calls github.com/openctemio/ctis/v2.NewReportID.

func NormalizeAssetName added in v0.2.2

func NormalizeAssetName(t AssetType, name string) string

NormalizeAssetName calls github.com/openctemio/ctis/v2.NormalizeAssetName.

func NormalizeNativeStatus added in v0.18.0

func NormalizeNativeStatus(scheme NativeScheme, native string) (status FindingStatus, state SourceState, ok bool)

NormalizeNativeStatus calls github.com/openctemio/ctis/v2.NormalizeNativeStatus.

func ParseVersion added in v0.18.0

func ParseVersion(v string) (major, minor int, ok bool)

ParseVersion calls github.com/openctemio/ctis/v2.ParseVersion.

func RedactCodeSecrets added in v0.32.0

func RedactCodeSecrets(s string) string

RedactCodeSecrets calls github.com/openctemio/ctis/v2.RedactCodeSecrets.

func RedactSecretFinding added in v0.19.0

func RedactSecretFinding(f *Finding, known ...string)

RedactSecretFinding calls github.com/openctemio/ctis/v2.RedactSecretFinding.

func RedactSecretFindingWith added in v0.46.0

func RedactSecretFindingWith(f *Finding, isSecret bool, snippetMasked func(string) bool, known ...string)

RedactSecretFindingWith calls github.com/openctemio/ctis/v2.RedactSecretFindingWith.

func SetSourceExtra added in v0.18.0

func SetSourceExtra(f *Finding, key, value string) bool

SetSourceExtra calls github.com/openctemio/ctis/v2.SetSourceExtra.

func SupportedSchemaVersions added in v0.18.0

func SupportedSchemaVersions() []string

SupportedSchemaVersions calls github.com/openctemio/ctis/v2.SupportedSchemaVersions.

Types

type ASNInput added in v0.18.0

type ASNInput = upstream.ASNInput

Types: every exported type of github.com/openctemio/ctis/v2.

type AccessControlIssue

type AccessControlIssue = upstream.AccessControlIssue

Types: every exported type of github.com/openctemio/ctis/v2.

type Advisory added in v0.18.0

type Advisory = upstream.Advisory

Types: every exported type of github.com/openctemio/ctis/v2.

type ArtifactLocation

type ArtifactLocation = upstream.ArtifactLocation

Types: every exported type of github.com/openctemio/ctis/v2.

type Asset

type Asset = upstream.Asset

Types: every exported type of github.com/openctemio/ctis/v2.

type AssetCompliance

type AssetCompliance = upstream.AssetCompliance

Types: every exported type of github.com/openctemio/ctis/v2.

type AssetIdentifiers added in v0.8.0

type AssetIdentifiers = upstream.AssetIdentifiers

Types: every exported type of github.com/openctemio/ctis/v2.

type AssetOwner added in v0.46.0

type AssetOwner = upstream.AssetOwner

Types: every exported type of github.com/openctemio/ctis/v2.

type AssetState added in v0.46.0

type AssetState = upstream.AssetState

Types: every exported type of github.com/openctemio/ctis/v2.

func AllAssetStates added in v0.46.0

func AllAssetStates() []AssetState

AllAssetStates calls github.com/openctemio/ctis/v2.AllAssetStates.

type AssetStateReason added in v0.46.0

type AssetStateReason = upstream.AssetStateReason

Types: every exported type of github.com/openctemio/ctis/v2.

func AllAssetStateReasons added in v0.46.0

func AllAssetStateReasons() []AssetStateReason

AllAssetStateReasons calls github.com/openctemio/ctis/v2.AllAssetStateReasons.

type AssetTechnical

type AssetTechnical = upstream.AssetTechnical

Types: every exported type of github.com/openctemio/ctis/v2.

type AssetType

type AssetType = upstream.AssetType

Types: every exported type of github.com/openctemio/ctis/v2.

func AllAssetTypes

func AllAssetTypes() []AssetType

AllAssetTypes calls github.com/openctemio/ctis/v2.AllAssetTypes.

type Attachment

type Attachment = upstream.Attachment

Types: every exported type of github.com/openctemio/ctis/v2.

type AuditReport

type AuditReport = upstream.AuditReport

Types: every exported type of github.com/openctemio/ctis/v2.

type BranchInfo

type BranchInfo = upstream.BranchInfo

Types: every exported type of github.com/openctemio/ctis/v2.

type CertificateTechnical

type CertificateTechnical = upstream.CertificateTechnical

Types: every exported type of github.com/openctemio/ctis/v2.

type Channel added in v0.46.0

type Channel = upstream.Channel

Types: every exported type of github.com/openctemio/ctis/v2.

func AllChannels added in v0.46.0

func AllChannels() []Channel

AllChannels calls github.com/openctemio/ctis/v2.AllChannels.

type CloudTechnical

type CloudTechnical = upstream.CloudTechnical

Types: every exported type of github.com/openctemio/ctis/v2.

type CommitInfo added in v0.46.0

type CommitInfo = upstream.CommitInfo

Types: every exported type of github.com/openctemio/ctis/v2.

type ComplianceDetails

type ComplianceDetails = upstream.ComplianceDetails

Types: every exported type of github.com/openctemio/ctis/v2.

type ComplianceFramework added in v0.46.0

type ComplianceFramework = upstream.ComplianceFramework

Types: every exported type of github.com/openctemio/ctis/v2.

func AllComplianceFrameworks added in v0.46.0

func AllComplianceFrameworks() []ComplianceFramework

AllComplianceFrameworks calls github.com/openctemio/ctis/v2.AllComplianceFrameworks.

type ContainerLayer

type ContainerLayer = upstream.ContainerLayer

Types: every exported type of github.com/openctemio/ctis/v2.

type ContractLibrary

type ContractLibrary = upstream.ContractLibrary

Types: every exported type of github.com/openctemio/ctis/v2.

type CookieFlags added in v0.46.0

type CookieFlags = upstream.CookieFlags

Types: every exported type of github.com/openctemio/ctis/v2.

type CookieFlagsInput added in v0.42.0

type CookieFlagsInput = upstream.CookieFlagsInput

Types: every exported type of github.com/openctemio/ctis/v2.

type CoreContract

type CoreContract = upstream.CoreContract

Types: every exported type of github.com/openctemio/ctis/v2.

type CoverageType added in v0.46.0

type CoverageType = upstream.CoverageType

Types: every exported type of github.com/openctemio/ctis/v2.

func AllCoverageTypes added in v0.46.0

func AllCoverageTypes() []CoverageType

AllCoverageTypes calls github.com/openctemio/ctis/v2.AllCoverageTypes.

type Criticality

type Criticality = upstream.Criticality

Types: every exported type of github.com/openctemio/ctis/v2.

func AllCriticalities

func AllCriticalities() []Criticality

AllCriticalities calls github.com/openctemio/ctis/v2.AllCriticalities.

type DNSRecord

type DNSRecord = upstream.DNSRecord

Types: every exported type of github.com/openctemio/ctis/v2.

type DNSRecordInput

type DNSRecordInput = upstream.DNSRecordInput

Types: every exported type of github.com/openctemio/ctis/v2.

type DataClassification added in v0.46.0

type DataClassification = upstream.DataClassification

Types: every exported type of github.com/openctemio/ctis/v2.

func AllDataClassifications added in v0.46.0

func AllDataClassifications() []DataClassification

AllDataClassifications calls github.com/openctemio/ctis/v2.AllDataClassifications.

type DataFlow

type DataFlow = upstream.DataFlow

Types: every exported type of github.com/openctemio/ctis/v2.

func NewDataFlow

func NewDataFlow(source, sink DataFlowLocation) *DataFlow

NewDataFlow calls github.com/openctemio/ctis/v2.NewDataFlow.

func NormalizeDataFlow added in v0.32.0

func NormalizeDataFlow(df *DataFlow, roots ...string) *DataFlow

NormalizeDataFlow calls github.com/openctemio/ctis/v2.NormalizeDataFlow.

type DataFlowLocation

type DataFlowLocation = upstream.DataFlowLocation

Types: every exported type of github.com/openctemio/ctis/v2.

func NewDataFlowLocation

func NewDataFlowLocation(path string, line, column int, content string) DataFlowLocation

NewDataFlowLocation calls github.com/openctemio/ctis/v2.NewDataFlowLocation.

type DataFlowLocationType

type DataFlowLocationType = upstream.DataFlowLocationType

Types: every exported type of github.com/openctemio/ctis/v2.

func AllDataFlowLocationTypes added in v0.9.0

func AllDataFlowLocationTypes() []DataFlowLocationType

AllDataFlowLocationTypes calls github.com/openctemio/ctis/v2.AllDataFlowLocationTypes.

type DeFiDetails

type DeFiDetails = upstream.DeFiDetails

Types: every exported type of github.com/openctemio/ctis/v2.

type Dependency

type Dependency = upstream.Dependency

Types: every exported type of github.com/openctemio/ctis/v2.

type DependencyLocation

type DependencyLocation = upstream.DependencyLocation

Types: every exported type of github.com/openctemio/ctis/v2.

type DependencyRelationship added in v0.46.0

type DependencyRelationship = upstream.DependencyRelationship

Types: every exported type of github.com/openctemio/ctis/v2.

func AllDependencyRelationships added in v0.46.0

func AllDependencyRelationships() []DependencyRelationship

AllDependencyRelationships calls github.com/openctemio/ctis/v2.AllDependencyRelationships.

type DependencyType added in v0.46.0

type DependencyType = upstream.DependencyType

Types: every exported type of github.com/openctemio/ctis/v2.

func AllDependencyTypes added in v0.46.0

func AllDependencyTypes() []DependencyType

AllDependencyTypes calls github.com/openctemio/ctis/v2.AllDependencyTypes.

type DetectionType added in v0.18.0

type DetectionType = upstream.DetectionType

Types: every exported type of github.com/openctemio/ctis/v2.

func AllDetectionTypes added in v0.18.0

func AllDetectionTypes() []DetectionType

AllDetectionTypes calls github.com/openctemio/ctis/v2.AllDetectionTypes.

func NormalizeDetectionType added in v0.18.0

func NormalizeDetectionType(native string) (DetectionType, bool)

NormalizeDetectionType calls github.com/openctemio/ctis/v2.NormalizeDetectionType.

type DiscoveredURLInput

type DiscoveredURLInput = upstream.DiscoveredURLInput

Types: every exported type of github.com/openctemio/ctis/v2.

type DomainTechnical

type DomainTechnical = upstream.DomainTechnical

Types: every exported type of github.com/openctemio/ctis/v2.

type Effort added in v0.46.0

type Effort = upstream.Effort

Types: every exported type of github.com/openctemio/ctis/v2.

func AllEfforts added in v0.46.0

func AllEfforts() []Effort

AllEfforts calls github.com/openctemio/ctis/v2.AllEfforts.

type Endpoint added in v0.19.0

type Endpoint = upstream.Endpoint

Types: every exported type of github.com/openctemio/ctis/v2.

func ConvertEndpoints added in v0.38.0

func ConvertEndpoints(urls []DiscoveredURLInput) []Endpoint

ConvertEndpoints calls github.com/openctemio/ctis/v2.ConvertEndpoints.

type EndpointAuth added in v0.19.0

type EndpointAuth = upstream.EndpointAuth

Types: every exported type of github.com/openctemio/ctis/v2.

func AllEndpointAuths added in v0.19.0

func AllEndpointAuths() []EndpointAuth

AllEndpointAuths calls github.com/openctemio/ctis/v2.AllEndpointAuths.

type EndpointKind added in v0.19.0

type EndpointKind = upstream.EndpointKind

Types: every exported type of github.com/openctemio/ctis/v2.

func AllEndpointKinds added in v0.19.0

func AllEndpointKinds() []EndpointKind

AllEndpointKinds calls github.com/openctemio/ctis/v2.AllEndpointKinds.

type EndpointParam added in v0.19.0

type EndpointParam = upstream.EndpointParam

Types: every exported type of github.com/openctemio/ctis/v2.

type EndpointSource added in v0.19.0

type EndpointSource = upstream.EndpointSource

Types: every exported type of github.com/openctemio/ctis/v2.

func AllEndpointSources added in v0.19.0

func AllEndpointSources() []EndpointSource

AllEndpointSources calls github.com/openctemio/ctis/v2.AllEndpointSources.

type Environment added in v0.46.0

type Environment = upstream.Environment

Types: every exported type of github.com/openctemio/ctis/v2.

func AllEnvironments added in v0.46.0

func AllEnvironments() []Environment

AllEnvironments calls github.com/openctemio/ctis/v2.AllEnvironments.

type EvidenceArtifact added in v0.19.0

type EvidenceArtifact = upstream.EvidenceArtifact

Types: every exported type of github.com/openctemio/ctis/v2.

type EvidenceFile added in v0.19.0

type EvidenceFile = upstream.EvidenceFile

Types: every exported type of github.com/openctemio/ctis/v2.

type EvidenceHTTP added in v0.19.0

type EvidenceHTTP = upstream.EvidenceHTTP

Types: every exported type of github.com/openctemio/ctis/v2.

type EvidenceHeader added in v0.19.0

type EvidenceHeader = upstream.EvidenceHeader

Types: every exported type of github.com/openctemio/ctis/v2.

type EvidenceItem added in v0.19.0

type EvidenceItem = upstream.EvidenceItem

Types: every exported type of github.com/openctemio/ctis/v2.

func CurlEvidence added in v0.19.0

func CurlEvidence(command string) (EvidenceItem, bool)

CurlEvidence calls github.com/openctemio/ctis/v2.CurlEvidence.

func HTTPExchange added in v0.46.0

func HTTPExchange(req, resp *HTTPMessageParts) (EvidenceItem, bool)

HTTPExchange calls github.com/openctemio/ctis/v2.HTTPExchange.

func HTTPExchangeFromHAR added in v0.19.0

func HTTPExchangeFromHAR(entry []byte) (EvidenceItem, error)

HTTPExchangeFromHAR calls github.com/openctemio/ctis/v2.HTTPExchangeFromHAR.

func HTTPExchangeFromRaw added in v0.19.0

func HTTPExchangeFromRaw(request, response, baseURL string) (EvidenceItem, bool)

HTTPExchangeFromRaw calls github.com/openctemio/ctis/v2.HTTPExchangeFromRaw.

type EvidenceMatch added in v0.19.0

type EvidenceMatch = upstream.EvidenceMatch

Types: every exported type of github.com/openctemio/ctis/v2.

type EvidenceRequest added in v0.19.0

type EvidenceRequest = upstream.EvidenceRequest

Types: every exported type of github.com/openctemio/ctis/v2.

type EvidenceResponse added in v0.19.0

type EvidenceResponse = upstream.EvidenceResponse

Types: every exported type of github.com/openctemio/ctis/v2.

type ExposureVector added in v0.46.0

type ExposureVector = upstream.ExposureVector

Types: every exported type of github.com/openctemio/ctis/v2.

func AllExposureVectors added in v0.46.0

func AllExposureVectors() []ExposureVector

AllExposureVectors calls github.com/openctemio/ctis/v2.AllExposureVectors.

type Extensions added in v0.46.0

type Extensions = upstream.Extensions

Types: every exported type of github.com/openctemio/ctis/v2.

type Finding

type Finding = upstream.Finding

Types: every exported type of github.com/openctemio/ctis/v2.

type FindingAssetError added in v0.8.0

type FindingAssetError struct {
	// Unresolved is the number of findings that do not resolve.
	Unresolved int
	// Total is the number of findings in the report.
	Total int
	// Indices holds the indices (into Report.Findings) of the first few
	// unresolved findings, in order.
	Indices []int
}

FindingAssetError lists the findings of a report that do not resolve to an asset of that report. It carries indices only, never finding content, so it is safe to log.

func (*FindingAssetError) Error added in v0.8.0

func (e *FindingAssetError) Error() string

Error implements error.

func (*FindingAssetError) Is added in v0.8.0

func (e *FindingAssetError) Is(target error) bool

Is makes errors.Is(err, ErrNoAssetForFindings) true.

type FindingExposure

type FindingExposure = upstream.FindingExposure

Types: every exported type of github.com/openctemio/ctis/v2.

type FindingLocation

type FindingLocation = upstream.FindingLocation

Types: every exported type of github.com/openctemio/ctis/v2.

type FindingStatus

type FindingStatus = upstream.FindingStatus

Types: every exported type of github.com/openctemio/ctis/v2.

func AllFindingStatuses added in v0.4.0

func AllFindingStatuses() []FindingStatus

AllFindingStatuses calls github.com/openctemio/ctis/v2.AllFindingStatuses.

type FindingType

type FindingType = upstream.FindingType

Types: every exported type of github.com/openctemio/ctis/v2.

func AllFindingTypes

func AllFindingTypes() []FindingType

AllFindingTypes calls github.com/openctemio/ctis/v2.AllFindingTypes.

type FindingValidation added in v0.46.0

type FindingValidation = upstream.FindingValidation

Types: every exported type of github.com/openctemio/ctis/v2.

type FixRegex

type FixRegex = upstream.FixRegex

Types: every exported type of github.com/openctemio/ctis/v2.

type FlashLoanIssue

type FlashLoanIssue = upstream.FlashLoanIssue

Types: every exported type of github.com/openctemio/ctis/v2.

type GasIssue

type GasIssue = upstream.GasIssue

Types: every exported type of github.com/openctemio/ctis/v2.

type Geolocation

type Geolocation = upstream.Geolocation

Types: every exported type of github.com/openctemio/ctis/v2.

type HTTPMessageParts added in v0.46.0

type HTTPMessageParts = upstream.HTTPMessageParts

Types: every exported type of github.com/openctemio/ctis/v2.

type HTTPTechnical added in v0.46.0

type HTTPTechnical = upstream.HTTPTechnical

Types: every exported type of github.com/openctemio/ctis/v2.

type IPAddressTechnical

type IPAddressTechnical = upstream.IPAddressTechnical

Types: every exported type of github.com/openctemio/ctis/v2.

type IdentityHints added in v0.18.0

type IdentityHints = upstream.IdentityHints

Types: every exported type of github.com/openctemio/ctis/v2.

type IdentityKind added in v0.46.0

type IdentityKind = upstream.IdentityKind

Types: every exported type of github.com/openctemio/ctis/v2.

func AllIdentityKinds added in v0.46.0

func AllIdentityKinds() []IdentityKind

AllIdentityKinds calls github.com/openctemio/ctis/v2.AllIdentityKinds.

type IdentityTechnical added in v0.46.0

type IdentityTechnical = upstream.IdentityTechnical

Types: every exported type of github.com/openctemio/ctis/v2.

type LiveHostInput

type LiveHostInput = upstream.LiveHostInput

Types: every exported type of github.com/openctemio/ctis/v2.

func ParseHTTPXLine added in v0.38.0

func ParseHTTPXLine(line []byte, observe func(path string)) (LiveHostInput, error)

ParseHTTPXLine calls github.com/openctemio/ctis/v2.ParseHTTPXLine.

type LogicalLocation

type LogicalLocation = upstream.LogicalLocation

Types: every exported type of github.com/openctemio/ctis/v2.

type MisconfigurationDetails

type MisconfigurationDetails = upstream.MisconfigurationDetails

Types: every exported type of github.com/openctemio/ctis/v2.

type NFTCollectionDetails

type NFTCollectionDetails = upstream.NFTCollectionDetails

Types: every exported type of github.com/openctemio/ctis/v2.

type NativeIdentity added in v0.18.0

type NativeIdentity = upstream.NativeIdentity

Types: every exported type of github.com/openctemio/ctis/v2.

type NativeScheme added in v0.18.0

type NativeScheme = upstream.NativeScheme

Types: every exported type of github.com/openctemio/ctis/v2.

func AllNativeSchemes added in v0.18.0

func AllNativeSchemes() []NativeScheme

AllNativeSchemes calls github.com/openctemio/ctis/v2.AllNativeSchemes.

type NetworkDeviceKind added in v0.46.0

type NetworkDeviceKind = upstream.NetworkDeviceKind

Types: every exported type of github.com/openctemio/ctis/v2.

func AllNetworkDeviceKinds added in v0.46.0

func AllNetworkDeviceKinds() []NetworkDeviceKind

AllNetworkDeviceKinds calls github.com/openctemio/ctis/v2.AllNetworkDeviceKinds.

type NetworkDeviceTechnical added in v0.46.0

type NetworkDeviceTechnical = upstream.NetworkDeviceTechnical

Types: every exported type of github.com/openctemio/ctis/v2.

type NetworkLocation added in v0.3.0

type NetworkLocation = upstream.NetworkLocation

Types: every exported type of github.com/openctemio/ctis/v2.

type OpenPortInput

type OpenPortInput = upstream.OpenPortInput

Types: every exported type of github.com/openctemio/ctis/v2.

type OracleManipulationIssue

type OracleManipulationIssue = upstream.OracleManipulationIssue

Types: every exported type of github.com/openctemio/ctis/v2.

type OwnerKind added in v0.46.0

type OwnerKind = upstream.OwnerKind

Types: every exported type of github.com/openctemio/ctis/v2.

func AllOwnerKinds added in v0.46.0

func AllOwnerKinds() []OwnerKind

AllOwnerKinds calls github.com/openctemio/ctis/v2.AllOwnerKinds.

type OwnerRole added in v0.46.0

type OwnerRole = upstream.OwnerRole

Types: every exported type of github.com/openctemio/ctis/v2.

func AllOwnerRoles added in v0.46.0

func AllOwnerRoles() []OwnerRole

AllOwnerRoles calls github.com/openctemio/ctis/v2.AllOwnerRoles.

type ParamLocation added in v0.19.0

type ParamLocation = upstream.ParamLocation

Types: every exported type of github.com/openctemio/ctis/v2.

func AllParamLocations added in v0.19.0

func AllParamLocations() []ParamLocation

AllParamLocations calls github.com/openctemio/ctis/v2.AllParamLocations.

type PortState added in v0.46.0

type PortState = upstream.PortState

Types: every exported type of github.com/openctemio/ctis/v2.

func AllPortStates added in v0.46.0

func AllPortStates() []PortState

AllPortStates calls github.com/openctemio/ctis/v2.AllPortStates.

type Profile added in v0.46.0

type Profile = upstream.Profile

Types: every exported type of github.com/openctemio/ctis/v2.

func AllProfiles added in v0.46.0

func AllProfiles() []Profile

AllProfiles calls github.com/openctemio/ctis/v2.AllProfiles.

type Properties

type Properties = upstream.Properties

Types: every exported type of github.com/openctemio/ctis/v2.

type ReconConverterOptions

type ReconConverterOptions = upstream.ReconConverterOptions

Types: every exported type of github.com/openctemio/ctis/v2.

func DefaultReconConverterOptions

func DefaultReconConverterOptions() *ReconConverterOptions

DefaultReconConverterOptions calls github.com/openctemio/ctis/v2.DefaultReconConverterOptions.

type ReconToCTISInput

type ReconToCTISInput = upstream.ReconToCTISInput

Types: every exported type of github.com/openctemio/ctis/v2.

type ReentrancyIssue

type ReentrancyIssue = upstream.ReentrancyIssue

Types: every exported type of github.com/openctemio/ctis/v2.

type Relationship added in v0.19.0

type Relationship = upstream.Relationship

Types: every exported type of github.com/openctemio/ctis/v2.

type RelationshipType added in v0.19.0

type RelationshipType = upstream.RelationshipType

Types: every exported type of github.com/openctemio/ctis/v2.

func AllRelationshipTypes added in v0.19.0

func AllRelationshipTypes() []RelationshipType

AllRelationshipTypes calls github.com/openctemio/ctis/v2.AllRelationshipTypes.

type Remediation

type Remediation = upstream.Remediation

Types: every exported type of github.com/openctemio/ctis/v2.

type Report

type Report = upstream.Report

Types: every exported type of github.com/openctemio/ctis/v2.

func ConvertReconToCTIS

func ConvertReconToCTIS(input *ReconToCTISInput, opts *ReconConverterOptions) (*Report, error)

ConvertReconToCTIS calls github.com/openctemio/ctis/v2.ConvertReconToCTIS.

func MergeReconReports

func MergeReconReports(reports []*Report) *Report

MergeReconReports calls github.com/openctemio/ctis/v2.MergeReconReports.

func NewReport

func NewReport() *Report

NewReport calls github.com/openctemio/ctis/v2.NewReport.

type ReportMetadata

type ReportMetadata = upstream.ReportMetadata

Types: every exported type of github.com/openctemio/ctis/v2.

type RepositoryTechnical

type RepositoryTechnical = upstream.RepositoryTechnical

Types: every exported type of github.com/openctemio/ctis/v2.

type ResponseHeadersInput added in v0.42.0

type ResponseHeadersInput = upstream.ResponseHeadersInput

Types: every exported type of github.com/openctemio/ctis/v2.

type Rule added in v0.46.0

type Rule = upstream.Rule

Types: every exported type of github.com/openctemio/ctis/v2.

type Score added in v0.18.0

type Score = upstream.Score

Types: every exported type of github.com/openctemio/ctis/v2.

func PrimaryCVSS added in v0.46.0

func PrimaryCVSS(f *Finding) (Score, bool)

PrimaryCVSS calls github.com/openctemio/ctis/v2.PrimaryCVSS.

type ScoreSystem added in v0.18.0

type ScoreSystem = upstream.ScoreSystem

Types: every exported type of github.com/openctemio/ctis/v2.

func AllScoreSystems added in v0.18.0

func AllScoreSystems() []ScoreSystem

AllScoreSystems calls github.com/openctemio/ctis/v2.AllScoreSystems.

type SecretDetails

type SecretDetails = upstream.SecretDetails

Types: every exported type of github.com/openctemio/ctis/v2.

type SecurityHeaders added in v0.46.0

type SecurityHeaders = upstream.SecurityHeaders

Types: every exported type of github.com/openctemio/ctis/v2.

type Segment added in v0.46.0

type Segment = upstream.Segment

Types: every exported type of github.com/openctemio/ctis/v2.

type SensitiveSpan added in v0.19.0

type SensitiveSpan = upstream.SensitiveSpan

Types: every exported type of github.com/openctemio/ctis/v2.

type ServiceTechnical

type ServiceTechnical = upstream.ServiceTechnical

Types: every exported type of github.com/openctemio/ctis/v2.

type Severity

type Severity = upstream.Severity

Types: every exported type of github.com/openctemio/ctis/v2.

func AllSeverities

func AllSeverities() []Severity

AllSeverities calls github.com/openctemio/ctis/v2.AllSeverities.

func NormalizeNativeSeverity added in v0.18.0

func NormalizeNativeSeverity(scheme NativeScheme, native string) (Severity, bool)

NormalizeNativeSeverity calls github.com/openctemio/ctis/v2.NormalizeNativeSeverity.

type SmartContractDetails

type SmartContractDetails = upstream.SmartContractDetails

Types: every exported type of github.com/openctemio/ctis/v2.

type SolutionType added in v0.18.0

type SolutionType = upstream.SolutionType

Types: every exported type of github.com/openctemio/ctis/v2.

func AllSolutionTypes added in v0.18.0

func AllSolutionTypes() []SolutionType

AllSolutionTypes calls github.com/openctemio/ctis/v2.AllSolutionTypes.

type SourceLifecycle added in v0.18.0

type SourceLifecycle = upstream.SourceLifecycle

Types: every exported type of github.com/openctemio/ctis/v2.

type SourceRef added in v0.46.0

type SourceRef = upstream.SourceRef

Types: every exported type of github.com/openctemio/ctis/v2.

type SourceState added in v0.18.0

type SourceState = upstream.SourceState

Types: every exported type of github.com/openctemio/ctis/v2.

func AllSourceStates added in v0.18.0

func AllSourceStates() []SourceState

AllSourceStates calls github.com/openctemio/ctis/v2.AllSourceStates.

type StackFrame

type StackFrame = upstream.StackFrame

Types: every exported type of github.com/openctemio/ctis/v2.

type StackTrace

type StackTrace = upstream.StackTrace

Types: every exported type of github.com/openctemio/ctis/v2.

type SubdomainInput

type SubdomainInput = upstream.SubdomainInput

Types: every exported type of github.com/openctemio/ctis/v2.

type Suppression

type Suppression = upstream.Suppression

Types: every exported type of github.com/openctemio/ctis/v2.

type TLSLeafInput added in v0.18.0

type TLSLeafInput = upstream.TLSLeafInput

Types: every exported type of github.com/openctemio/ctis/v2.

type TLSVersion added in v0.46.0

type TLSVersion = upstream.TLSVersion

Types: every exported type of github.com/openctemio/ctis/v2.

func AllTLSVersions added in v0.46.0

func AllTLSVersions() []TLSVersion

AllTLSVersions calls github.com/openctemio/ctis/v2.AllTLSVersions.

type TargetCause added in v0.46.0

type TargetCause = upstream.TargetCause

Types: every exported type of github.com/openctemio/ctis/v2.

func AllTargetCauses added in v0.46.0

func AllTargetCauses() []TargetCause

AllTargetCauses calls github.com/openctemio/ctis/v2.AllTargetCauses.

type TargetClass added in v0.46.0

type TargetClass = upstream.TargetClass

Types: every exported type of github.com/openctemio/ctis/v2.

func AllTargetClasses added in v0.46.0

func AllTargetClasses() []TargetClass

AllTargetClasses calls github.com/openctemio/ctis/v2.AllTargetClasses.

type TargetOutcome added in v0.46.0

type TargetOutcome = upstream.TargetOutcome

Types: every exported type of github.com/openctemio/ctis/v2.

type TargetState added in v0.46.0

type TargetState = upstream.TargetState

Types: every exported type of github.com/openctemio/ctis/v2.

func AllTargetStates added in v0.46.0

func AllTargetStates() []TargetState

AllTargetStates calls github.com/openctemio/ctis/v2.AllTargetStates.

type Technique added in v0.46.0

type Technique = upstream.Technique

Types: every exported type of github.com/openctemio/ctis/v2.

func AllTechniques added in v0.46.0

func AllTechniques() []Technique

AllTechniques calls github.com/openctemio/ctis/v2.AllTechniques.

type Technology added in v0.19.0

type Technology = upstream.Technology

Types: every exported type of github.com/openctemio/ctis/v2.

type TechnologyInput

type TechnologyInput = upstream.TechnologyInput

Types: every exported type of github.com/openctemio/ctis/v2.

type ThreatSignal added in v0.46.0

type ThreatSignal = upstream.ThreatSignal

Types: every exported type of github.com/openctemio/ctis/v2.

type ThreatSignalType added in v0.46.0

type ThreatSignalType = upstream.ThreatSignalType

Types: every exported type of github.com/openctemio/ctis/v2.

func AllThreatSignalTypes added in v0.46.0

func AllThreatSignalTypes() []ThreatSignalType

AllThreatSignalTypes calls github.com/openctemio/ctis/v2.AllThreatSignalTypes.

type TokenBalance

type TokenBalance = upstream.TokenBalance

Types: every exported type of github.com/openctemio/ctis/v2.

type TokenDetails

type TokenDetails = upstream.TokenDetails

Types: every exported type of github.com/openctemio/ctis/v2.

type Tool

type Tool = upstream.Tool

Types: every exported type of github.com/openctemio/ctis/v2.

type ToolContent added in v0.46.0

type ToolContent = upstream.ToolContent

Types: every exported type of github.com/openctemio/ctis/v2.

type TradingPair

type TradingPair = upstream.TradingPair

Types: every exported type of github.com/openctemio/ctis/v2.

type Transport added in v0.46.0

type Transport = upstream.Transport

Types: every exported type of github.com/openctemio/ctis/v2.

func AllTransports added in v0.46.0

func AllTransports() []Transport

AllTransports calls github.com/openctemio/ctis/v2.AllTransports.

type Unknown added in v0.46.0

type Unknown = upstream.Unknown

Types: every exported type of github.com/openctemio/ctis/v2.

type UnknownEntry added in v0.46.0

type UnknownEntry = upstream.UnknownEntry

Types: every exported type of github.com/openctemio/ctis/v2.

type UnknownKind added in v0.46.0

type UnknownKind = upstream.UnknownKind

Types: every exported type of github.com/openctemio/ctis/v2.

type VEX added in v0.18.0

type VEX = upstream.VEX

Types: every exported type of github.com/openctemio/ctis/v2.

type VEXJustification added in v0.18.0

type VEXJustification = upstream.VEXJustification

Types: every exported type of github.com/openctemio/ctis/v2.

func AllVEXJustifications added in v0.18.0

func AllVEXJustifications() []VEXJustification

AllVEXJustifications calls github.com/openctemio/ctis/v2.AllVEXJustifications.

func NormalizeVEXJustification added in v0.18.0

func NormalizeVEXJustification(native string) (VEXJustification, bool)

NormalizeVEXJustification calls github.com/openctemio/ctis/v2.NormalizeVEXJustification.

type VEXStatus added in v0.18.0

type VEXStatus = upstream.VEXStatus

Types: every exported type of github.com/openctemio/ctis/v2.

func AllVEXStatuses added in v0.18.0

func AllVEXStatuses() []VEXStatus

AllVEXStatuses calls github.com/openctemio/ctis/v2.AllVEXStatuses.

func NormalizeVEXStatus added in v0.18.0

func NormalizeVEXStatus(native string) (VEXStatus, bool)

NormalizeVEXStatus calls github.com/openctemio/ctis/v2.NormalizeVEXStatus.

type ValidationMethod added in v0.46.0

type ValidationMethod = upstream.ValidationMethod

Types: every exported type of github.com/openctemio/ctis/v2.

func AllValidationMethods added in v0.46.0

func AllValidationMethods() []ValidationMethod

AllValidationMethods calls github.com/openctemio/ctis/v2.AllValidationMethods.

type ValidationStatus added in v0.46.0

type ValidationStatus = upstream.ValidationStatus

Types: every exported type of github.com/openctemio/ctis/v2.

func AllValidationStatuses added in v0.46.0

func AllValidationStatuses() []ValidationStatus

AllValidationStatuses calls github.com/openctemio/ctis/v2.AllValidationStatuses.

type VulnDataSource

type VulnDataSource = upstream.VulnDataSource

Types: every exported type of github.com/openctemio/ctis/v2.

type VulnerabilityDetails

type VulnerabilityDetails = upstream.VulnerabilityDetails

Types: every exported type of github.com/openctemio/ctis/v2.

type VulnerabilityID added in v0.18.0

type VulnerabilityID = upstream.VulnerabilityID

Types: every exported type of github.com/openctemio/ctis/v2.

func NormalizeVulnerabilityID added in v0.18.0

func NormalizeVulnerabilityID(raw string) (VulnerabilityID, bool)

NormalizeVulnerabilityID calls github.com/openctemio/ctis/v2.NormalizeVulnerabilityID.

func PreferredVulnerabilityID added in v0.18.0

func PreferredVulnerabilityID(v *VulnerabilityDetails) (VulnerabilityID, bool)

PreferredVulnerabilityID calls github.com/openctemio/ctis/v2.PreferredVulnerabilityID.

func VulnerabilityIDs added in v0.18.0

func VulnerabilityIDs(v *VulnerabilityDetails) []VulnerabilityID

VulnerabilityIDs calls github.com/openctemio/ctis/v2.VulnerabilityIDs.

type VulnerabilityIDType added in v0.18.0

type VulnerabilityIDType = upstream.VulnerabilityIDType

Types: every exported type of github.com/openctemio/ctis/v2.

func AllVulnerabilityIDTypes added in v0.18.0

func AllVulnerabilityIDTypes() []VulnerabilityIDType

AllVulnerabilityIDTypes calls github.com/openctemio/ctis/v2.AllVulnerabilityIDTypes.

type WalletDetails

type WalletDetails = upstream.WalletDetails

Types: every exported type of github.com/openctemio/ctis/v2.

type Web3POC

type Web3POC = upstream.Web3POC

Types: every exported type of github.com/openctemio/ctis/v2.

type Web3Technical

type Web3Technical = upstream.Web3Technical

Types: every exported type of github.com/openctemio/ctis/v2.

type Web3VulnerabilityClass

type Web3VulnerabilityClass = upstream.Web3VulnerabilityClass

Types: every exported type of github.com/openctemio/ctis/v2.

func AllWeb3VulnerabilityClasses

func AllWeb3VulnerabilityClasses() []Web3VulnerabilityClass

AllWeb3VulnerabilityClasses calls github.com/openctemio/ctis/v2.AllWeb3VulnerabilityClasses.

type Web3VulnerabilityDetails

type Web3VulnerabilityDetails = upstream.Web3VulnerabilityDetails

Types: every exported type of github.com/openctemio/ctis/v2.

type WebCaptureInput added in v0.42.0

type WebCaptureInput = upstream.WebCaptureInput

Types: every exported type of github.com/openctemio/ctis/v2.

type WebFormInput added in v0.42.0

type WebFormInput = upstream.WebFormInput

Types: every exported type of github.com/openctemio/ctis/v2.

type WebLocation added in v0.19.0

type WebLocation = upstream.WebLocation

Types: every exported type of github.com/openctemio/ctis/v2.

type WebParameter added in v0.19.0

type WebParameter = upstream.WebParameter

Types: every exported type of github.com/openctemio/ctis/v2.

Directories

Path Synopsis
internal
genalias command
Command genalias writes pkg/ctis/zz_generated_aliases.go: one type alias, constant, variable or wrapper function in package ctis for every exported identifier of the root package of github.com/openctemio/ctis, at the version go.mod requires.
Command genalias writes pkg/ctis/zz_generated_aliases.go: one type alias, constant, variable or wrapper function in package ctis for every exported identifier of the root package of github.com/openctemio/ctis, at the version go.mod requires.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL