Versions in this module Expand all Collapse all v0 v0.0.1 Nov 29, 2026 Changes in this version + const Algorithm + const BaseBackoff + const DefaultAPIVersion + const DefaultBaseURL + const DefenceCountsMaxItems + const GHAOIDCHeader + const JailStateBreach + const JailStateExempt + const JailStateIndeterminate + const JailStatePass + const JailStateSkipped + const JailStateWarn + const JailVerdictClear + const JailVerdictIndeterminate + const JailVerdictJailed + const JailVerdictNoPolicy + const MaxRetries + const PaginatedEnumTTL + const Region + const Service + const StaticEnumTTL + const TokenExpiry + const VexIngestMaxDocumentBytes + const VexIngestMaxDocuments + const VexOriginBOMAnalysis + const VexOriginBOMEnrich + const VexOriginDefend + const VexOriginJail + const VexOriginReconcile + const VexOriginScanVexFile + const VexOriginTriage + const VexOriginUpload + var GHAOIDCToken func() string + var Verbose bool + func LoadCredentials() (orgID, secretKey string, err error) + func LoadFullCredentials() (*auth.Credentials, error) + type APIKeyResponse struct + APIKey string + Error string + OrgID string + Success bool + type AffectedLookup struct + ID string + Params V2QueryParams + type AffectedResult struct + Data map[string]interface{} + Err error + type AiFirewallBaselineGuardrail struct + Action string + Description string + Enabled bool + ID string + Name string + Pattern string + Priority int + RuleType string + Severity string + Tags []string + type AiFirewallGateway struct + BaseURL string + WireAPIs map[string][]string + type AiFirewallGuardrail struct + Action string + Enabled bool + Name string + Pattern string + Priority int + RuleType string + UUID string + type AiFirewallInventoryEntry struct + ClientName string + ClientVersion string + Detail string + FirstSeenAt int64 + Identity string + Kind string + LastSeenAt int64 + Observations int64 + ProviderSlug string + Source string + Wire string + type AiFirewallModelPolicy struct + Action string + IsActive bool + ModelUUID string + Name string + ProviderSlug string + ProviderUUID string + Slug string + type AiFirewallProviderState struct + BaseURL string + GlobalEnabled bool + HasKey bool + KeyUpdatedAt int64 + ModelCount int + Name string + OrgAction string + Slug string + UUID string + type AttackTechniquesSearchParams struct + CapecID string + CveIDs []string + DerivedBy string + Domain string + Limit int + Offset int + Q string + Since string + Sources []string + Subtechnique string + Tactics []string + TechniqueIDs []string + Until string + type CVEInfo struct + Data interface{} + type CliAIBOMRequest struct + BomJSON string + CatalogVersion string + Detections json.RawMessage + SpecVersion string + type CliAIBOMResponse struct + Aibom *CliIngestionSnapshot + type CliAPIError struct + Message string + RetryAfter time.Duration + StatusCode int + func (e *CliAPIError) Error() string + type CliAiFirewallBaseline struct + Guardrails []AiFirewallBaselineGuardrail + Ref string + Version string + type CliAiFirewallBaselineRequest struct + Ref string + type CliAiFirewallGuardrailRequest struct + Action *string + Delete bool + Enabled *bool + Name *string + Pattern *string + Priority *int + RuleType *string + UUID string + type CliAiFirewallInventory struct + Cleared bool + Counts map[string]int + Entries []AiFirewallInventoryEntry + Removed int64 + Truncated bool + type CliAiFirewallInventoryRequest struct + Clear bool + Client string + Kind string + Limit int + Search string + type CliAiFirewallKeyRequest struct + APIKey string + Delete bool + Provider string + type CliAiFirewallModelRequest struct + Action string + AnyProvider bool + Provider string + Slug string + type CliAiFirewallProviderRequest struct + Action string + Slug string + type CliAiFirewallSettingsRequest struct + LogsEnabled *bool + type CliAiFirewallState struct + Gateway *AiFirewallGateway + Guardrails []AiFirewallGuardrail + LogsEnabled bool + ModelPolicies []AiFirewallModelPolicy + Providers []AiFirewallProviderState + type CliApiSpec struct + Content string + Discovered bool + Path string + type CliApiSpecsRequest struct + CommitSha string + InsightsRunUuid string + RepoName string + Specs []CliApiSpec + type CliApiSpecsResponse struct + Accepted int + Rejected int + SpecUuids []string + type CliBinaryAnalyzeEntry struct + Capabilities []string + ELFArch string + ELFOSABI string + ELFType string + Exif map[string]any + Hashes CliBinaryHashes + Hashlookup *CliHashlookupResult + MalwareBazaar *CliMalwareBazaarResult + Path string + Size int64 + Strings []string + Weaknesses []string + type CliBinaryAnalyzeRequest struct + Binaries []CliBinaryAnalyzeEntry + Path string + ScannerRunUUID string + SnapshotUuid string + type CliBinaryAnalyzeResponse struct + BinariesStored int + CveMatches int + FindingsCreated int + IngestionSnapshot *CliIngestionSnapshot + MalwareHits int + type CliBinaryHashes struct + MD5 string + MD5Raw string + SHA1 string + SHA1Raw string + SHA256 string + SHA256Raw string + SSDEEP string + TLSH string + type CliCBOMRequest struct + BomJSON string + CatalogVersion string + Detections json.RawMessage + SpecVersion string + type CliCBOMResponse struct + Cbom *CliIngestionSnapshot + type CliCIContext struct + APIURL string + Actor string + BaseRef string + DefaultBranch string + EventName string + HeadRef string + JobName string + LicenseSpdxID string + OwnerType string + Provider string + PullRequestNumber int + Ref string + RefName string + RefType string + Repository string + RepositoryID int64 + RepositoryOwner string + RunAttempt int + RunID int64 + RunNumber int + RunURL string + RunnerArch string + RunnerName string + RunnerOS string + SHA string + ServerURL string + TriggeringActor string + Visibility string + WorkflowName string + WorkflowRef string + WorkflowSHA string + Workspace string + type CliContainerSourceFile struct + Path string + Stages []CliContainerSourceStage + type CliContainerSourceInstall struct + Line int + Manager string + Packages []CliContainerSourcePackage + type CliContainerSourcePackage struct + Name string + Spec string + type CliContainerSourceStage struct + FromStage string + Index int + Installs []CliContainerSourceInstall + IsFinal bool + Line int + Name string + Platform string + RawRef string + ResolvedRef string + UnresolvedArgs bool + type CliContainerSourcesRequest struct + CommitSha string + Files []CliContainerSourceFile + RepoFullName string + type CliContainerSourcesResponse struct + Installs int + LinkedImages int + Persisted bool + RepoFullName string + Stages int + type CliControlFlag struct + Flag string + Value string + type CliCweGuidanceRequest struct + CweIDs []string + type CliDeploymentContext struct + Cluster string + Environment string + Namespace string + Project string + Tags map[string]string + type CliEnv struct + Arch string + BuildDate string + CI *CliCIContext + Capabilities []CliPMCapability + CliVersion string + Commit string + Deployment *CliDeploymentContext + Git *CliGitContext + Hostname string + Identity *CliIdentity + Licenses []CliLicenseHit + Manifests []CliManifestMetadata + MemoryPath string + OS string + PackageManagers []CliPackageMgr + Platform string + Shell string + TestConfigs []CliTestConfigMetadata + ToolMetadata *CliSBOMToolMetadata + func SnapshotEnv(cwd, cliVersion, cliCommit, cliBuildDate string) CliEnv + type CliFinalizeRequest struct + BreakBuild bool + ControlFlags []CliControlFlag + ExitCode int + Gates []CliGateResult + IngestionSnapshotUuid string + LocalSuppressions []CliLocalSuppression + type CliFinalizeResponse struct + Deferred bool + Persisted bool + type CliFindingResult struct + FindingID string + FindingUuid string + IntroducedVia []CliIntroducedViaPath + PackageName string + PackageVersion string + Purl string + type CliGHAStatusRequest struct + RunAttempt int + RunID int64 + SnapshotUuid string + type CliGHAStatusResponse struct + Message string + RunID int64 + Runs []CliGHAStatusRun + Tools int + Total int + type CliGHAStatusRun struct + AnalysisKey string + Category string + CreatedAt int64 + Critical int + FindingsCreated int + High int + Informational int + IngestedTotal int + Low int + Medium int + RepoName string + RunAttempt int + ScannerRunUuid string + SnapshotURL string + SnapshotUuid string + ToolName string + ToolVersion string + Vendor string + type CliGateResult struct + Count int + Gate string + Message string + type CliGitContext struct + Author string + Branch string + Commit string + Dirty bool + Remotes []string + RepoRoot string + type CliGitHubActionRef struct + Action string + Ref string + type CliGitHubAdvisoriesResponse struct + Advisories map[string][]CliGitHubAdvisory + Incomplete bool + type CliGitHubAdvisory struct + ID string + Range string + type CliHashlookupResult struct + FileName string + FileSize string + MD5 string + PackageName string + PackageVersion string + SHA1 string + SHA256 string + SSDEEP string + TLSH string + type CliIDsRequest struct + IDs []string + type CliIdentity struct + CIActor string + CIProvider string + CIRepository string + CIRunID string + CISha string + CITriggeringActor string + GitConfigEmail string + GitConfigName string + HeadAuthorEmail string + HeadAuthorName string + Hostname string + OSUser string + type CliImagePackage struct + Ecosystem string + LayerDigest string + LayerIndex *int + Name string + Purl string + Version string + type CliImageRequest struct + DefaultUser string + DiffIDs []string + Digest string + HasShell *bool + Labels map[string]string + Libc string + ManifestListDigest string + NonRoot *bool + OS string + OSRelease string + Packages []CliImagePackage + PkgManager string + Platform string + PurlDistro string + Ref string + Registry string + Repository string + RuntimeName string + RuntimeVersion string + Source *CliImageSourceRef + Tag string + type CliImageResponse struct + BaseMatchedLayers int + BaseRef string + BaseResolution string + ContainerUuid string + PackagesStored int + Persisted bool + WorkloadsLinked int + type CliImageSourceRef struct + FilePath string + RepoFullName string + type CliIngestionSnapshot struct + CreatedAt int64 + ScannerRunUuid string + URL string + Uuid string + type CliInsightsClassif struct + Label string + Thresholds string + type CliInsightsCollector struct + DurationSeconds float64 + Name string + Reason string + Status string + type CliInsightsCrossRepoEdge struct + Confidence *float64 + ID string + JoinKey string + JoinKind string + LocalNodeID string + Properties json.RawMessage + Role string + TargetRepoHint string + type CliInsightsDiag struct + Caveat bool + Collector string + Level string + Message string + MetricID string + type CliInsightsEdge struct + Confidence *float64 + From string + ID string + Kind string + Properties json.RawMessage + Resolution string + To string + type CliInsightsEvidenceIn struct + Records []json.RawMessage + type CliInsightsEvidenceRef struct + BomRef string + Check string + DetailIndex *int + Kind string + RecordID string + ResultIndex *int + RunIndex *int + SpdxID string + StatementIndex *int + type CliInsightsGraph struct + CrossRepoEdges []CliInsightsCrossRepoEdge + Edges []CliInsightsEdge + Nodes []CliInsightsNode + Truncation *CliInsightsGraphTruncation + type CliInsightsGraphTruncation struct + EdgesOmitted int + FilesSkipped int + NodesOmitted int + Reason string + type CliInsightsMetric struct + Classification *CliInsightsClassif + Definition string + EvidenceCompleteness string + EvidenceRefs []CliInsightsEvidenceRef + EvidenceSemantics string + Family string + ID string + Name string + OmittedCount int + PopulationSize *int + References []CliInsightsReference + Statistic string + TruncationReason string + Unit string + Value any + Window *CliInsightsMetricWindow + type CliInsightsMetricWindow struct + Label string + Since int64 + Until int64 + type CliInsightsNode struct + EndLine int + Exported bool + ID string + Kind string + Language string + Name string + Path string + Properties json.RawMessage + Purl string + QualifiedName string + StartLine int + type CliInsightsReference struct + Title string + URL string + type CliInsightsRequest struct + Diagnostics []CliInsightsDiag + Evidence *CliInsightsEvidenceIn + Graph *CliInsightsGraph + InsightsRunUuid string + Metrics []CliInsightsMetric + ReportJSON string + Run *CliInsightsRunMeta + SchemaVersion string + Target *CliInsightsTarget + Tool *CliInsightsTool + type CliInsightsResponse struct + Deferred bool + Insights *CliInsightsSnapshot + Skipped string + type CliInsightsRunMeta struct + Collectors []CliInsightsCollector + CompletedAt int64 + DurationSeconds float64 + HistoryWindow *CliInsightsWindow + StartedAt int64 + type CliInsightsSnapshot struct + CreatedAt int64 + CrossRepoEdgesStored int + EdgesStored int + EvidenceStored int + MetricsStored int + NodesStored int + URL string + Uuid string + type CliInsightsTarget struct + DefaultBranch string + HeadCommit string + HeadCommittedAt int64 + OrgKey string + RemoteURL string + RepoID string + type CliInsightsTool struct + CatalogVersion string + Name string + Version string + type CliInsightsWindow struct + CommitLimit int + CommitsWalked int + Since int64 + Until int64 + type CliIntroducedViaPath struct + DependencyKeys []string + DependencyPath string + ManifestFile string + PackageManager string + PathIndex int + PathLength int + type CliJailCategoryFreshness struct + AgeDays int + Category string + CommitSha string + LatestAt int64 + Stale bool + Tools []CliJailToolCover + WindowDays int + type CliJailExemptRequest struct + Deactivate string + DeactivateReason string + ExpiresAt int64 + Reason string + Repo string + RuleUuid string + type CliJailExemptResponse struct + Action string + Exemption *CliJailExemptionApplied + Warnings []string + type CliJailExemptionApplied struct + ApprovedBy string + DaysLeft int + ExpiresAt int64 + Reason string + RuleUuid string + Uuid string + type CliJailFreshness struct + Categories []CliJailCategoryFreshness + CommitDrift bool + DriftFrom string + DriftTo string + Missing []string + Stale []string + WorstAgeDays int + type CliJailPolicyRef struct + DefaultStalenessDays int + EnforcementMode string + Name string + OnStale string + RuleCount int + Source string + Uuid string + type CliJailRequest struct + Branch string + IncludeSarif bool + IncludeVex bool + KnownSnapshotUuids []string + MaxLookbackDays int + Mode string + OnStale string + Repo string + RuleUuids []string + StalenessDays int + type CliJailResponse struct + EvaluatedAt int64 + Exemptions []CliJailExemptionApplied + ExitCode int + Freshness CliJailFreshness + Policy *CliJailPolicyRef + Rules []CliJailRuleVerdict + Sarif *CliJailSarifPayload + Scope CliJailScope + Summary CliJailSummary + Verdict string + Vex *CliJailVexPayload + Warnings []string + type CliJailRuleVerdict struct + Aggregate string + Baseline *float64 + Categories []string + DaysRemaining int + Deadline int64 + ExemptionUuid string + Items []string + Kind string + Label string + Observed float64 + OnBreach string + Operator string + OrderIndex int + Ratcheted bool + Reason string + RuleUuid string + Stale bool + State string + ThresholdHigh *float64 + ThresholdLow float64 + type CliJailSarifPayload struct + Results []CliJailSarifResult + Rules []CliJailSarifRule + type CliJailSarifResult struct + ArtifactURI string + Level string + Message string + RuleID string + Severity string + StartLine int + type CliJailSarifRule struct + Description string + HelpURI string + ID string + Level string + Name string + Severity string + Tags []string + type CliJailScope struct + Branch string + BranchSource string + Commit string + Repo string + RepoSource string + type CliJailSummary struct + Breaches int + Exempted int + Indeterminate int + RulesEvaluated int + Skipped int + Warnings int + type CliJailToolCover struct + AgeDays int + LatestAt int64 + SnapshotUuid string + ToolName string + ToolVersion string + Total int + type CliJailVexPayload struct + Author string + DocumentID string + Statements []CliJailVexStatement + type CliJailVexStatement struct + ActionStatement string + Ecosystem string + FixedVersion string + InstalledVersion string + Justification string + Package string + RuleUuid string + Severity string + Status string + VulnID string + type CliLicenseHit struct + Acknowledge string + Name string + SPDXID string + Source string + Text string + URL string + type CliLicensesData struct + Licenses map[string]string + type CliLicensesRequest struct + Keys []string + type CliLocalSuppression struct + Category string + FilePath string + FindingID string + Line int + Purl string + Reason string + RuleID string + RuleUUID string + Source string + Type string + type CliMalscanIOC struct + Ecosystem string + FilePath string + References []string + RuleID string + SampleBase64 string + SampleName string + SampleSHA256 string + Severity string + Type string + Value string + type CliMalscanRequest struct + Findings []CliSARIFFinding + IOCs []CliMalscanIOC + IngestionSnapshotUuid string + SARIF map[string]any + type CliMalscanResponse struct + Findings []CliFindingResult + IngestionSnapshot *CliIngestionSnapshot + Stats CliSARIFStats + type CliMalwareBazaarResult struct + FileName string + Malicious bool + type CliManifestMetadata struct + Content string + ContentType string + Ecosystem string + IsLock bool + License string + Path string + Provider string + Registry string + SHA256 string + Size int + type CliOrgVexReply struct + OrgStatementsByVuln map[string][]CliOrgVexStatement + type CliOrgVexRequest struct + Closing bool + IDs []string + Repository string + type CliOrgVexStatement struct + ActionStatement string + DocumentID string + ImpactStatement string + Justification string + Products []string + RepositoryFullName string + Status string + SuppressionUUID string + Timestamp int64 + Tooling string + type CliPMCapability struct + Authoritative bool + Binary string + BinaryPath string + CapabilityName string + Confidence float64 + Detected bool + Ecosystem string + Evidence string + FilePath string + Supported bool + Version string + VersionCommand string + type CliPackageChecksum struct + Alg string + Value string + type CliPackageEntry struct + Checksums []CliPackageChecksum + Ecosystem string + InstalledPath string + IntroducedVia [][]string + License string + ManifestFile string + Name string + Purl string + Scope string + SourceType string + Version string + type CliPackageFirewallConfigRequest struct + BlockActive *bool + BlockBadActors *bool + BlockEol *bool + BlockKev *bool + BlockMalware *bool + BlockPoc *bool + BlockWeaponized *bool + CessThreshold *float64 + CooldownDays *int + CvssThreshold *float64 + EpssThreshold *float64 + VersionLag *int + type CliPackageFirewallMirrorRequest struct + Ecosystem string + IsActive *bool + Priority *int + URL string + type CliPackageInsight struct + EOLFrom string + Ecosystem string + IsEOL bool + IsMalicious bool + LatestVersions []CliVersionStamp + MalwareSource string + Name string + PublishSource string + PublishedAt *int64 + Purl string + SafeHarbour *CliSafeHarbourSummary + SafeVersions []CliSafeHarbourVersion + TransitiveFix *CliTransitiveFix + Version string + type CliPackageInsightLite struct + Ecosystem string + IsEOL bool + IsMalicious bool + LatestVersions []CliVersionStampLite + Name string + PublishedAt *int64 + Purl string + SafeHarbour *CliSafeHarbourLite + Version string + type CliPackageInsightsRequest struct + Options CliSCAOptionsLite + Purls []string + type CliPackageInsightsResponse struct + InsightsByPurl map[string]CliPackageInsightLite + Unparseable []string + type CliPackageMgr struct + Ecosystem string + IsLock bool + Manifest string + type CliPurlsRequest struct + Purls []string + type CliQualityGateConfigRequest struct + BlockEol *bool + BlockMalware *bool + BlockUnpinned *bool + Clear []string + Cooldown *int + EolNextQuarterSeverity *string + EolRetiredSeverity *string + EolThisQuarterSeverity *string + EolWithin30DaysSeverity *string + Exploits *string + ScaAutofixMaxMajorBump *int + ScaAutofixStrategy *string + Severity *string + VersionLag *int + type CliReachabilityHit struct + Captures []map[string]any + DerivedBy string + Description string + Language string + Name string + Predicates []map[string]any + Purl string + QueryHash string + QueryText string + Source string + VulnID string + type CliReachabilityPayload struct + CveID string + Ecosystem string + EvidenceJSON string + FindingUuid string + FixedVersion string + Language string + MatchEndLine int + MatchStartLine int + MatchedFile string + MatchedModule string + MatchedRoutine string + MemoryVexAction string + MemoryVexJustification string + MemoryVexStatus string + PackageName string + PackageVersion string + Purl string + QueryHash string + Severity string + Source string + TreeSitterQueryUuid string + Verdict string + type CliReachabilityRequest struct + IDs []string + Languages []string + type CliRemediationRequest struct + Context map[string]string + IDs []string + type CliResponse struct + Data T + Meta CliResponseMeta + type CliResponseMeta struct + EndpointVersion string + RequestID string + Tier string + TierGated map[string]bool + Timestamp int64 + type CliSARIFFinding struct + IsTestSuite bool + MemoryVexAction string + MemoryVexJustification string + MemoryVexStatus string + TestConfidence string + TestEvidence []string + TestFramework string + TestLanguage string + TestMatchedPattern string + type CliSARIFRequest struct + Attribution *CliToolAttribution + Findings []CliSARIFFinding + IngestionSnapshotUuid string + SARIF map[string]any + Suppressions []CliSuppressionMint + type CliSARIFResponse struct + AlreadyIngested bool + Findings []CliFindingResult + IngestionSnapshot *CliIngestionSnapshot + Stats CliSARIFStats + Suppressions []CliSuppressionResult + type CliSARIFStats struct + BySeverity map[string]int + Findings int + Rules int + type CliSBOMToolMetadata struct + ToolHash string + ToolName string + ToolVendor string + ToolVersion string + type CliSCAOptions struct + IncludeCooldown bool + IncludeEOL bool + IncludeMalware bool + IncludeReachability *bool + IncludeSafeVersions bool + IncludeVEX *bool + IncludeVersionLag bool + type CliSCAOptionsLite struct + IncludeCooldown bool + IncludeEOL bool + IncludeMalware bool + IncludeVersionLag bool + type CliSCAReachabilityRequest struct + IngestionSnapshotUuid string + Results []CliReachabilityPayload + type CliSCAReachabilityResponse struct + Deferred bool + OpenVexUuid string + Persisted int + SBOMUrl string + VEXUrl string + type CliSCARequest struct + Attribution *CliToolAttribution + IngestionSnapshotUuid string + Options CliSCAOptions + Packages []CliPackageEntry + Purls []string + type CliSCAResponse struct + CycloneDX map[string]any + Findings []CliFindingResult + IngestionSnapshot *CliIngestionSnapshot + PackageInsights []CliPackageInsight + Reachability []CliReachabilityHit + Stats CliSCAStats + type CliSCAStats struct + PurlsRequested int + PurlsResolved int + ReachabilityQueries int + VulnerabilitiesFound int + type CliSafeHarbourLite struct + Recommendation *CliSafeHarbourRecommendation + type CliSafeHarbourPicks struct + Latest string + Orderable bool + Reasons map[string]string + Rolling []string + RollingDate string + RollingTarget string + Safest string + Scheme string + Stable string + type CliSafeHarbourRecommendation struct + Reason string + Version string + type CliSafeHarbourSummary struct + HighestScore float64 + Picks *CliSafeHarbourPicks + Recommendation *CliSafeHarbourRecommendation + RecommendedVersions []string + type CliSafeHarbourVersion struct + CveIds []string + ExploitCount int + IsMalware bool + PublishedAt *int64 + SafeHarbourScore float64 + Version string + VulnerabilityCount int + type CliScanRequest struct + ContainerImages []string + IaCFrameworks []string + Languages []string + type CliSuppression struct + BranchName string + Category string + CreatedAt int64 + ExpiresAt int64 + FilePath string + FindingUUID string + IgnoreDays int + IsActive bool + Justification string + LineNumber int + LineRange string + ProductPurl string + ProductPurlBase string + Reason string + RepositoryFullName string + RuleID string + Source string + SourceDocumentID string + SourceKind string + SourceRef string + SourceType string + StatementTimestamp int64 + Status string + SuppressionType string + TargetValue string + UUID string + VexSourceUUID string + VulnerabilityID string + type CliSuppressionMint struct + Active bool + BranchName string + Category string + CodeSnippet string + DeactivatedReason string + FilePath string + Fingerprint string + LineNumber int + LineRange string + Origin string + Reason string + RuleID string + SuppressionType string + UUID string + type CliSuppressionResult struct + Action string + Fingerprint string + UUID string + type CliSuppressionSetRequest struct + Action string + BranchName string + Category string + DeactivatedReason string + FilePath string + IgnoreDays int + LineNumber int + LineRange string + Reason string + RepositoryFullName string + RuleID string + SuppressionType string + TargetValue string + UUID string + type CliSuppressionsGetRequest struct + ActiveOnly bool + BranchName string + Category string + RepositoryFullName string + TargetValue string + type CliSuppressionsListData struct + Suppressions []CliSuppression + VexTruncated bool + type CliSurfaceObservation struct + At int64 + AuthChallenge string + Host string + LatencyMs int + Method string + ObservedBy string + Path string + PathTemplate string + Port int + ProbeMethod string + Status *int + type CliSurfaceObservationsRequest struct + Observations []CliSurfaceObservation + type CliSurfaceTarget struct + ElementKey string + Host string + Kind string + Method string + PathTemplate string + type CliSurfaceTargetsResponse struct + Targets []CliSurfaceTarget + type CliTestConfigMetadata struct + ContentType string + Framework string + Language string + Path string + SHA256 string + Size int64 + type CliToolAttribution struct + AnalysisKey string + ArtifactName string + FileName string + Format string + InformationURI string + Source string + ToolName string + ToolVersion string + Vendor string + type CliTransitiveFix struct + ChildName string + ChildTarget string + Ecosystem string + Method string + ParentName string + ParentTarget string + Reason string + type CliTriageRequest struct + InKev *bool + Limit int + MinCvss float64 + MinEpss float64 + Offset int + Severity []string + Since string + type CliVersionStamp struct + PublishedAt *int64 + Version string + type CliVersionStampLite struct + PublishedAt *int64 + Version string + type CliVexDocument struct + Content string + Format string + Path string + Sha256 string + type CliVexIngestRequest struct + Documents []CliVexDocument + GitCommit string + IngestionSnapshotUuid string + Origin string + RepositoryFullName string + ScannerRunUuid string + type CliVexIngestResponse struct + Documents []CliVexIngestResult + type CliVexIngestResult struct + Applied int + ArtifactUuid string + Created []string + Error string + Format string + Grounded bool + Linked []string + OpenVexUuid string + Path string + Pending []string + Statements int + Superseded []string + Triaged int + type CliVulnRequest struct + Identifier string + type Client struct + APIKey string + APIVersion string + AuthMethod auth.AuthMethod + BaseURL string + Cache *cache.DiskCache + FallbackCreds *auth.Credentials + HTTPClient *http.Client + LastCacheStatus string + LastRateLimit *RateLimitInfo + NoCache bool + OrgID string + RefreshCache bool + SecretKey string + Token string + UsingFallback bool + func NewClient(orgID, secretKey string) *Client + func NewClientFromCredentials(creds *auth.Credentials) *Client + func (c *Client) CliAI(env CliEnv, payload any) (*CliResponse[map[string]any], error) + func (c *Client) CliAIBOM(env CliEnv, req CliAIBOMRequest) (*CliResponse[CliAIBOMResponse], error) + func (c *Client) CliAdvisories(env CliEnv, ids []string) (*CliResponse[map[string]any], error) + func (c *Client) CliAffected(env CliEnv, ids []string) (*CliResponse[map[string]any], error) + func (c *Client) CliAiFirewallBaseline(env CliEnv, req CliAiFirewallBaselineRequest) (*CliResponse[CliAiFirewallBaseline], error) + func (c *Client) CliAiFirewallGet(env CliEnv) (*CliResponse[map[string]any], error) + func (c *Client) CliAiFirewallGuardrail(env CliEnv, req CliAiFirewallGuardrailRequest) (*CliResponse[map[string]any], error) + func (c *Client) CliAiFirewallInventory(env CliEnv, req CliAiFirewallInventoryRequest) (*CliResponse[CliAiFirewallInventory], error) + func (c *Client) CliAiFirewallKey(env CliEnv, req CliAiFirewallKeyRequest) (*CliResponse[map[string]any], error) + func (c *Client) CliAiFirewallModel(env CliEnv, req CliAiFirewallModelRequest) (*CliResponse[map[string]any], error) + func (c *Client) CliAiFirewallProvider(env CliEnv, req CliAiFirewallProviderRequest) (*CliResponse[map[string]any], error) + func (c *Client) CliAiFirewallSettings(env CliEnv, req CliAiFirewallSettingsRequest) (*CliResponse[map[string]any], error) + func (c *Client) CliAiFirewallState(env CliEnv) (*CliResponse[CliAiFirewallState], error) + func (c *Client) CliApiSpecs(ctx context.Context, env CliEnv, req CliApiSpecsRequest) (*CliResponse[CliApiSpecsResponse], error) + func (c *Client) CliAttackTechniques(env CliEnv, ids []string) (*CliResponse[map[string]any], error) + func (c *Client) CliBinaryAnalyze(env CliEnv, req CliBinaryAnalyzeRequest) (*CliResponse[CliBinaryAnalyzeResponse], error) + func (c *Client) CliCBOM(env CliEnv, req CliCBOMRequest) (*CliResponse[CliCBOMResponse], error) + func (c *Client) CliContainerSources(env CliEnv, req CliContainerSourcesRequest) (*CliResponse[CliContainerSourcesResponse], error) + func (c *Client) CliContainers(env CliEnv, req CliSARIFRequest) (*CliResponse[CliSARIFResponse], error) + func (c *Client) CliCweGuidance(env CliEnv, cweIDs []string) (*CliResponse[map[string]any], error) + func (c *Client) CliExploits(env CliEnv, ids []string) (*CliResponse[map[string]any], error) + func (c *Client) CliFinalize(env CliEnv, req CliFinalizeRequest) (*CliResponse[CliFinalizeResponse], error) + func (c *Client) CliFinalizeDeferred(env CliEnv, req CliFinalizeRequest) (*CliResponse[CliFinalizeResponse], error) + func (c *Client) CliFixes(env CliEnv, ids []string) (*CliResponse[map[string]any], error) + func (c *Client) CliGHAStatus(ctx context.Context, env CliEnv, req CliGHAStatusRequest) (*CliResponse[CliGHAStatusResponse], error) + func (c *Client) CliGitHub(ctx context.Context, env CliEnv, req CliSARIFRequest) (*CliResponse[CliSARIFResponse], error) + func (c *Client) CliGitHubAdvisories(ctx context.Context, env CliEnv, refs []CliGitHubActionRef) (*CliResponse[CliGitHubAdvisoriesResponse], error) + func (c *Client) CliIAC(env CliEnv, req CliSARIFRequest) (*CliResponse[CliSARIFResponse], error) + func (c *Client) CliIOCs(env CliEnv, ids []string) (*CliResponse[map[string]any], error) + func (c *Client) CliImage(env CliEnv, req CliImageRequest) (*CliResponse[CliImageResponse], error) + func (c *Client) CliInsights(env CliEnv, req CliInsightsRequest) (*CliResponse[CliInsightsResponse], error) + func (c *Client) CliInsightsDeferred(env CliEnv, req CliInsightsRequest) (*CliResponse[CliInsightsResponse], error) + func (c *Client) CliJail(ctx context.Context, env CliEnv, req CliJailRequest) (*CliResponse[CliJailResponse], error) + func (c *Client) CliJailExempt(ctx context.Context, env CliEnv, req CliJailExemptRequest) (*CliResponse[CliJailExemptResponse], error) + func (c *Client) CliKev(env CliEnv, ids []string) (*CliResponse[map[string]any], error) + func (c *Client) CliLicense(env CliEnv, req CliSARIFRequest) (*CliResponse[CliSARIFResponse], error) + func (c *Client) CliLicenses(ctx context.Context, env CliEnv, req CliLicensesRequest) (*CliResponse[CliLicensesData], error) + func (c *Client) CliMSRC(env CliEnv, ids []string) (*CliResponse[map[string]any], error) + func (c *Client) CliMalscan(env CliEnv, req CliMalscanRequest) (*CliResponse[CliMalscanResponse], error) + func (c *Client) CliMalwareCurationGet(env CliEnv) (*CliResponse[map[string]any], error) + func (c *Client) CliNuclei(env CliEnv, ids []string) (*CliResponse[map[string]any], error) + func (c *Client) CliOrgVex(env CliEnv, req CliOrgVexRequest) (*CliResponse[CliOrgVexReply], error) + func (c *Client) CliPackageFirewallConfig(env CliEnv, req CliPackageFirewallConfigRequest) (*CliResponse[map[string]any], error) + func (c *Client) CliPackageFirewallGet(env CliEnv) (*CliResponse[map[string]any], error) + func (c *Client) CliPackageFirewallMirror(env CliEnv, req CliPackageFirewallMirrorRequest) (*CliResponse[map[string]any], error) + func (c *Client) CliPackageInsights(env CliEnv, req CliPackageInsightsRequest) (*CliResponse[CliPackageInsightsResponse], error) + func (c *Client) CliQualityGateConfig(env CliEnv, req CliQualityGateConfigRequest) (*CliResponse[map[string]any], error) + func (c *Client) CliQualityGateGet(env CliEnv) (*CliResponse[map[string]any], error) + func (c *Client) CliReachability(env CliEnv, req CliReachabilityRequest) (*CliResponse[map[string]any], error) + func (c *Client) CliRemediation(env CliEnv, req CliRemediationRequest) (*CliResponse[map[string]any], error) + func (c *Client) CliSAST(env CliEnv, req CliSARIFRequest) (*CliResponse[CliSARIFResponse], error) + func (c *Client) CliSCA(env CliEnv, req CliSCARequest) (*CliResponse[CliSCAResponse], error) + func (c *Client) CliSCAReachability(env CliEnv, req CliSCAReachabilityRequest) (*CliResponse[CliSCAReachabilityResponse], error) + func (c *Client) CliSCAReachabilityDeferred(env CliEnv, req CliSCAReachabilityRequest) (*CliResponse[CliSCAReachabilityResponse], error) + func (c *Client) CliSCAWithContext(ctx context.Context, env CliEnv, req CliSCARequest) (*CliResponse[CliSCAResponse], error) + func (c *Client) CliScan(env CliEnv, req CliScanRequest) (*CliResponse[CliSCAResponse], error) + func (c *Client) CliScorecard(env CliEnv, purls []string) (*CliResponse[map[string]any], error) + func (c *Client) CliSecrets(env CliEnv, req CliSARIFRequest) (*CliResponse[CliSARIFResponse], error) + func (c *Client) CliSightings(env CliEnv, ids []string) (*CliResponse[map[string]any], error) + func (c *Client) CliSnortRules(env CliEnv, ids []string) (*CliResponse[map[string]any], error) + func (c *Client) CliSuppressionsGet(env CliEnv, req CliSuppressionsGetRequest) (*CliResponse[CliSuppressionsListData], error) + func (c *Client) CliSuppressionsSet(env CliEnv, req CliSuppressionSetRequest) (*CliResponse[map[string]any], error) + func (c *Client) CliSurfaceObservations(ctx context.Context, env CliEnv, req CliSurfaceObservationsRequest) (*CliResponse[map[string]any], error) + func (c *Client) CliSurfaceTargets(ctx context.Context, env CliEnv, repo string) (*CliResponse[CliSurfaceTargetsResponse], error) + func (c *Client) CliThirdPartySARIF(ctx context.Context, env CliEnv, category sarif.Category, req CliSARIFRequest) (*CliResponse[CliSARIFResponse], error) + func (c *Client) CliTrends(env CliEnv, payload any) (*CliResponse[map[string]any], error) + func (c *Client) CliTriage(env CliEnv, req CliTriageRequest) (*CliResponse[map[string]any], error) + func (c *Client) CliVex(env CliEnv, ids []string) (*CliResponse[map[string]any], error) + func (c *Client) CliVexIngest(ctx context.Context, env CliEnv, req CliVexIngestRequest) (*CliResponse[CliVexIngestResponse], error) + func (c *Client) CliVuln(env CliEnv, identifier string) (*CliResponse[map[string]any], error) + func (c *Client) CliWorkarounds(env CliEnv, ids []string) (*CliResponse[map[string]any], error) + func (c *Client) CliYaraRules(env CliEnv, ids []string) (*CliResponse[map[string]any], error) + func (c *Client) CritLookup(provider, service, resourceType string) (*CritLookupResponse, error) + func (c *Client) DoRequest(method, path string, body interface{}) ([]byte, error) + func (c *Client) DoRequestCached(method, path string, body interface{}, ttl time.Duration) ([]byte, error) + func (c *Client) DoRequestGzip(method, path string, body interface{}) ([]byte, error) + func (c *Client) EOLPackageVersion(ecosystem, packageName, version string) (*EOLReleaseResponse, error) + func (c *Client) EOLProduct(product string) (*EOLProductResponse, error) + func (c *Client) EOLRelease(product, release string) (*EOLReleaseResponse, error) + func (c *Client) GetCVE(cveID string) (*CVEInfo, error) + func (c *Client) GetCVEFixes(identifier string) (map[string]interface{}, error) + func (c *Client) GetCVETimeline(identifier string, params TimelineParams) (map[string]interface{}, error) + func (c *Client) GetCVEsByDateRange(start, end string) (map[string]interface{}, error) + func (c *Client) GetDerivedAPIKey() (*APIKeyResponse, error) + func (c *Client) GetEcosystemGroupPackage(ecosystem, group, artifact string) (map[string]interface{}, error) + func (c *Client) GetEcosystemPackage(ecosystem, pkg string) (map[string]interface{}, error) + func (c *Client) GetEcosystemPackageVersions(ecosystem, pkg string) (map[string]interface{}, error) + func (c *Client) GetEcosystems() ([]Ecosystem, error) + func (c *Client) GetExploitSources() (map[string]interface{}, error) + func (c *Client) GetExploitTypes() (map[string]interface{}, error) + func (c *Client) GetExploits(identifier string, limit, offset int) (map[string]interface{}, error) + func (c *Client) GetFixDistributions() (map[string]interface{}, error) + func (c *Client) GetGCVEIssuances(year, month, limit, offset int) (*GCVEIssuancesResponse, error) + func (c *Client) GetHealth() (map[string]interface{}, error) + func (c *Client) GetIdentifiersByMonth(year, month, limit, offset int) (*IdentifiersMonthResponse, error) + func (c *Client) GetMetricTypes() (map[string]interface{}, error) + func (c *Client) GetOpenAPISpec() (map[string]interface{}, error) + func (c *Client) GetPackageVersions(packageName string) (map[string]interface{}, error) + func (c *Client) GetPackageVulnerabilities(packageName string, limit, offset int) (*VulnerabilitiesResponse, error) + func (c *Client) GetProductVersion(productName, version string) (map[string]interface{}, error) + func (c *Client) GetProductVersionEcosystem(productName, version, ecosystem string) (map[string]interface{}, error) + func (c *Client) GetProductVersions(productName string, limit, offset int) (*ProductVersionsResponse, error) + func (c *Client) GetSources() (map[string]interface{}, error) + func (c *Client) GetSummary() (map[string]interface{}, error) + func (c *Client) GetToken() (string, error) + func (c *Client) GetTrafficFilters(identifier string, limit, offset int) (map[string]interface{}, error) + func (c *Client) SearchExploits(params ExploitSearchParams) (map[string]interface{}, error) + func (c *Client) SearchIdentifiers(prefix string, limit, offset int) (*IdentifiersSearchResponse, error) + func (c *Client) SearchPackages(query, ecosystem string, limit, offset int) (map[string]interface{}, error) + func (c *Client) V2Advisories(id string) (map[string]interface{}, error) + func (c *Client) V2Affected(id string, p V2QueryParams) (map[string]interface{}, error) + func (c *Client) V2AffectedBatch(ctx context.Context, env CliEnv, lookups []AffectedLookup) []AffectedResult + func (c *Client) V2AffectedCached(id string, p V2QueryParams) (map[string]interface{}, error) + func (c *Client) V2AttackTechniques(id string) (map[string]interface{}, error) + func (c *Client) V2AttackTechniquesSearch(p AttackTechniquesSearchParams) (map[string]interface{}, error) + func (c *Client) V2CloudLocators(vendor, product string) (map[string]interface{}, error) + func (c *Client) V2CountermeasureSearch(p DefenceSearchParams) (map[string]interface{}, error) + func (c *Client) V2Countermeasures(id string) (map[string]interface{}, error) + func (c *Client) V2CweGuidance(id string) (map[string]interface{}, error) + func (c *Client) V2DefenceArchive(lane, uuid string) ([]byte, error) + func (c *Client) V2DefenceCounts(items []DefenceCountsItem) (*DefenceCountsResponse, error) + func (c *Client) V2DefenceSearch(lane string, p DefenceSearchParams) (map[string]interface{}, error) + func (c *Client) V2DistributionPatches(id string, p V2QueryParams) (map[string]interface{}, error) + func (c *Client) V2ExploitPoC(exploitUUID string) (body []byte, filename, sha256, originalURL string, err error) + func (c *Client) V2IOCsSearch(p IOCSearchParams) ([]byte, string, error) + func (c *Client) V2Kev(id string) (map[string]interface{}, error) + func (c *Client) V2KevSearch(p KevSearchParams) (map[string]interface{}, error) + func (c *Client) V2RawArchive(source, cveID string) (body []byte, contentType, sha256, r2Path string, err error) + func (c *Client) V2RawSources() (map[string]interface{}, error) + func (c *Client) V2RegistryFixes(id string, p V2QueryParams) (map[string]interface{}, error) + func (c *Client) V2RemediationPlan(id string, p V2RemediationParams) (map[string]interface{}, error) + func (c *Client) V2ResolveInputs(in Inputs) (*ResolvedInputs, error) + func (c *Client) V2Scorecard(id string) (map[string]interface{}, error) + func (c *Client) V2ScorecardSearch(query string) (map[string]interface{}, error) + func (c *Client) V2SnortRules(id string) (map[string]interface{}, error) + func (c *Client) V2SnortRulesSearch(p SnortSearchParams) (map[string]interface{}, error) + func (c *Client) V2SourceFixes(id string, p ...V2QueryParams) (map[string]interface{}, error) + func (c *Client) V2Timeline(id string, p V2TimelineParams) (map[string]interface{}, error) + func (c *Client) V2TreeSitterQueries(id string, p V2TreeSitterParams) (*TreeSitterResponse, error) + func (c *Client) V2Triage(p TriageParams) (map[string]interface{}, error) + func (c *Client) V2VexSearch(p VexSearchParams) (map[string]interface{}, error) + func (c *Client) V2VirtualPatchSearch(p DefenceSearchParams) (map[string]interface{}, error) + func (c *Client) V2VirtualPatches(id string) (map[string]interface{}, error) + func (c *Client) V2VulnDefences(lane, identifier string) (map[string]interface{}, error) + func (c *Client) V2VulnExploits(id string) (map[string]interface{}, error) + func (c *Client) V2VulnIOCs(id string) (map[string]interface{}, error) + func (c *Client) V2VulnNuclei(id string) (map[string]interface{}, error) + func (c *Client) V2VulnNucleiYAML(id string, first bool) ([]byte, error) + func (c *Client) V2VulnSightings(id string) (map[string]interface{}, error) + func (c *Client) V2VulnVex(id string) (map[string]interface{}, error) + func (c *Client) V2Workarounds(id string) (map[string]interface{}, error) + func (c *Client) V2YaraRules(id string) (map[string]interface{}, error) + func (c *Client) V2YaraRulesSearch(p YaraSearchParams) (map[string]interface{}, error) + func (c *Client) VerifyAuth() error + func (c *Client) VulnetixKevGet(cveID string) (map[string]any, error) + func (c *Client) VulnetixKevList(p VulnetixKevParams) ([]byte, error) + type CritLookupExploits struct + Count int + Sources []string + type CritLookupKev struct + DateAdded string + DueDate string + KnownRansomwareCampaignUse string + RequiredAction string + type CritLookupMatch struct + Aliases []string + Crit CritRecord + ExploitSummary *CritLookupExploits + Kev *CritLookupKev + SnortRules []CritLookupSnortRule + VulnID string + type CritLookupResponse struct + Count int + Matches []CritLookupMatch + type CritLookupSnortRule struct + Msg string + RawText string + SignatureSeverity string + SnortID string + type CritRecord struct + Provider string + ResourceType string + Service string + SharedResponsibility string + VectorString string + VexStatus string + VulnID string + type DefenceBrief struct + Confidence string + ConsoleURL string + DeployMode string + FalsePositiveRisk string + Kind string + MatchedCve string + Title string + UUID string + type DefenceCountsItem struct + Key string + type DefenceCountsResponse struct + Entitlements json.RawMessage + Items []DefenceCountsResult + SchemaVersion string + Tier string + func (r *DefenceCountsResponse) Gated() bool + type DefenceCountsResult struct + Countermeasures *DefenceLaneCounts + Error *DefenceItemError + Key string + Resolved *ResolvedInputs + VirtualPatches *DefenceLaneCounts + type DefenceItemError struct + Field string + Message string + Status int + func (e *DefenceItemError) Error() string + type DefenceLaneCounts struct + ByKind map[string]int + Defences []DefenceBrief + HasMore bool + Total int + type DefenceSearchParams struct + Confidence string + CveIDs []string + DeployMode string + ExploitSource string + Inputs Inputs + Kinds []string + Limit int + Offset int + Q string + type EOLLatest struct + Date *string + Link *string + Name *string + type EOLProductDetail struct + Aliases []string + Category string + Label string + Name string + Releases []EOLReleaseDetail + Tags []string + VersionCommand *string + type EOLProductResponse struct + Product EOLProductDetail + Timestamp int64 + type EOLReleaseDetail struct + Codename *string + DiscontinuedFrom *string + EoasFrom *string + EoesFrom *string + EolFrom *string + IsDiscontinued *bool + IsEoas bool + IsEoes *bool + IsEol bool + IsLts bool + IsMaintained bool + Label string + Latest *EOLLatest + LtsFrom *string + Name string + ReleaseDate *string + func (r EOLReleaseDetail) LatestDate() *string + func (r EOLReleaseDetail) LatestVersion() *string + type EOLReleaseResponse struct + ProductName string + Release EOLReleaseDetail + Timestamp int64 + type Ecosystem struct + Count int + Name string + type EcosystemsResponse struct + Ecosystems []Ecosystem + Timestamp int64 + type ErrorResponse struct + Details string + Error string + Success bool + type ExploitSearchParams struct + Ecosystem string + InKev string + Limit int + MinEpss string + Offset int + Query string + Severity string + Sort string + Source string + type GCVEIssuanceIdentifier struct + CveID string + DatePublished int64 + GcveID string + type GCVEIssuancesResponse struct + HasMore bool + Identifiers []GCVEIssuanceIdentifier + Limit int + Month int + Offset int + Timestamp int64 + Total int + Year int + type IOCSearchParams struct + ASNs []int + Behavior string + Countries []string + CveIDs []string + Format string + Limit int + Offset int + Reputation string + Since string + type IdentifiersMonthResponse struct + HasMore bool + Identifiers []string + Limit int + Month int + Offset int + Timestamp int64 + Total int + Year int + type IdentifiersSearchResponse struct + HasMore bool + Identifiers []string + Limit int + Offset int + Prefix string + Timestamp int64 + Total int + type Inputs struct + CEL string + CPE string + Ecosystem string + PURL string + Package string + Product string + SWID string + TEI string + Vendor string + Version string + VulnIDs []string + func (in Inputs) Empty() bool + func (in Inputs) Encode(q url.Values) + func (in Inputs) Kinds() []string + func (in Inputs) Label() string + func (in Inputs) NeedsBody() bool + type KevSearchParams struct + CveIDs []string + DueAfter string + DueBefore string + Limit int + Offset int + Product string + Reason string + Since string + Sort string + Sources []string + Until string + Vendor string + type NotFoundError struct + Message string + func (e *NotFoundError) Error() string + type PlanLockedError struct + Addon string + Feature string + RequiredPlan string + func (e *PlanLockedError) Error() string + type ProductVersionsResponse struct + HasMore bool + Limit int + Offset int + PackageName string + Timestamp int64 + Total int + Versions []VersionRecord + type RateLimitInfo struct + DayLimit int + Plan string + Present bool + Remaining int + Reset int + SoftLimits bool + type ResolvedInputs struct + AnyEcosystem bool + Kinds []string + Packages []struct{ ... } + Products []struct{ ... } + Truncated bool + Versionless bool + VulnIDs []string + type SnortSearchParams struct + Action string + AffectedProducts []string + Classtype string + CveIDs []string + Disabled string + DstPort string + Limit int + Offset int + Protocol string + Q string + Severity string + Since string + Sort string + Sources []string + SrcPort string + Tactics []string + Tags []string + Techniques []string + Until string + type TimelineParams struct + Dates string + Exclude string + Include string + ScoresLimit int + type TokenCache struct + ExpiresAt time.Time + Token string + type TokenResponse struct + Exp int64 + Iss string + Sub string + Token string + type TreeSitterCapture struct + Kind string + Name string + type TreeSitterFilters struct + Ecosystem string + Language string + VulnID string + type TreeSitterPredicate struct + Args []string + Kind string + Name string + Negated bool + type TreeSitterQuery struct + Captures []TreeSitterCapture + CreatedAt int64 + DerivedBy string + Description string + Directives []TreeSitterPredicate + Ecosystems []string + Language string + Name string + Predicates []TreeSitterPredicate + QueryHash string + QueryText string + Source string + VulnID string + type TreeSitterResponse struct + Filters TreeSitterFilters + Identifier string + Queries []TreeSitterQuery + type TriageParams struct + CWEs []string + InKev string + KevSources []string + Limit int + MinCess *float64 + MinCvss *float64 + MinEpss *float64 + MinEpssPercentile *float64 + Offset int + Product string + Severity string + Since string + Sort string + Vendor string + WindowDays int + type V2QueryParams struct + Distro string + Ecosystem string + Limit int + Offset int + PackageName string + Product string + Purl string + Vendor string + type V2RemediationParams struct + ContainerImage string + CurrentVersion string + IncludeGuidance bool + IncludeVerificationSteps bool + OS string + PackageManager string + Registry string + type V2TimelineParams struct + Dates string + Exclude string + Include string + ScoresLimit int + type V2TreeSitterParams struct + Ecosystem string + Language string + type VersionRecord struct + CVEIDs []string + Ecosystem string + Sources []VersionSource + Version string + type VersionSource struct + Metadata map[string]interface{} + SourceID string + SourceTable string + func (s *VersionSource) UnmarshalJSON(data []byte) error + type VexSearchParams struct + CveIDs []string + Limit int + Offset int + Since string + Status string + Supplier string + type VulnerabilitiesResponse struct + HasMore bool + Limit int + Offset int + PackageName string + RawData interface{} + Timestamp int64 + Total int + TotalCVEs int + Versions []VersionRecord + Vulnerabilities []VersionRecord + type VulnetixKevParams struct + FilterMode string + Format string + Include []string + IncludeReferences bool + Limit int + Offset int + Reasons []string + type YaraSearchParams struct + Author string + CveIDs []string + Imports []string + Limit int + MatchMeta string + MatchString string + Offset int + Q string + RuleName string + Since string + Sort string + Sources []string + Tags []string + Until string