MCPcopy Index your code
hub / github.com/github/github-mcp-server / TestLabelSecurityAlert

Function TestLabelSecurityAlert

pkg/ifc/ifc_test.go:199–205  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

197}
198
199func TestLabelSecurityAlert(t *testing.T) {
200 t.Parallel()
201 label := LabelSecurityAlert()
202 assert.Equal(t, IntegrityUntrusted, label.Integrity)
203 assert.Equal(t, ConfidentialityPrivate, label.Confidentiality,
204 "security alerts are access-restricted regardless of repo visibility")
205}
206
207func TestLabelGlobalSecurityAdvisory(t *testing.T) {
208 t.Parallel()

Callers

nothing calls this directly

Calls 1

LabelSecurityAlertFunction · 0.85

Tested by

no test coverage detected