MCPcopy
hub / github.com/github/github-mcp-server / LabelSecurityAlert

Function LabelSecurityAlert

pkg/ifc/ifc.go:252–254  ·  view source on GitHub ↗

LabelSecurityAlert returns the IFC label for security findings: code scanning alerts, secret scanning alerts, and Dependabot alerts. Integrity is untrusted because alert payloads embed attacker-influenceable material — the offending code snippet, the matched secret string, or a vulnerable dependenc

()

Source from the content-addressed store, hash-verified

250// can read them), so the reader set is narrow even for public repositories.
251// Secret scanning results additionally surface the secret material itself.
252func LabelSecurityAlert() SecurityLabel {
253 return PrivateUntrusted()
254}
255
256// LabelGlobalSecurityAdvisory returns the IFC label for advisories served from
257// the public GitHub Advisory Database (global advisories).

Callers 7

GetSecretScanningAlertFunction · 0.92
ListSecretScanningAlertsFunction · 0.92
GetDependabotAlertFunction · 0.92
ListDependabotAlertsFunction · 0.92
GetCodeScanningAlertFunction · 0.92
ListCodeScanningAlertsFunction · 0.92
TestLabelSecurityAlertFunction · 0.85

Calls 1

PrivateUntrustedFunction · 0.85

Tested by 1

TestLabelSecurityAlertFunction · 0.68