MCPcopy Create free account

hub / github.com/Azure/ARO-HCP / functions

Functions10,266 in github.com/Azure/ARO-HCP

FunctionTestSecurity_EmptyBinaryInArchive
============================================================================= 26. EMPTY BINARY IN ARCHIVE Test that an archive containing a zero-byte
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:1288
FunctionTestSecurity_EmptyChecksumFileRejectsDownload
(t *testing.T)
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:1638
FunctionTestSecurity_EnvVarCacheDirEmpty
(t *testing.T)
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:498
FunctionTestSecurity_EnvVarCacheDirTraversal
============================================================================= 7. ENV VAR INJECTION Test that HCPCTL_CACHE_DIR cannot be used for path
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:463
FunctionTestSecurity_EnvVarCacheDirWithSpaces
(t *testing.T)
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:486
FunctionTestSecurity_ExplicitPathToDevNull
============================================================================= 34. EXPLICIT PATH TO SPECIAL FILES Verify behavior with device files, FI
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:1667
FunctionTestSecurity_ExplicitPathToDirectory
(t *testing.T)
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:677
FunctionTestSecurity_ExplicitPathToNonexistent
(t *testing.T)
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:1682
FunctionTestSecurity_ExplicitPathToSymlink
============================================================================= 10. EXPLICIT PATH INJECTION Test that the explicit binary path flag cann
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:659
FunctionTestSecurity_FailedDownloadPreservesExistingBinary
============================================================================= 20. ALWAYS-DOWNLOAD: FAILED DOWNLOAD DESTROYS EXISTING GOOD BINARY If th
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:1064
FunctionTestSecurity_InvalidHashLengthRejectsDownload
============================================================================= 32. CHECKSUM BYPASS VIA INVALID HASH IN CHECKSUM FILE A checksum file wi
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:1555
FunctionTestSecurity_NonHexHashRejectsDownload
(t *testing.T)
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:1581
FunctionTestSecurity_NonWritableCacheDir
============================================================================= 17. WRITE TO NON-WRITABLE CACHE DIRECTORY Test behavior when cache direc
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:922
FunctionTestSecurity_OfflineFallbackServesPlantedBinary
============================================================================= 12. OFFLINE FALLBACK SAFETY Test that the offline fallback doesn't serve
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:735
FunctionTestSecurity_OversizedChecksumFileRejectsDownload
============================================================================= 31. CHECKSUM BYPASS VIA OVERSIZED CHECKSUM FILE An attacker serving a >1
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:1517
FunctionTestSecurity_OverwritePreservesPermissions
============================================================================= 9. CACHE OVERWRITE SAFETY Test that the always-download behavior safely
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:559
FunctionTestSecurity_OverwriteReadOnlyBinary
(t *testing.T)
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:606
FunctionTestSecurity_OverwriteWhileBinaryCouldBeRunning
============================================================================= 25. OVERWRITE RUNNING BINARY If the cached binary is currently being exe
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:1240
FunctionTestSecurity_PartialDownloadCleanup
============================================================================= 11. DOWNLOAD FAILURE CLEANUP Verify partial downloads are cleaned up and
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:694
FunctionTestSecurity_SourceReturnsEmptyArchive
============================================================================= 6. MALICIOUS SOURCE / MAN-IN-THE-MIDDLE Test behavior when the download
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:397
FunctionTestSecurity_SourceReturnsGarbageData
(t *testing.T)
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:422
FunctionTestSecurity_SourceReturnsHTMLInsteadOfBinary
(t *testing.T)
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:439
FunctionTestSecurity_SymlinkInCacheDir
============================================================================= 3. SYMLINK ATTACKS Test that a symlink in the cache directory cannot red
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:196
FunctionTestSecurity_SymlinkReplacementBetweenPathAndWrite
============================================================================= 22. SYMLINK REPLACEMENT ATTACK (TOCTOU) Between cachedBinaryPath() compu
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:1141
FunctionTestSecurity_TamperedBinaryWithChecksum
============================================================================= 5. CHECKSUM BYPASS ATTACKS Test that a tampered binary is rejected when
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:300
FunctionTestSecurity_TarSlipAttack
============================================================================= 2. TAR SLIP / ZIP SLIP ATTACKS Test that malicious archive entries with
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:91
FunctionTestSecurity_TarSlipMatchingBinaryName
(t *testing.T)
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:147
FunctionTestSecurity_TarWithDuplicateEntries
============================================================================= 16. TAR WITH MULTIPLE MATCHING ENTRIES Test that only the first matching
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:875
FunctionTestSecurity_TarWithSymlinkEntry
============================================================================= 30. TAR WITH SYMLINK ENTRY POINTING OUTSIDE A tar containing a symlink e
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:1479
FunctionTestSecurity_ValidateNameEdgeCases
============================================================================= 28. VALIDATE NAME EDGE CASES Test boundary cases in the name validation
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:1370
FunctionTestSecurity_VersionFileContentValidation
============================================================================= 39. VERSION FILE CONTENT VALIDATION Verify malicious .version file conte
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:1866
FunctionTestSecurity_VersionFileNotWrittenOnFailedDownload
============================================================================= 38. VERSION FILE NOT WRITTEN ON FAILED DOWNLOAD Verify .version file is
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:1827
FunctionTestSecurity_VersionMismatchDoesNotServeStale
============================================================================= 40. VERSION MISMATCH DOES NOT SERVE STALE BINARY When source is reachabl
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:1899
FunctionTestSecurity_VersionPathTraversal
============================================================================= 1. PATH TRAVERSAL ATTACKS Test that malicious version strings from a com
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:43
FunctionTestSecurity_VersionStringWithNullByte
(t *testing.T)
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:70
FunctionTestSecurity_VersionWithURLSpecialChars
============================================================================= 15. DOWNLOAD URL INJECTION Test that version strings containing URL-spec
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:845
FunctionTestSecurity_WriterExtractedBinaryRespectsMaxSize
============================================================================= 14. LARGE TAR ENTRY HEADERS (DECOMPRESSION BOMB) Test that a tar entry c
tooling/hcpctl/pkg/binresolver/resolver_security_test.go:818
FunctionTestSelectNodesBelongingToNodePool
(t *testing.T)
test/util/framework/nodes_helper_test.go:29
FunctionTestSelectVMSize
(t *testing.T)
test/util/framework/vm_sku_selection_test.go:96
FunctionTestSelectionReasonSourceDescription_WithAndWithoutRule
(t *testing.T)
tooling/cleanup-sweeper/pkg/policy/discovery_test.go:374
FunctionTestSelectsResourceGroup_IntendedLegacyPolicyBehavior
(t *testing.T)
tooling/cleanup-sweeper/pkg/policy/discovery_test.go:27
FunctionTestSelectsResourceGroup_PersistTrueDeleteAfter15d
(t *testing.T)
tooling/cleanup-sweeper/pkg/policy/discovery_test.go:248
FunctionTestSelectsResourceGroup_ReturnsStructuredRuleReason
(t *testing.T)
tooling/cleanup-sweeper/pkg/policy/discovery_test.go:211
FunctionTestSerialConsoleHandler
(t *testing.T)
admin/server/handlers/hcp/serialconsole_test.go:48
FunctionTestSerialConsoleHandler_InvalidResourceID
(t *testing.T)
admin/server/handlers/hcp/serialconsole_test.go:228
FunctionTestServiceLogs
(t *testing.T)
tooling/hcpctl/pkg/kusto/query_test.go:139
FunctionTestServiceLogs_NoClusterIds
(t *testing.T)
tooling/hcpctl/pkg/kusto/query_test.go:158
FunctionTestServiceProviderNodePoolLister
TestServiceProviderNodePoolLister verifies that after seeding a ServiceProviderNodePool in cosmos and starting the SPNP informer with a very short rel
test-integration/frontend/informer_test.go:682
FunctionTestSessionController_processSession_ensureNetworkPath
(t *testing.T)
sessiongate/pkg/controller/sessioncontroller_test.go:873
FunctionTestSessionController_processSession_finalize
(t *testing.T)
sessiongate/pkg/controller/sessioncontroller_test.go:1013
FunctionTestSessionController_processSession_generateCredentials
(t *testing.T)
sessiongate/pkg/controller/sessioncontroller_test.go:293
FunctionTestSessionController_processSession_handleExpiration
(t *testing.T)
sessiongate/pkg/controller/sessioncontroller_test.go:223
FunctionTestSetDefaultValuesNodePool
(t *testing.T)
internal/api/v20240610preview/nodepools_methods_test.go:81
FunctionTestSetDefaultValuesNodePool
(t *testing.T)
internal/api/v20260630preview/nodepools_methods_test.go:81
FunctionTestSetDefaultValuesNodePool
(t *testing.T)
internal/api/v20251223preview/nodepools_methods_test.go:81
FunctionTestSetDegraded
(t *testing.T)
kube-applier/pkg/controllers/conditions/conditions_test.go:105
FunctionTestSetEnvironmentVariable
(t *testing.T)
tooling/hcpctl/pkg/shell/shell_test.go:117
FunctionTestSetPartitionKeyLowercases
(t *testing.T)
internal/database/crud_helpers_test.go:94
FunctionTestSetRegistrationCondition
(t *testing.T)
fleet/pkg/controllers/base/registration_condition_test.go:29
FunctionTestSetSuccessfulWaitingForDeletion
(t *testing.T)
kube-applier/pkg/controllers/conditions/conditions_test.go:82
FunctionTestSetSuccessful_NilErrIsTrueWithNoErrors
(t *testing.T)
kube-applier/pkg/controllers/conditions/conditions_test.go:37
FunctionTestSetSuccessful_PreCheckErrorReason
(t *testing.T)
kube-applier/pkg/controllers/conditions/conditions_test.go:52
FunctionTestSetSuccessful_RegularErrorIsKubeAPIError
(t *testing.T)
kube-applier/pkg/controllers/conditions/conditions_test.go:70
FunctionTestSeverityCSSClass
(t *testing.T)
test/cmd/aro-hcp-tests/gather-observability/severity_test.go:50
FunctionTestSeverityFor
(t *testing.T)
tooling/prometheus-rules/internal/generator_test.go:1166
FunctionTestSeverityRank
(t *testing.T)
test/cmd/aro-hcp-tests/gather-observability/severity_test.go:23
FunctionTestSharedInformerEvents
(t *testing.T)
backend/pkg/informers/informers_test.go:126
FunctionTestSharedInformerResync
(t *testing.T)
backend/pkg/informers/informers_test.go:175
FunctionTestSharedStatePaths
(t *testing.T)
test/cmd/aro-hcp-tests/slot-manager/slots/catalog_test.go:428
FunctionTestShouldExecuteStep
(t *testing.T)
tooling/templatize/pkg/pipeline/run_test.go:626
FunctionTestShouldRetryError
(t *testing.T)
tooling/templatize/pkg/pipeline/run_test.go:564
FunctionTestSizeGiBRoundTrip
(t *testing.T)
internal/api/v20240610preview/nodepools_methods_test.go:35
FunctionTestSizeGiBRoundTrip
(t *testing.T)
internal/api/v20260630preview/nodepools_methods_test.go:35
FunctionTestSizeGiBRoundTrip
(t *testing.T)
internal/api/v20251223preview/nodepools_methods_test.go:35
FunctionTestSliceActiveOperationLister
(t *testing.T)
backend/pkg/listertesting/slice_listers_test.go:120
FunctionTestSliceApplyDesireLister_GetForCluster
(t *testing.T)
internal/database/listertesting/slice_listers_test.go:171
FunctionTestSliceApplyDesireLister_GetForNodePool
(t *testing.T)
internal/database/listertesting/slice_listers_test.go:198
FunctionTestSliceApplyDesireLister_List
(t *testing.T)
internal/database/listertesting/slice_listers_test.go:159
FunctionTestSliceApplyDesireLister_ListForCluster_IncludesNodePoolScoped
(t *testing.T)
internal/database/listertesting/slice_listers_test.go:248
FunctionTestSliceApplyDesireLister_ListForManagementCluster
(t *testing.T)
internal/database/listertesting/slice_listers_test.go:216
FunctionTestSliceApplyDesireLister_ListForNodePool_OnlyNodePoolScoped
(t *testing.T)
internal/database/listertesting/slice_listers_test.go:271
FunctionTestSliceClusterLister
(t *testing.T)
backend/pkg/listertesting/slice_listers_test.go:42
FunctionTestSliceClusterListerWithEmptySlice
(t *testing.T)
backend/pkg/listertesting/slice_listers_test.go:280
FunctionTestSliceClusterListerWithNilResourceID
(t *testing.T)
backend/pkg/listertesting/slice_listers_test.go:306
FunctionTestSliceExternalAuthLister
(t *testing.T)
backend/pkg/listertesting/slice_listers_test.go:173
FunctionTestSliceManagementClusterLister
(t *testing.T)
internal/database/listertesting/slice_listers_test.go:48
FunctionTestSliceNodePoolLister
(t *testing.T)
backend/pkg/listertesting/slice_listers_test.go:78
FunctionTestSliceServiceProviderClusterLister
(t *testing.T)
backend/pkg/listertesting/slice_listers_test.go:215
FunctionTestSliceSubscriptionLister
(t *testing.T)
backend/pkg/listertesting/slice_listers_test.go:251
FunctionTestSource_GetEffectiveTagPattern
(t *testing.T)
tooling/image-updater/internal/config/config_test.go:1122
FunctionTestSource_ParseImageReference
(t *testing.T)
tooling/image-updater/internal/config/config_test.go:1188
FunctionTestSource_Validate
(t *testing.T)
tooling/image-updater/internal/config/config_test.go:960
FunctionTestStampApprovalHandler
(t *testing.T)
admin/server/handlers/stamp/stamp_approval_test.go:62
FunctionTestStampGetHandler
(t *testing.T)
admin/server/handlers/stamp/stamp_test.go:33
FunctionTestStampHandleAdd
(t *testing.T)
fleet/pkg/controllers/base/stamp_watching_controller_test.go:134
FunctionTestStampHandleUpdate
(t *testing.T)
fleet/pkg/controllers/base/stamp_watching_controller_test.go:186
FunctionTestStampKeyFromObject
(t *testing.T)
fleet/pkg/controllers/base/stamp_watching_controller_test.go:46
FunctionTestStampKeyGetResourceID
(t *testing.T)
fleet/pkg/controllers/base/stamp_watching_controller_test.go:113
FunctionTestStampListHandler
(t *testing.T)
admin/server/handlers/stamp/stamp_test.go:103
FunctionTestStampProcessNext
(t *testing.T)
fleet/pkg/controllers/base/stamp_watching_controller_test.go:249
← previousnext →9,001–9,100 of 10,266, ranked by callers