MCPcopy Create free account

hub / github.com/microsoft/agent-governance-toolkit / functions

Functions32,326 in github.com/microsoft/agent-governance-toolkit

FunctionTestCredentialInjectToolArgs_Nested
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:154
FunctionTestCredentialList_NoValueLeak
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:58
FunctionTestCredentialMissing_And_OutOfScope_IdenticalDeny
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:212
FunctionTestCredentialPayloadWithoutPlaceholders
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:282
FunctionTestCredentialPersistence_RequiresCorrectKeyLength
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:409
FunctionTestCredentialPolicy_RunsBeforeVaultRead
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:236
FunctionTestCredentialPut_RejectsBadNames
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:49
FunctionTestCredentialPut_ReturnsHandle
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:35
FunctionTestCredentialRotate_PreservesHandle_BumpsVersion
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:74
FunctionTestCredentialRotate_Unknown_Errors
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:96
FunctionTestCredentialRotation_DoesNotRequirePromptChanges
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:334
FunctionTestCredentialSameDenyAcrossSurfaces
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:262
FunctionTestCredentialUnauthorizedPlaceholder_DeniesWholeCall
(t *testing.T)
agent-governance-golang/packages/agentmesh/credential_vault_test.go:195
FunctionTestCrossIdentityVerificationFails
(t *testing.T)
agent-governance-golang/packages/agentmesh/identity_test.go:155
FunctionTestCustomTrustConfigValues
(t *testing.T)
agent-governance-golang/packages/agentmesh/trust_test.go:204
FunctionTestDIDFormat
(t *testing.T)
agent-governance-golang/packages/agentmesh/identity_test.go:387
FunctionTestDecayReducesScore
(t *testing.T)
agent-governance-golang/packages/agentmesh/trust_test.go:52
FunctionTestDecayWithZeroRate
(t *testing.T)
agent-governance-golang/packages/agentmesh/trust_test.go:403
FunctionTestDecommissionFromActive
(t *testing.T)
agent-governance-golang/packages/agentmesh/lifecycle_test.go:53
FunctionTestDecommissionedIsTerminal
(t *testing.T)
agent-governance-golang/packages/agentmesh/lifecycle_test.go:93
FunctionTestDefaultDenyNoPermissions
(t *testing.T)
agent-governance-golang/packages/agentmesh/rings_test.go:61
FunctionTestDefaultDenyUnassigned
(t *testing.T)
agent-governance-golang/packages/agentmesh/rings_test.go:52
FunctionTestDefaultRegistry_HasSQLAndK8s
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:72
FunctionTestDefaultSandboxConfig
(t *testing.T)
agent-governance-golang/packages/agentmesh/sandbox_test.go:15
FunctionTestDegradedTransitions
(t *testing.T)
agent-governance-golang/packages/agentmesh/lifecycle_test.go:160
FunctionTestDenyOverrides
(t *testing.T)
agent-governance-golang/packages/agentmesh/conflict_test.go:8
FunctionTestDenyOverridesAllAllow
(t *testing.T)
agent-governance-golang/packages/agentmesh/conflict_test.go:19
FunctionTestDetectHiddenInstructionHomoglyph
(t *testing.T)
agent-governance-golang/packages/agentmesh/mcp_test.go:93
FunctionTestDetectHiddenInstructionZeroWidth
(t *testing.T)
agent-governance-golang/packages/agentmesh/mcp_test.go:73
FunctionTestDetectRugPull
(t *testing.T)
agent-governance-golang/packages/agentmesh/mcp_test.go:114
FunctionTestDetectToolPoisoning
(t *testing.T)
agent-governance-golang/packages/agentmesh/mcp_test.go:27
FunctionTestDetectTyposquatting
(t *testing.T)
agent-governance-golang/packages/agentmesh/mcp_test.go:50
FunctionTestDimensionsMapAlwaysPopulated
(t *testing.T)
agent-governance-golang/packages/agentmesh/trust_test.go:416
FunctionTestDockerSandboxProviderNew
(t *testing.T)
agent-governance-golang/packages/agentmesh/sandbox_test.go:41
FunctionTestEmptyCapabilities
(t *testing.T)
agent-governance-golang/packages/agentmesh/identity_test.go:334
FunctionTestEmptyPolicyAllowsNothing
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:573
FunctionTestEndToEndGovernance
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:68
FunctionTestEvaluateConditions
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:43
FunctionTestEvaluateConditionsMatchContext
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:343
FunctionTestEvaluateConditionsWithBoolAndFloat
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:375
FunctionTestEvaluateDefaultDeny
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:36
FunctionTestEvaluateExactMatch
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:9
FunctionTestEvaluateExactMatchDoesNotMatchPrefix
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:327
FunctionTestEvaluateFirstMatchWins
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:56
FunctionTestEvaluateGlobalWildcard
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:27
FunctionTestEvaluateGlobalWildcardMatchesEverything
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:315
FunctionTestEvaluateMultipleRulesFirstMatchWinsAllowBeforeDeny
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:246
FunctionTestEvaluateMultipleRulesFirstMatchWinsDenyBeforeAllow
--- New comprehensive tests ---
agent-governance-golang/packages/agentmesh/policy_test.go:235
FunctionTestEvaluateMultipleRulesFirstMatchWinsReview
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:256
FunctionTestEvaluateWildcard
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:18
FunctionTestEvaluateWildcardDotStar
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:266
FunctionTestEvaluateWildcardShellStar
(t *testing.T)
agent-governance-golang/packages/agentmesh/policy_test.go:299
FunctionTestEventsRecorded
(t *testing.T)
agent-governance-golang/packages/agentmesh/lifecycle_test.go:115
FunctionTestExampleYAML_LoadsCleanly
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:603
FunctionTestExecuteWithGovernanceAllow
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:30
FunctionTestExecuteWithGovernanceDefaultDeny
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:263
FunctionTestExecuteWithGovernanceDeniedActionDecrasesTrust
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:224
FunctionTestExecuteWithGovernanceDeny
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:52
FunctionTestExecuteWithGovernanceNilFieldsReturnsError
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:381
FunctionTestExecuteWithGovernanceReviewNotAllowed
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:244
FunctionTestExportJSON
(t *testing.T)
agent-governance-golang/packages/agentmesh/audit_test.go:71
FunctionTestExtractWith_CustomRegistry
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:422
FunctionTestExtract_FlattensK8sAtTopLevel
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:409
FunctionTestExtract_FlattensSQLAtTopLevel
── extract_protocol_facets default flow ─────────────────────────────────────
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:399
FunctionTestFacetRegistry_CustomExtractor_FlattensAndMerges
── FacetRegistry ────────────────────────────────────────────────────────────
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:14
FunctionTestFacetRegistry_IsolatesPanickingExtractor
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:55
FunctionTestFacetRegistry_SkipsMissingOrWrongType
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:38
FunctionTestFromJSONEmptyJSON
(t *testing.T)
agent-governance-golang/packages/agentmesh/identity_test.go:225
FunctionTestFromJSONInvalidJSON
(t *testing.T)
agent-governance-golang/packages/agentmesh/identity_test.go:218
FunctionTestFullLifecycle
(t *testing.T)
agent-governance-golang/packages/agentmesh/lifecycle_test.go:65
FunctionTestGenerateIdentitiesWithDifferentAgentIDs
(t *testing.T)
agent-governance-golang/packages/agentmesh/identity_test.go:89
FunctionTestGenerateIdentity
(t *testing.T)
agent-governance-golang/packages/agentmesh/identity_test.go:8
FunctionTestGenerateMultipleIdentitiesUniqueDIDs
--- New comprehensive tests ---
agent-governance-golang/packages/agentmesh/identity_test.go:72
FunctionTestGetEntriesReturnsClones
(t *testing.T)
agent-governance-golang/packages/agentmesh/audit_test.go:473
FunctionTestGetRingUnassigned
(t *testing.T)
agent-governance-golang/packages/agentmesh/rings_test.go:21
FunctionTestGetTrustScoreDefault
(t *testing.T)
agent-governance-golang/packages/agentmesh/trust_test.go:10
FunctionTestGetTrustScoreForUnknownAgent
(t *testing.T)
agent-governance-golang/packages/agentmesh/trust_test.go:290
FunctionTestGovernOperationDenied
(t *testing.T)
agent-governance-golang/packages/agentmesh/middleware_test.go:613
FunctionTestGovernOperationKillSwitchDenied
(t *testing.T)
agent-governance-golang/packages/agentmesh/middleware_test.go:627
FunctionTestGovernanceAuditChainIntegrityAfterMixedActions
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:354
FunctionTestGovernanceMiddlewareStackAllowsOperation
(t *testing.T)
agent-governance-golang/packages/agentmesh/middleware_test.go:17
FunctionTestGovernanceMiddlewareStackKillSwitchDenies
(t *testing.T)
agent-governance-golang/packages/agentmesh/middleware_test.go:97
FunctionTestGovernanceMiddlewareStackPromptDefenseDenies
(t *testing.T)
agent-governance-golang/packages/agentmesh/middleware_test.go:66
FunctionTestGovernanceResultFieldsPopulated
(t *testing.T)
agent-governance-golang/packages/agentmesh/client_test.go:303
FunctionTestInvalidTransition
(t *testing.T)
agent-governance-golang/packages/agentmesh/lifecycle_test.go:84
FunctionTestJSONRoundTrip
(t *testing.T)
agent-governance-golang/packages/agentmesh/identity_test.go:51
FunctionTestK8s_ApisGroup
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:317
FunctionTestK8s_ClusterList
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:275
FunctionTestK8s_ClusterSubresource_Status
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:360
FunctionTestK8s_DeleteCollectionVsNamed
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:308
FunctionTestK8s_EmptyPath
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:268
FunctionTestK8s_FragmentStripped
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:391
FunctionTestK8s_MissingMethod_NoVerb
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:330
FunctionTestK8s_NamespacedCollectionAndNamed
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:282
FunctionTestK8s_ProxyTail
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:349
FunctionTestK8s_QueryStringStripped
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:367
FunctionTestK8s_ResourceNamedWatchDoesNotFalseTrigger
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:384
FunctionTestK8s_Subresources
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:293
FunctionTestK8s_TrailingSlash
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:324
FunctionTestK8s_WatchPaths
(t *testing.T)
agent-governance-golang/packages/agentmesh/protocol_facets_test.go:337
← previousnext →11,001–11,100 of 32,326, ranked by callers