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

Function PrivateTrusted

pkg/ifc/ifc.go:45–50  ·  view source on GitHub ↗

PrivateTrusted returns a label for trusted data restricted to the readers of the originating repository. The reader set is opaque on the wire (a single "private" marker); the client engine resolves the concrete readers from the GitHub API on demand at egress decision time.

()

Source from the content-addressed store, hash-verified

43// single "private" marker); the client engine resolves the concrete readers
44// from the GitHub API on demand at egress decision time.
45func PrivateTrusted() SecurityLabel {
46 return SecurityLabel{
47 Integrity: IntegrityTrusted,
48 Confidentiality: ConfidentialityPrivate,
49 }
50}
51
52// PrivateUntrusted returns a label for untrusted data restricted to the
53// readers of the originating repository. See PrivateTrusted for the reader

Callers 12

LabelGetMeFunction · 0.85
LabelListIssuesFunction · 0.85
LabelRepoUserContentFunction · 0.85
LabelGetFileContentsFunction · 0.85
LabelSearchIssuesFunction · 0.85
LabelRepoMetadataFunction · 0.85
LabelReleaseFunction · 0.85
LabelCollaboratorRosterFunction · 0.85
LabelCommitContentsFunction · 0.85
LabelProjectFunction · 0.85
LabelProjectListFunction · 0.85
LabelTeamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected