ctis

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

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 (
	MaxCapabilityRefLen                                         = upstream.MaxCapabilityRefLen
	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
	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
	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
	ScoreSystemVPR                                              = upstream.ScoreSystemVPR
	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
	SolutionTypePatch                                           = upstream.SolutionTypePatch
	SolutionTypeUpgrade                                         = upstream.SolutionTypeUpgrade
	SolutionTypeConfig                                          = upstream.SolutionTypeConfig
	SolutionTypeWorkaround                                      = upstream.SolutionTypeWorkaround
	SolutionTypeMitigation                                      = upstream.SolutionTypeMitigation
	SolutionTypeNoFix                                           = upstream.SolutionTypeNoFix
	FindingStatusOpen                                           = upstream.FindingStatusOpen
	FindingStatusResolved                                       = upstream.FindingStatusResolved
	FindingStatusSuppressed                                     = upstream.FindingStatusSuppressed
	FindingStatusFalsePositive                                  = upstream.FindingStatusFalsePositive
	FindingStatusAcceptedRisk                                   = upstream.FindingStatusAcceptedRisk
	FindingStatusInProgress                                     = upstream.FindingStatusInProgress
	DataFlowLocationSource                                      = upstream.DataFlowLocationSource
	DataFlowLocationSink                                        = upstream.DataFlowLocationSink
	DataFlowLocationPropagator                                  = upstream.DataFlowLocationPropagator
	DataFlowLocationSanitizer                                   = upstream.DataFlowLocationSanitizer
	DataFlowLocationTransform                                   = upstream.DataFlowLocationTransform
	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
	AssetTypeDomain                                             = upstream.AssetTypeDomain
	AssetTypeSubdomain                                          = upstream.AssetTypeSubdomain
	AssetTypeIPAddress                                          = upstream.AssetTypeIPAddress
	AssetTypeCertificate                                        = upstream.AssetTypeCertificate
	AssetTypeWebsite                                            = upstream.AssetTypeWebsite
	AssetTypeWebApplication                                     = upstream.AssetTypeWebApplication
	AssetTypeAPI                                                = upstream.AssetTypeAPI
	AssetTypeMobileApp                                          = upstream.AssetTypeMobileApp
	AssetTypeService                                            = upstream.AssetTypeService
	AssetTypeRepository                                         = upstream.AssetTypeRepository
	AssetTypeCloudAccount                                       = upstream.AssetTypeCloudAccount
	AssetTypeCompute                                            = upstream.AssetTypeCompute
	AssetTypeStorage                                            = upstream.AssetTypeStorage
	AssetTypeDatabase                                           = upstream.AssetTypeDatabase
	AssetTypeServerless                                         = upstream.AssetTypeServerless
	AssetTypeContainerRegistry                                  = upstream.AssetTypeContainerRegistry
	AssetTypeHost                                               = upstream.AssetTypeHost
	AssetTypeServer                                             = upstream.AssetTypeServer
	AssetTypeContainer                                          = upstream.AssetTypeContainer
	AssetTypeKubernetes                                         = upstream.AssetTypeKubernetes
	AssetTypeKubernetesCluster                                  = upstream.AssetTypeKubernetesCluster
	AssetTypeKubernetesNamespace                                = upstream.AssetTypeKubernetesNamespace
	AssetTypeNetwork                                            = upstream.AssetTypeNetwork
	AssetTypeVPC                                                = upstream.AssetTypeVPC
	AssetTypeSubnet                                             = upstream.AssetTypeSubnet
	AssetTypeLoadBalancer                                       = upstream.AssetTypeLoadBalancer
	AssetTypeFirewall                                           = upstream.AssetTypeFirewall
	AssetTypeIAMUser                                            = upstream.AssetTypeIAMUser
	AssetTypeIAMRole                                            = upstream.AssetTypeIAMRole
	AssetTypeServiceAccount                                     = upstream.AssetTypeServiceAccount
	AssetTypeHTTPService                                        = upstream.AssetTypeHTTPService
	AssetTypeOpenPort                                           = upstream.AssetTypeOpenPort
	AssetTypeDiscoveredURL                                      = upstream.AssetTypeDiscoveredURL
	AssetTypeSmartContract                                      = upstream.AssetTypeSmartContract
	AssetTypeWallet                                             = upstream.AssetTypeWallet
	AssetTypeNFTCollection                                      = upstream.AssetTypeNFTCollection
	AssetTypeDeFiProtocol                                       = upstream.AssetTypeDeFiProtocol
	AssetTypeToken                                              = upstream.AssetTypeToken
	AssetTypeBlockchain                                         = upstream.AssetTypeBlockchain
	AssetTypeUnclassified                                       = upstream.AssetTypeUnclassified
	FindingTypeVulnerability                                    = upstream.FindingTypeVulnerability
	FindingTypeSecret                                           = upstream.FindingTypeSecret
	FindingTypeMisconfiguration                                 = upstream.FindingTypeMisconfiguration
	FindingTypeCompliance                                       = upstream.FindingTypeCompliance
	FindingTypeWeb3                                             = upstream.FindingTypeWeb3
	SeverityCritical                                            = upstream.SeverityCritical
	SeverityHigh                                                = upstream.SeverityHigh
	SeverityMedium                                              = upstream.SeverityMedium
	SeverityLow                                                 = upstream.SeverityLow
	SeverityInfo                                                = upstream.SeverityInfo
	CriticalityCritical                                         = upstream.CriticalityCritical
	CriticalityHigh                                             = upstream.CriticalityHigh
	CriticalityMedium                                           = upstream.CriticalityMedium
	CriticalityLow                                              = upstream.CriticalityLow
	CriticalityInfo                                             = upstream.CriticalityInfo
	SchemaVersion                                               = upstream.SchemaVersion
	SchemaMajor                                                 = upstream.SchemaMajor
	SchemaBaseURL                                               = upstream.SchemaBaseURL
	SchemaURL                                                   = upstream.SchemaURL
	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
	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 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 CVSSVersionOfVector added in v0.18.0

func CVSSVersionOfVector(vector string) string

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

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.ContainsSecret.

func FitEvidenceItem added in v0.19.0

func FitEvidenceItem(it *EvidenceItem)

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

func IsAttackTechniqueID added in v0.19.0

func IsAttackTechniqueID(s string) bool

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

func IsCapabilityRef added in v0.19.0

func IsCapabilityRef(s string) bool

IsCapabilityRef calls github.com/openctemio/ctis.IsCapabilityRef.

func IsCompatibleVersion added in v0.18.0

func IsCompatibleVersion(v string) bool

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

func IsKnownEvidenceKind added in v0.19.0

func IsKnownEvidenceKind(kind string) bool

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

func IsSensitiveHeader added in v0.19.0

func IsSensitiveHeader(name string) bool

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

func IsSensitiveParam added in v0.19.0

func IsSensitiveParam(name string) bool

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

func IsSupportedVersion added in v0.18.0

func IsSupportedVersion(v string) bool

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

func KnownEvidenceKinds added in v0.19.0

func KnownEvidenceKinds() []string

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

func LocationKey added in v0.18.0

func LocationKey(f *Finding) string

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

func MarkSensitive added in v0.19.0

func MarkSensitive(items ...*EvidenceItem)

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

func MaskSecretMatch added in v0.18.0

func MaskSecretMatch(s string) string

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

func NormalizeAssetName added in v0.2.2

func NormalizeAssetName(assetType AssetType, name string) string

NormalizeAssetName calls github.com/openctemio/ctis.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.NormalizeNativeStatus.

func ParseVersion added in v0.18.0

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

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

func RedactSecretFinding added in v0.19.0

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

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

func SetSourceExtra added in v0.18.0

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

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

func SupportedSchemaVersions added in v0.18.0

func SupportedSchemaVersions() []string

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

Types

type ASNInput added in v0.18.0

type ASNInput = upstream.ASNInput

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

type ASVSInfo

type ASVSInfo = upstream.ASVSInfo

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

type AccessControlIssue

type AccessControlIssue = upstream.AccessControlIssue

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

type Advisory added in v0.18.0

type Advisory = upstream.Advisory

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

type ArtifactLocation

type ArtifactLocation = upstream.ArtifactLocation

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

type Asset

type Asset = upstream.Asset

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

type AssetCompliance

type AssetCompliance = upstream.AssetCompliance

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

type AssetIdentifiers added in v0.8.0

type AssetIdentifiers = upstream.AssetIdentifiers

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

type AssetTechnical

type AssetTechnical = upstream.AssetTechnical

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

type AssetType

type AssetType = upstream.AssetType

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

func AllAssetTypes

func AllAssetTypes() []AssetType

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

type Attachment

type Attachment = upstream.Attachment

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

type AuditReport

type AuditReport = upstream.AuditReport

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

type BranchInfo

type BranchInfo = upstream.BranchInfo

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

type BusinessImpact

type BusinessImpact = upstream.BusinessImpact

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

type CertificateTechnical

type CertificateTechnical = upstream.CertificateTechnical

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

type CloudTechnical

type CloudTechnical = upstream.CloudTechnical

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

type ComplianceDetails

type ComplianceDetails = upstream.ComplianceDetails

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

type ContainerLayer

type ContainerLayer = upstream.ContainerLayer

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

type ContractLibrary

type ContractLibrary = upstream.ContractLibrary

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

type ConvertOptions

type ConvertOptions = upstream.ConvertOptions

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

func DefaultConvertOptions

func DefaultConvertOptions() *ConvertOptions

DefaultConvertOptions calls github.com/openctemio/ctis.DefaultConvertOptions.

type CoreContract

type CoreContract = upstream.CoreContract

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

type Criticality

type Criticality = upstream.Criticality

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

func AllCriticalities

func AllCriticalities() []Criticality

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

type DNSRecord

type DNSRecord = upstream.DNSRecord

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

type DNSRecordInput

type DNSRecordInput = upstream.DNSRecordInput

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

type DataFlow

type DataFlow = upstream.DataFlow

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

func NewDataFlow

func NewDataFlow(source, sink DataFlowLocation) *DataFlow

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

type DataFlowLocation

type DataFlowLocation = upstream.DataFlowLocation

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

func NewDataFlowLocation

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

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

type DataFlowLocationType

type DataFlowLocationType = upstream.DataFlowLocationType

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

func AllDataFlowLocationTypes added in v0.9.0

func AllDataFlowLocationTypes() []DataFlowLocationType

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

type DeFiDetails

type DeFiDetails = upstream.DeFiDetails

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

type Dependency

type Dependency = upstream.Dependency

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

type DependencyLocation

type DependencyLocation = upstream.DependencyLocation

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

type DetectionType added in v0.18.0

type DetectionType = upstream.DetectionType

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

func AllDetectionTypes added in v0.18.0

func AllDetectionTypes() []DetectionType

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

func NormalizeDetectionType added in v0.18.0

func NormalizeDetectionType(native string) (DetectionType, bool)

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

type DiscoveredURLInput

type DiscoveredURLInput = upstream.DiscoveredURLInput

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

type DomainTechnical

type DomainTechnical = upstream.DomainTechnical

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

type Endpoint added in v0.19.0

type Endpoint = upstream.Endpoint

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

type EndpointAuth added in v0.19.0

type EndpointAuth = upstream.EndpointAuth

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

func AllEndpointAuths added in v0.19.0

func AllEndpointAuths() []EndpointAuth

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

type EndpointKind added in v0.19.0

type EndpointKind = upstream.EndpointKind

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

func AllEndpointKinds added in v0.19.0

func AllEndpointKinds() []EndpointKind

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

type EndpointParam added in v0.19.0

type EndpointParam = upstream.EndpointParam

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

type EndpointSource added in v0.19.0

type EndpointSource = upstream.EndpointSource

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

func AllEndpointSources added in v0.19.0

func AllEndpointSources() []EndpointSource

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

type EvidenceArtifact added in v0.19.0

type EvidenceArtifact = upstream.EvidenceArtifact

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

type EvidenceFile added in v0.19.0

type EvidenceFile = upstream.EvidenceFile

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

type EvidenceHTTP added in v0.19.0

type EvidenceHTTP = upstream.EvidenceHTTP

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

type EvidenceHeader added in v0.19.0

type EvidenceHeader = upstream.EvidenceHeader

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

type EvidenceItem added in v0.19.0

type EvidenceItem = upstream.EvidenceItem

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

func CurlEvidence added in v0.19.0

func CurlEvidence(command string) (EvidenceItem, bool)

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

func HTTPExchangeFromHAR added in v0.19.0

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

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

func HTTPExchangeFromRaw added in v0.19.0

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

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

type EvidenceMatch added in v0.19.0

type EvidenceMatch = upstream.EvidenceMatch

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

type EvidenceRequest added in v0.19.0

type EvidenceRequest = upstream.EvidenceRequest

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

type EvidenceResponse added in v0.19.0

type EvidenceResponse = upstream.EvidenceResponse

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

type Finding

type Finding = upstream.Finding

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

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.

type FindingLocation

type FindingLocation = upstream.FindingLocation

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

type FindingStatus

type FindingStatus = upstream.FindingStatus

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

func AllFindingStatuses added in v0.4.0

func AllFindingStatuses() []FindingStatus

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

type FindingType

type FindingType = upstream.FindingType

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

func AllFindingTypes

func AllFindingTypes() []FindingType

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

type FixRegex

type FixRegex = upstream.FixRegex

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

type FlashLoanIssue

type FlashLoanIssue = upstream.FlashLoanIssue

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

type GasIssue

type GasIssue = upstream.GasIssue

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

type Geolocation

type Geolocation = upstream.Geolocation

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

type IPAddressTechnical

type IPAddressTechnical = upstream.IPAddressTechnical

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

type IdentityHints added in v0.18.0

type IdentityHints = upstream.IdentityHints

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

type LiveHostInput

type LiveHostInput = upstream.LiveHostInput

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

type LogicalLocation

type LogicalLocation = upstream.LogicalLocation

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

type MisconfigurationDetails

type MisconfigurationDetails = upstream.MisconfigurationDetails

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

type NFTCollectionDetails

type NFTCollectionDetails = upstream.NFTCollectionDetails

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

type NativeIdentity added in v0.18.0

type NativeIdentity = upstream.NativeIdentity

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

type NativeScheme added in v0.18.0

type NativeScheme = upstream.NativeScheme

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

func AllNativeSchemes added in v0.18.0

func AllNativeSchemes() []NativeScheme

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

type NetworkLocation added in v0.3.0

type NetworkLocation = upstream.NetworkLocation

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

type OpenPortInput

type OpenPortInput = upstream.OpenPortInput

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

type OracleManipulationIssue

type OracleManipulationIssue = upstream.OracleManipulationIssue

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

type ParamLocation added in v0.19.0

type ParamLocation = upstream.ParamLocation

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

func AllParamLocations added in v0.19.0

func AllParamLocations() []ParamLocation

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

type PortInfo

type PortInfo = upstream.PortInfo

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

type Properties

type Properties = upstream.Properties

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

type ReconConverterOptions

type ReconConverterOptions = upstream.ReconConverterOptions

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

func DefaultReconConverterOptions

func DefaultReconConverterOptions() *ReconConverterOptions

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

type ReconToCTISInput

type ReconToCTISInput = upstream.ReconToCTISInput

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

type ReentrancyIssue

type ReentrancyIssue = upstream.ReentrancyIssue

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

type Relationship added in v0.19.0

type Relationship = upstream.Relationship

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

type RelationshipType added in v0.19.0

type RelationshipType = upstream.RelationshipType

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

func AllRelationshipTypes added in v0.19.0

func AllRelationshipTypes() []RelationshipType

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

type Remediation

type Remediation = upstream.Remediation

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

type RemediationContext

type RemediationContext = upstream.RemediationContext

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

type Report

type Report = upstream.Report

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

func ConvertReconToCTIS

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

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

func MergeReconReports

func MergeReconReports(reports []*Report) *Report

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

func NewReport

func NewReport() *Report

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

type ReportMetadata

type ReportMetadata = upstream.ReportMetadata

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

type RepositoryTechnical

type RepositoryTechnical = upstream.RepositoryTechnical

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

type SARIFArtifact

type SARIFArtifact = upstream.SARIFArtifact

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

type SARIFArtifactLocation

type SARIFArtifactLocation = upstream.SARIFArtifactLocation

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

type SARIFContent added in v0.19.0

type SARIFContent = upstream.SARIFContent

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

type SARIFDriver

type SARIFDriver = upstream.SARIFDriver

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

type SARIFInvocation

type SARIFInvocation = upstream.SARIFInvocation

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

type SARIFLocation

type SARIFLocation = upstream.SARIFLocation

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

type SARIFLog

type SARIFLog struct {
	Version string     `json:"version"`
	Schema  string     `json:"$schema,omitempty"`
	Runs    []SARIFRun `json:"runs"`
}

SARIFLog is the root SARIF document. It is the module's SARIFLog with the SDK's SARIFRun, which also reads versionControlProvenance.

type SARIFLogicalLocation added in v0.18.0

type SARIFLogicalLocation = upstream.SARIFLogicalLocation

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

type SARIFMessage

type SARIFMessage = upstream.SARIFMessage

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

type SARIFPhysicalLocation

type SARIFPhysicalLocation = upstream.SARIFPhysicalLocation

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

type SARIFRegion

type SARIFRegion = upstream.SARIFRegion

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

type SARIFReportingReference added in v0.18.0

type SARIFReportingReference = upstream.SARIFReportingReference

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

type SARIFResult

type SARIFResult = upstream.SARIFResult

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

type SARIFRule

type SARIFRule = upstream.SARIFRule

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

type SARIFRuleConfig

type SARIFRuleConfig = upstream.SARIFRuleConfig

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

type SARIFRun

type SARIFRun struct {
	Tool        SARIFTool         `json:"tool"`
	Results     []SARIFResult     `json:"results"`
	Artifacts   []SARIFArtifact   `json:"artifacts,omitempty"`
	Invocations []SARIFInvocation `json:"invocations,omitempty"`

	// VersionControlProvenance names the repository and revision the run
	// analyzed (SARIF 2.1.0 §3.14.17). GitHub code scanning and CodeQL
	// emit it.
	VersionControlProvenance []SARIFVersionControlDetails `json:"versionControlProvenance,omitempty"`
}

SARIFRun is a single run of a tool: the module's SARIFRun plus VersionControlProvenance. The nested SARIF types are the module's.

func (*SARIFRun) Repository added in v0.8.0

func (r *SARIFRun) Repository() (uri, revision, branch string)

Repository returns the first repository named in the run's versionControlProvenance, with its revision and branch, or empty strings.

type SARIFSnippet

type SARIFSnippet = upstream.SARIFSnippet

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

type SARIFSuppression added in v0.18.0

type SARIFSuppression = upstream.SARIFSuppression

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

type SARIFTool

type SARIFTool = upstream.SARIFTool

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

type SARIFVersionControlDetails added in v0.8.0

type SARIFVersionControlDetails struct {
	RepositoryURI string `json:"repositoryUri"`
	RevisionID    string `json:"revisionId,omitempty"`
	Branch        string `json:"branch,omitempty"`
}

SARIFVersionControlDetails is a SARIF versionControlDetails object.

type SARIFWebRequest added in v0.19.0

type SARIFWebRequest = upstream.SARIFWebRequest

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

type SARIFWebResponse added in v0.19.0

type SARIFWebResponse = upstream.SARIFWebResponse

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

type Scope

type Scope = upstream.Scope

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

type Score added in v0.18.0

type Score = upstream.Score

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

func AllScores added in v0.18.0

func AllScores(f *Finding) []Score

AllScores calls github.com/openctemio/ctis.AllScores.

type ScoreSystem added in v0.18.0

type ScoreSystem = upstream.ScoreSystem

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

func AllScoreSystems added in v0.18.0

func AllScoreSystems() []ScoreSystem

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

type SecretDetails

type SecretDetails = upstream.SecretDetails

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

type SensitiveSpan added in v0.19.0

type SensitiveSpan = upstream.SensitiveSpan

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

type ServiceInfo

type ServiceInfo = upstream.ServiceInfo

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

type ServiceTechnical

type ServiceTechnical = upstream.ServiceTechnical

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

type Severity

type Severity = upstream.Severity

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

func AllSeverities

func AllSeverities() []Severity

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

func NormalizeNativeSeverity added in v0.18.0

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

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

type SmartContractDetails

type SmartContractDetails = upstream.SmartContractDetails

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

type SolutionType added in v0.18.0

type SolutionType = upstream.SolutionType

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

func AllSolutionTypes added in v0.18.0

func AllSolutionTypes() []SolutionType

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

type SourceLifecycle added in v0.18.0

type SourceLifecycle = upstream.SourceLifecycle

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

type SourceState added in v0.18.0

type SourceState = upstream.SourceState

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

func AllSourceStates added in v0.18.0

func AllSourceStates() []SourceState

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

type StackFrame

type StackFrame = upstream.StackFrame

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

type StackTrace

type StackTrace = upstream.StackTrace

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

type SubdomainInput

type SubdomainInput = upstream.SubdomainInput

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

type Suppression

type Suppression = upstream.Suppression

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

type TLSLeafInput added in v0.18.0

type TLSLeafInput = upstream.TLSLeafInput

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

type Technology added in v0.19.0

type Technology = upstream.Technology

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

type TechnologyInput

type TechnologyInput = upstream.TechnologyInput

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

type TokenBalance

type TokenBalance = upstream.TokenBalance

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

type TokenDetails

type TokenDetails = upstream.TokenDetails

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

type Tool

type Tool = upstream.Tool

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

type TradingPair

type TradingPair = upstream.TradingPair

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

type VEX added in v0.18.0

type VEX = upstream.VEX

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

type VEXJustification added in v0.18.0

type VEXJustification = upstream.VEXJustification

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

func AllVEXJustifications added in v0.18.0

func AllVEXJustifications() []VEXJustification

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

func NormalizeVEXJustification added in v0.18.0

func NormalizeVEXJustification(native string) (VEXJustification, bool)

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

type VEXStatus added in v0.18.0

type VEXStatus = upstream.VEXStatus

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

func AllVEXStatuses added in v0.18.0

func AllVEXStatuses() []VEXStatus

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

func NormalizeVEXStatus added in v0.18.0

func NormalizeVEXStatus(native string) (VEXStatus, bool)

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

type VulnDataSource

type VulnDataSource = upstream.VulnDataSource

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

type VulnerabilityDetails

type VulnerabilityDetails = upstream.VulnerabilityDetails

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

type VulnerabilityID added in v0.18.0

type VulnerabilityID = upstream.VulnerabilityID

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

func NormalizeVulnerabilityID added in v0.18.0

func NormalizeVulnerabilityID(raw string) (VulnerabilityID, bool)

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

func PreferredVulnerabilityID added in v0.18.0

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

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

func VulnerabilityIDs added in v0.18.0

func VulnerabilityIDs(v *VulnerabilityDetails) []VulnerabilityID

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

type VulnerabilityIDType added in v0.18.0

type VulnerabilityIDType = upstream.VulnerabilityIDType

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

func AllVulnerabilityIDTypes added in v0.18.0

func AllVulnerabilityIDTypes() []VulnerabilityIDType

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

type WalletDetails

type WalletDetails = upstream.WalletDetails

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

type Web3POC

type Web3POC = upstream.Web3POC

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

type Web3Technical

type Web3Technical = upstream.Web3Technical

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

type Web3VulnerabilityClass

type Web3VulnerabilityClass = upstream.Web3VulnerabilityClass

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

func AllWeb3VulnerabilityClasses

func AllWeb3VulnerabilityClasses() []Web3VulnerabilityClass

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

type Web3VulnerabilityDetails

type Web3VulnerabilityDetails = upstream.Web3VulnerabilityDetails

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

type WebLocation added in v0.19.0

type WebLocation = upstream.WebLocation

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

type WebParameter added in v0.19.0

type WebParameter = upstream.WebParameter

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

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