Trend of historical alerts (Beta)

Trend analytics of historical alerts.

This endpoint consumes 10 units of your quota.

This endpoint requires the following org token scopes:

  • historical:alerts-trend
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The slug of the organization

Query Params
string
Defaults to CURRENT_DATE

The UTC date in YYYY-MM-DD format for which to fetch alerts

string
Defaults to -7d

The number of days of data to fetch as an offset from input date

string

Comma-separated list of fields that should be used for count aggregation (allowed: alertSeverity,repoSlug,repoFullName,branch,repoLabels,alertType,artifactType,alertAction,alertActionSourceType,alertFixType,alertCategory,alertCveId,alertCveTitle,alertCweId,alertCweName,alertReachabilityType,cvePatchStatus,alertReachabilityAnalysisType,alertPriority,alertKEV,alertEPSS,dependencyDirect,dependencyDev,dependencyDead)

string

Comma-separated list of alert actions ("error", "warn", "monitor", or "ignore) that should be included

string

Comma-separated list of alert actions ("error", "warn", "monitor", or "ignore) that should be excluded

string

Comma-separated list of alert action source types ("fallback", "injected-alert", "org-policy", "reachability", "repo-label-policy", "socket-yml", or "triage") that should be included

string

Comma-separated list of alert action source types ("fallback", "injected-alert", "org-policy", "reachability", "repo-label-policy", "socket-yml", or "triage") that should be excluded

string

Comma-separated list of alert categories ("supplyChainRisk", "maintenance", "quality", "license", or "vulnerability") that should be included

string

Comma-separated list of alert categories ("supplyChainRisk", "maintenance", "quality", "license", or "vulnerability") that should be excluded

string

CVE ID

string

CVE ID

string

CVE title

string

CVE title

string

CWE ID

string

CWE ID

string

CWE name

string

CWE name

string

Alert EPSS ("low", "medium", "high", "critical")

string

Alert EPSS ("low", "medium", "high", "critical")

string

Comma-separated list of alert fix types ("upgrade", "cve", or "remove") that should be included

string

Comma-separated list of alert fix types ("upgrade", "cve", or "remove") that should be excluded

boolean
Defaults to false

Alert KEV (Known Exploited Vulnerability) filter flag

boolean
Defaults to false

Alert KEV (Known Exploited Vulnerability) filter flag

string

Alert priority ("low", "medium", "high", or "critical")

string

Alert priority ("low", "medium", "high", or "critical")

string

Comma-separated list of alert CVE reachability analysis types ("full-scan" or "precomputed") that should be included

string

Comma-separated list of alert CVE reachability analysis types ("full-scan" or "precomputed") that should be excluded

string

Comma-separated list of alert CVE reachability types ("direct_dependency", "error", "maybe_reachable", "missing_support", "pending", "reachable", "undeterminable_reachability", "unknown", or "unreachable") that should be included

string

Comma-separated list of alert CVE reachability types ("direct_dependency", "error", "maybe_reachable", "missing_support", "pending", "reachable", "undeterminable_reachability", "unknown", or "unreachable") that should be excluded

string

Comma-separated list of alert severities ("low", "medium", "high", or "critical") that should be included

string

Comma-separated list of alert severities ("low", "medium", "high", or "critical") that should be excluded

string

Comma-separated list of alert types (e.g. "usesEval", "unmaintained", etc.) that should be included

string

Comma-separated list of alert types (e.g. "usesEval", "unmaintained", etc.) that should be excluded

string

Name of artifact

string

Name of artifact

string

Comma-separated list of artifact types (e.g. "npm", "pypi", "gem", "maven", "golang", etc.) that should be included

string

Comma-separated list of artifact types (e.g. "npm", "pypi", "gem", "maven", "golang", etc.) that should be excluded

string

Comma-separated list of branch names that should be included

string

Comma-separated list of branch names that should be excluded

string

Comma-separated list of patch statuses ("patch_unavailable", "patch_available", or "patch_applied") that should be included

string

Comma-separated list of patch statuses ("patch_unavailable", "patch_available", or "patch_applied") that should be excluded

boolean
Defaults to false

Dead/reachable dependency filter flag

boolean
Defaults to false

Dead/reachable dependency filter flag

boolean
Defaults to false

Development/production dependency filter flag

boolean
Defaults to false

Development/production dependency filter flag

boolean
Defaults to false

Direct/transitive dependency filter flag

boolean
Defaults to false

Direct/transitive dependency filter flag

string

Comma-separated list of repo full names that should be included

string

Comma-separated list of repo full names that should be excluded

string

Comma-separated list of repo labels that should be included. Use "" to filter for repositories with no labels.

string

Comma-separated list of repo labels that should be excluded. Use "" to filter for repositories with no labels.

string

Comma-separated list of repo slugs that should be included

string

Comma-separated list of repo slugs that should be excluded

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json