Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/agent-governance-toolkit
/ functions
Functions
32,326 in github.com/microsoft/agent-governance-toolkit
⨍
Functions
32,326
◇
Types & classes
6,875
↳
Endpoints
332
Function
TestCredentialInjectToolArgs_Nested
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:154
Function
TestCredentialList_NoValueLeak
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:58
Function
TestCredentialMissing_And_OutOfScope_IdenticalDeny
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:212
Function
TestCredentialPayloadWithoutPlaceholders
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:282
Function
TestCredentialPersistence_RequiresCorrectKeyLength
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:409
Function
TestCredentialPolicy_RunsBeforeVaultRead
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:236
Function
TestCredentialPut_RejectsBadNames
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:49
Function
TestCredentialPut_ReturnsHandle
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:35
Function
TestCredentialRotate_PreservesHandle_BumpsVersion
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:74
Function
TestCredentialRotate_Unknown_Errors
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:96
Function
TestCredentialRotation_DoesNotRequirePromptChanges
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:334
Function
TestCredentialSameDenyAcrossSurfaces
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:262
Function
TestCredentialUnauthorizedPlaceholder_DeniesWholeCall
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:195
Function
TestCrossIdentityVerificationFails
(t *testing.T)
agent-governance-golang/packages/agentmesh/identity_test.go:155
Function
TestCustomTrustConfigValues
(t *testing.T)
agent-governance-golang/packages/agentmesh/trust_test.go:204
Function
TestDIDFormat
(t *testing.T)
agent-governance-golang/packages/agentmesh/identity_test.go:387
Function
TestDecayReducesScore
(t *testing.T)
agent-governance-golang/packages/agentmesh/trust_test.go:52
Function
TestDecayWithZeroRate
(t *testing.T)
agent-governance-golang/packages/agentmesh/trust_test.go:403
Function
TestDecommissionFromActive
(t *testing.T)
agent-governance-golang/packages/agentmesh/lifecycle_test.go:53
Function
TestDecommissionedIsTerminal
(t *testing.T)
agent-governance-golang/packages/agentmesh/lifecycle_test.go:93
Function
TestDefaultDenyNoPermissions
(t *testing.T)
agent-governance-golang/packages/agentmesh/rings_test.go:61
Function
TestDefaultDenyUnassigned
(t *testing.T)
agent-governance-golang/packages/agentmesh/rings_test.go:52
Function
TestDefaultRegistry_HasSQLAndK8s
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:72
Function
TestDefaultSandboxConfig
(t *testing.T)
agent-governance-golang/packages/agentmesh/sandbox_test.go:15
Function
TestDegradedTransitions
(t *testing.T)
agent-governance-golang/packages/agentmesh/lifecycle_test.go:160
Function
TestDenyOverrides
(t *testing.T)
agent-governance-golang/packages/agentmesh/conflict_test.go:8
Function
TestDenyOverridesAllAllow
(t *testing.T)
agent-governance-golang/packages/agentmesh/conflict_test.go:19
Function
TestDetectHiddenInstructionHomoglyph
(t *testing.T)
agent-governance-golang/packages/agentmesh/mcp_test.go:93
Function
TestDetectHiddenInstructionZeroWidth
(t *testing.T)
agent-governance-golang/packages/agentmesh/mcp_test.go:73
Function
TestDetectRugPull
(t *testing.T)
agent-governance-golang/packages/agentmesh/mcp_test.go:114
Function
TestDetectToolPoisoning
(t *testing.T)
agent-governance-golang/packages/agentmesh/mcp_test.go:27
Function
TestDetectTyposquatting
(t *testing.T)
agent-governance-golang/packages/agentmesh/mcp_test.go:50
Function
TestDimensionsMapAlwaysPopulated
(t *testing.T)
agent-governance-golang/packages/agentmesh/trust_test.go:416
Function
TestDockerSandboxProviderNew
(t *testing.T)
agent-governance-golang/packages/agentmesh/sandbox_test.go:41
Function
TestEmptyCapabilities
(t *testing.T)
agent-governance-golang/packages/agentmesh/identity_test.go:334
Function
TestEmptyPolicyAllowsNothing
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:573
Function
TestEndToEndGovernance
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:68
Function
TestEvaluateConditions
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:43
Function
TestEvaluateConditionsMatchContext
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:343
Function
TestEvaluateConditionsWithBoolAndFloat
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:375
Function
TestEvaluateDefaultDeny
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:36
Function
TestEvaluateExactMatch
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:9
Function
TestEvaluateExactMatchDoesNotMatchPrefix
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:327
Function
TestEvaluateFirstMatchWins
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:56
Function
TestEvaluateGlobalWildcard
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:27
Function
TestEvaluateGlobalWildcardMatchesEverything
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:315
Function
TestEvaluateMultipleRulesFirstMatchWinsAllowBeforeDeny
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:246
Function
TestEvaluateMultipleRulesFirstMatchWinsDenyBeforeAllow
--- New comprehensive tests ---
agent-governance-golang/packages/agentmesh/policy_test.go:235
Function
TestEvaluateMultipleRulesFirstMatchWinsReview
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:256
Function
TestEvaluateWildcard
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:18
Function
TestEvaluateWildcardDotStar
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:266
Function
TestEvaluateWildcardShellStar
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:299
Function
TestEventsRecorded
(t *testing.T)
agent-governance-golang/packages/agentmesh/lifecycle_test.go:115
Function
TestExampleYAML_LoadsCleanly
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:603
Function
TestExecuteWithGovernanceAllow
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:30
Function
TestExecuteWithGovernanceDefaultDeny
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:263
Function
TestExecuteWithGovernanceDeniedActionDecrasesTrust
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:224
Function
TestExecuteWithGovernanceDeny
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:52
Function
TestExecuteWithGovernanceNilFieldsReturnsError
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:381
Function
TestExecuteWithGovernanceReviewNotAllowed
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:244
Function
TestExportJSON
(t *testing.T)
agent-governance-golang/packages/agentmesh/audit_test.go:71
Function
TestExtractWith_CustomRegistry
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:422
Function
TestExtract_FlattensK8sAtTopLevel
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:409
Function
TestExtract_FlattensSQLAtTopLevel
── extract_protocol_facets default flow ─────────────────────────────────────
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:399
Function
TestFacetRegistry_CustomExtractor_FlattensAndMerges
── FacetRegistry ────────────────────────────────────────────────────────────
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:14
Function
TestFacetRegistry_IsolatesPanickingExtractor
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:55
Function
TestFacetRegistry_SkipsMissingOrWrongType
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:38
Function
TestFromJSONEmptyJSON
(t *testing.T)
agent-governance-golang/packages/agentmesh/identity_test.go:225
Function
TestFromJSONInvalidJSON
(t *testing.T)
agent-governance-golang/packages/agentmesh/identity_test.go:218
Function
TestFullLifecycle
(t *testing.T)
agent-governance-golang/packages/agentmesh/lifecycle_test.go:65
Function
TestGenerateIdentitiesWithDifferentAgentIDs
(t *testing.T)
agent-governance-golang/packages/agentmesh/identity_test.go:89
Function
TestGenerateIdentity
(t *testing.T)
agent-governance-golang/packages/agentmesh/identity_test.go:8
Function
TestGenerateMultipleIdentitiesUniqueDIDs
--- New comprehensive tests ---
agent-governance-golang/packages/agentmesh/identity_test.go:72
Function
TestGetEntriesReturnsClones
(t *testing.T)
agent-governance-golang/packages/agentmesh/audit_test.go:473
Function
TestGetRingUnassigned
(t *testing.T)
agent-governance-golang/packages/agentmesh/rings_test.go:21
Function
TestGetTrustScoreDefault
(t *testing.T)
agent-governance-golang/packages/agentmesh/trust_test.go:10
Function
TestGetTrustScoreForUnknownAgent
(t *testing.T)
agent-governance-golang/packages/agentmesh/trust_test.go:290
Function
TestGovernOperationDenied
(t *testing.T)
agent-governance-golang/packages/agentmesh/middleware_test.go:613
Function
TestGovernOperationKillSwitchDenied
(t *testing.T)
agent-governance-golang/packages/agentmesh/middleware_test.go:627
Function
TestGovernanceAuditChainIntegrityAfterMixedActions
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:354
Function
TestGovernanceMiddlewareStackAllowsOperation
(t *testing.T)
agent-governance-golang/packages/agentmesh/middleware_test.go:17
Function
TestGovernanceMiddlewareStackKillSwitchDenies
(t *testing.T)
agent-governance-golang/packages/agentmesh/middleware_test.go:97
Function
TestGovernanceMiddlewareStackPromptDefenseDenies
(t *testing.T)
agent-governance-golang/packages/agentmesh/middleware_test.go:66
Function
TestGovernanceResultFieldsPopulated
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:303
Function
TestInvalidTransition
(t *testing.T)
agent-governance-golang/packages/agentmesh/lifecycle_test.go:84
Function
TestJSONRoundTrip
(t *testing.T)
agent-governance-golang/packages/agentmesh/identity_test.go:51
Function
TestK8s_ApisGroup
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:317
Function
TestK8s_ClusterList
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:275
Function
TestK8s_ClusterSubresource_Status
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:360
Function
TestK8s_DeleteCollectionVsNamed
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:308
Function
TestK8s_EmptyPath
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:268
Function
TestK8s_FragmentStripped
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:391
Function
TestK8s_MissingMethod_NoVerb
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:330
Function
TestK8s_NamespacedCollectionAndNamed
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:282
Function
TestK8s_ProxyTail
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:349
Function
TestK8s_QueryStringStripped
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:367
Function
TestK8s_ResourceNamedWatchDoesNotFalseTrigger
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:384
Function
TestK8s_Subresources
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:293
Function
TestK8s_TrailingSlash
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:324
Function
TestK8s_WatchPaths
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:337
← previous
next →
11,001–11,100 of 32,326, ranked by callers