MCPcopy Create free account

hub / github.com/CarterPerez-dev/Cybersecurity-Projects / functions

Functions8,109 in github.com/CarterPerez-dev/Cybersecurity-Projects

FunctionTestClassifyCaseInsensitive
(t *testing.T)
PROJECTS/advanced/honeypot-network/internal/intel/fingerprint_test.go:97
FunctionTestClassifyChange
(t *testing.T)
PROJECTS/beginner/simple-vulnerability-scanner/internal/pypi/version_test.go:540
FunctionTestClassifyHTTPClient
(t *testing.T)
PROJECTS/advanced/honeypot-network/internal/intel/fingerprint_test.go:64
FunctionTestClassifySSHClient
(t *testing.T)
PROJECTS/advanced/honeypot-network/internal/intel/fingerprint_test.go:14
FunctionTestClassifyScore
(t *testing.T)
PROJECTS/beginner/simple-vulnerability-scanner/internal/osv/client_test.go:91
FunctionTestCleanNodeVersion
(t *testing.T)
PROJECTS/intermediate/sbom-generator-vulnerability-matcher/internal/parser/node_test.go:81
FunctionTestClientCachesResults
(t *testing.T)
PROJECTS/intermediate/secrets-scanner/internal/hibp/client_test.go:100
FunctionTestClientCheckBreached
(t *testing.T)
PROJECTS/intermediate/secrets-scanner/internal/hibp/client_test.go:40
FunctionTestClientCheckClean
(t *testing.T)
PROJECTS/intermediate/secrets-scanner/internal/hibp/client_test.go:73
FunctionTestClientContextCancellation
(t *testing.T)
PROJECTS/intermediate/secrets-scanner/internal/hibp/client_test.go:198
FunctionTestClientHandlesServerError
(t *testing.T)
PROJECTS/intermediate/secrets-scanner/internal/hibp/client_test.go:133
FunctionTestClientIP_TrustedHopsExceedsList_ReturnsLeftmost
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/middleware/clientip_test.go:40
FunctionTestClientIP_TrustedHopsOne_HonorsXRealIP
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/middleware/clientip_test.go:55
FunctionTestClientIP_TrustedHopsOne_NoXFF_FallsBackToRemoteAddr
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/middleware/clientip_test.go:48
FunctionTestClientIP_TrustedHopsOne_PeelsRightmost
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/middleware/clientip_test.go:24
FunctionTestClientIP_TrustedHopsTwo_PeelsTwoFromRight
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/middleware/clientip_test.go:32
FunctionTestClientIP_TrustedHopsZero_IgnoresXFF
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/middleware/clientip_test.go:15
FunctionTestClientRetries429
(t *testing.T)
PROJECTS/intermediate/secrets-scanner/internal/hibp/client_test.go:150
FunctionTestClientRetries429Exhausted
(t *testing.T)
PROJECTS/intermediate/secrets-scanner/internal/hibp/client_test.go:180
FunctionTestClient_AddsBearerAndAPIKeyHeaders
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/httpx/client_test.go:152
FunctionTestClient_DecodeHeartbeatExposesCurrentTime
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/coinbase/client_test.go:168
FunctionTestClient_DecodeSnapshotFrameYieldsAllTickers
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/coinbase/client_test.go:140
FunctionTestClient_DialSubscribesTickerAndHeartbeats
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/coinbase/client_test.go:87
FunctionTestClient_FetchAlertsDecodes
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/swpc/client_test.go:89
FunctionTestClient_FetchAllReturnsThreeKinds
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/dshield/client_test.go:58
FunctionTestClient_FetchAllUsesYesterdayDate
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/dshield/client_test.go:81
FunctionTestClient_FetchDecodesFeatures
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/usgs/client_test.go:19
FunctionTestClient_FetchDecodesITNResponse
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/wikipedia/client_test.go:19
FunctionTestClient_FetchHijacksDecodes
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/cfradar/client_test.go:69
FunctionTestClient_FetchKpDecodesObjectArray
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/swpc/client_test.go:63
FunctionTestClient_FetchMagDecodesRowArray
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/swpc/client_test.go:52
FunctionTestClient_FetchOutagesFailsOnSuccessFalse
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/cfradar/client_test.go:90
FunctionTestClient_FetchOutagesSendsBearerAndDecodes
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/cfradar/client_test.go:47
FunctionTestClient_FetchPlasmaDecodesRowArray
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/swpc/client_test.go:38
FunctionTestClient_FetchRecentVictimsDecodes
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/ransomware/client_test.go:19
FunctionTestClient_FetchThemeDecodesBuckets
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/gdelt/client_test.go:19
FunctionTestClient_FetchXrayDecodesObjectArray
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/swpc/client_test.go:76
FunctionTestClient_GetJSONHonorsRateLimit
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/httpx/client_test.go:20
FunctionTestClient_LookupDecodesVerdict
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/enrich/abuseipdb/client_test.go:18
FunctionTestClient_LookupDecodesVerdict
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/enrich/greynoise/client_test.go:18
FunctionTestClient_LookupReturnsErrUnknownIPOn404
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/enrich/abuseipdb/client_test.go:44
FunctionTestClient_LookupReturnsErrUnknownIPOn404
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/enrich/greynoise/client_test.go:41
FunctionTestClient_LookupReturnsErrUnknownIPOnEmptyData
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/enrich/abuseipdb/client_test.go:59
FunctionTestClient_PermanentErrorOn4xx
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/httpx/client_test.go:122
FunctionTestClient_RetriesOn429WithRetryAfter
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/httpx/client_test.go:54
FunctionTestClient_RetriesOn5xx
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/httpx/client_test.go:89
FunctionTestClone_DecodesAsImageGIF
(t *testing.T)
PROJECTS/beginner/canary-token-generator/backend/internal/token/generators/pixel/pixel_test.go:51
FunctionTestClone_Length
(t *testing.T)
PROJECTS/beginner/canary-token-generator/backend/internal/token/generators/pixel/pixel_test.go:31
FunctionTestClone_MagicBytes
(t *testing.T)
PROJECTS/beginner/canary-token-generator/backend/internal/token/generators/pixel/pixel_test.go:35
FunctionTestClone_ReturnsIndependentCopy
(t *testing.T)
PROJECTS/beginner/canary-token-generator/backend/internal/token/generators/pixel/pixel_test.go:61
FunctionTestCollectUniqueIDs
(t *testing.T)
PROJECTS/beginner/simple-vulnerability-scanner/internal/osv/client_test.go:237
FunctionTestCollector_EmitsAtInterval
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/heartbeat/collector_test.go:41
FunctionTestCollector_EmitsImmediatelyOnStart
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/heartbeat/collector_test.go:63
FunctionTestCollector_EmitsRichPayloadWithLatestReadings
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/swpc/collector_test.go:165
FunctionTestCollector_EmptyKnownInsertsAll
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/kev/collector_test.go:129
FunctionTestCollector_EnrichesHijackPayloadWhenEnricherProvided
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/cfradar/collector_test.go:184
FunctionTestCollector_FastTickPushesToRingsAndEmits
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/swpc/collector_test.go:116
FunctionTestCollector_FetchErrorRecordsState
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/wikipedia/collector_test.go:165
FunctionTestCollector_FetchErrorRecordsState
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/usgs/collector_test.go:179
FunctionTestCollector_FetchErrorRecordsState
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/dshield/collector_test.go:169
FunctionTestCollector_FetchErrorsRecordsState
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/gdelt/collector_test.go:183
FunctionTestCollector_FetchErrorsRecordsState
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/swpc/collector_test.go:222
FunctionTestCollector_GapTriggersReconnect
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/coinbase/collector_test.go:163
FunctionTestCollector_HijackEmitsRawWhenNoEnricher
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/cfradar/collector_test.go:240
FunctionTestCollector_KnownQuakesNotReEmitted
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/usgs/collector_test.go:206
FunctionTestCollector_NewRevidInsertsAndEmits
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/wikipedia/collector_test.go:99
FunctionTestCollector_NoBaselineNoSpike
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/gdelt/collector_test.go:100
FunctionTestCollector_OnlyEmitsNetNew
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/cfradar/collector_test.go:128
FunctionTestCollector_OnlyEmitsNewKEVs
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/kev/collector_test.go:91
FunctionTestCollector_OnlyEmitsNewVictims
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/ransomware/collector_test.go:92
FunctionTestCollector_PositionFetchErrorRecordsState
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/iss/collector_test.go:185
FunctionTestCollector_PositionLoopEmitsAndRecords
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/iss/collector_test.go:101
FunctionTestCollector_RepeatedTickIsIdempotent
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/cfradar/collector_test.go:281
FunctionTestCollector_RevIDUnchangedSkipsInsert
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/wikipedia/collector_test.go:135
FunctionTestCollector_RunPersistsAndEmits
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/coinbase/collector_test.go:118
FunctionTestCollector_StableBaselinePlusSpikeEmitsOnce
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/gdelt/collector_test.go:137
FunctionTestCollector_TLELoopSavesToStore
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/iss/collector_test.go:146
FunctionTestCollector_TickPersistsAllAndEmitsScanFirehose
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/dshield/collector_test.go:125
FunctionTestCollector_TickPersistsAndEmitsNewQuakes
(t *testing.T)
PROJECTS/advanced/monitor-the-situation-dashboard/backend/internal/collectors/usgs/collector_test.go:111
FunctionTestCommandDetectsExecution
(t *testing.T)
PROJECTS/advanced/honeypot-network/internal/mitre/detector_test.go:75
FunctionTestCommandPatterns
(t *testing.T)
PROJECTS/advanced/honeypot-network/internal/mitre/detector_test.go:106
FunctionTestCompletionScanner_CleanScript
(t *testing.T)
PROJECTS/beginner/systemd-persistence-scanner/internal/scanner/completion_test.go:15
FunctionTestCompletionScanner_MaliciousScript
(t *testing.T)
PROJECTS/beginner/systemd-persistence-scanner/internal/scanner/completion_test.go:35
FunctionTestComposeAnalyzer_AllFiles
(t *testing.T)
PROJECTS/intermediate/docker-security-audit/tests/integration/compose_test.go:585
FunctionTestComposeAnalyzer_BadCaps
(t *testing.T)
PROJECTS/intermediate/docker-security-audit/tests/integration/compose_test.go:212
FunctionTestComposeAnalyzer_BadDockerSocket
(t *testing.T)
PROJECTS/intermediate/docker-security-audit/tests/integration/compose_test.go:47
FunctionTestComposeAnalyzer_BadMounts
(t *testing.T)
PROJECTS/intermediate/docker-security-audit/tests/integration/compose_test.go:282
FunctionTestComposeAnalyzer_BadNoLimits
(t *testing.T)
PROJECTS/intermediate/docker-security-audit/tests/integration/compose_test.go:449
FunctionTestComposeAnalyzer_BadPrivileged
(t *testing.T)
PROJECTS/intermediate/docker-security-audit/tests/integration/compose_test.go:152
FunctionTestComposeAnalyzer_BadSecrets
(t *testing.T)
PROJECTS/intermediate/docker-security-audit/tests/integration/compose_test.go:378
FunctionTestComposeAnalyzer_GoodProduction
(t *testing.T)
PROJECTS/intermediate/docker-security-audit/tests/integration/compose_test.go:521
FunctionTestConcurrentAccess
(t *testing.T)
PROJECTS/advanced/honeypot-network/internal/session/tracker_test.go:139
FunctionTestConfidenceByEventType
(t *testing.T)
PROJECTS/advanced/honeypot-network/internal/intel/ioc_test.go:120
FunctionTestContainerAnalyzer_CategoryAndRemediation
(t *testing.T)
PROJECTS/intermediate/docker-security-audit/internal/analyzer/container_test.go:423
FunctionTestContainerAnalyzer_Comparison
(t *testing.T)
PROJECTS/intermediate/docker-security-audit/internal/analyzer/container_test.go:454
FunctionTestContainerAnalyzer_PrivilegedContainer
(t *testing.T)
PROJECTS/intermediate/docker-security-audit/internal/analyzer/container_test.go:68
FunctionTestContainerAnalyzer_SecureContainer
(t *testing.T)
PROJECTS/intermediate/docker-security-audit/internal/analyzer/container_test.go:258
FunctionTestContainerAnalyzer_TargetInfo
(t *testing.T)
PROJECTS/intermediate/docker-security-audit/internal/analyzer/container_test.go:389
FunctionTestContainsAuthContext
(t *testing.T)
PROJECTS/beginner/systemd-persistence-scanner/internal/scanner/pam_test.go:88
FunctionTestContainsShellCommand
(t *testing.T)
PROJECTS/beginner/systemd-persistence-scanner/internal/scanner/kernel_test.go:93
← previousnext →4,501–4,600 of 8,109, ranked by callers