AI Slop Code Risk Monitor

gravitational/teleport

SlopCodeMonitor badge for gravitational/teleport Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

The easiest, and most secure way to access and protect all of your infrastructure.

2.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for gravitational/teleport, a Go project with 21,055 GitHub stars. SynthScan examined 2,572,214 lines of code across 10378 source files, recording 4469 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 2.2 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

2.2
Adjusted Signal
2.2
Raw Pattern Score
100%
Time Factor
2026-10-20
Last Push
21.1K
Stars
Go
Language
2.6M
Lines of Code
10.4K
Files
4.5K
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 8.0/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 4097 finding(s).

Hallucinated Dependency & Supply Chain Risk 1.9/100 · LOW

Are imports declared and package/API names verified? 294 finding(s).

Agent Over-Engineering Ratio 1.2/100 · LOW

Are wrappers, guards, and repeated structures necessary? 417 finding(s).

PR Review Velocity Impact 9.9/100 · LOW

Which changes need focused human review? 4469 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 61HIGH 7MEDIUM 144LOW 4257

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 4469 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block3620 hits · 3556 pts
SeverityFileLineSnippetContext
LOWCHANGELOG.md8501 # Note: Name can't include any spaces and should be DNS-compatible A-Za-z0-9-._COMMENT
LOWCHANGELOG.md8801 #COMMENT
LOWconstants.go481 CertExtensionAgentScopePin = "agent-scope-pin@goteleport.com"COMMENT
LOWconstants.go501 // check.COMMENT
LOWconstants.go521 // CertExtensionGeneration counts the number of times a certificate hasCOMMENT
LOWconstants.go541 // by the device to authenticate itself.COMMENT
LOWconstants.go561 // types.BeamIDLabel label.COMMENT
LOWconstants.go581COMMENT
LOWconstants.go721 // access to all user groups.COMMENT
LOWconstants.go741COMMENT
LOWconstants.go761 // SystemIdentityCenterAccessRoleName specifies the name of a system roleCOMMENT
LOWconstants.go801var PresetRoles = []string{PresetEditorRoleName, PresetAccessRoleName, PresetAuditorRoleName}COMMENT
LOWconstants.go841const (COMMENT
LOWconstants.go861COMMENT
LOWconstants.go1081 // EnvVarUnstableDisableSAMLRedirectDowngradeCheck allows disabling saml_connectorCOMMENT
LOWconstants_test.go1// TeleportCOMMENT
LOWweb/packages/design/src/Popover/Popover.tsx201const borderRadius = 4;COMMENT
LOWweb/packages/design/src/Popover/Popover.tsx221// unforgiving and won't tell you what's wrong with your declaration, so theCOMMENT
LOWweb/packages/design/src/StepSlider/StepSlider.tsx241 // of refs for all steps of all flows.COMMENT
LOWweb/packages/design/src/SlideTabs/SlideTabs.tsx321const TabSliderInner = styled.div<{ appearance: Appearance; intent: Intent }>`COMMENT
LOWweb/packages/teleport/src/Discover/useDiscover.tsx261 //COMMENT
LOWweb/packages/teleport/src/Discover/useDiscover.tsx361 setInfoGuideConfig(getDiscoverInfoGuideConfig(overview));COMMENT
LOWweb/packages/teleport/src/Discover/Database/common.tsx181 return matched;COMMENT
LOW…scover/ConnectMyComputer/SetupConnect/SetupConnect.tsx61 });COMMENT
LOW…stedClusters/templates/trusted_cluster_enterprise.yaml1#COMMENT
LOW…rc/Roles/RoleEditor/StandardEditor/MetadataSection.tsx61 // Verifies whether a role already exists with this name and dispatches aCOMMENT
LOW…eleport/src/components/SelectFilters/SelectFilters.tsx381type Option = BaseOption & {COMMENT
LOW…eleport/src/components/Authenticated/Authenticated.tsx181}COMMENT
LOW…ges/teleport/src/UnifiedResources/UnifiedResources.tsx281 )COMMENT
LOWweb/packages/teleport/src/AppLauncher/AppLauncher.tsx41COMMENT
LOWweb/packages/teleport/src/services/joinToken/types.ts61// JoinRole defines built-in system roles and are roles associated withCOMMENT
LOWweb/packages/teleport/src/services/user/types.ts161 displayPrimary?: string;COMMENT
LOW…b/packages/teleport/src/services/integrations/types.ts421 // the human-readable name of the Okta SAML app createdCOMMENT
LOW…b/packages/teleport/src/services/integrations/types.ts721COMMENT
LOW…b/packages/teleport/src/services/integrations/types.ts761 discovery_config: string;COMMENT
LOW…b/packages/teleport/src/services/integrations/types.ts801 // resourceURL is the Amazon Web Console URL to access this RDS Database.COMMENT
LOW…b/packages/teleport/src/services/integrations/types.ts861 // If empty, it indicates that the rule is not being used.COMMENT
LOW…b/packages/teleport/src/services/integrations/types.ts1221 subnetIds: string[];COMMENT
LOWweb/packages/teleport/src/services/userEvent/types.ts341 id: string;COMMENT
LOWweb/packages/shared/utils/base64/base64-arraybuffer.ts1// Modified from https://github.com/niklasvh/base64-arraybuffer/COMMENT
LOW…ackages/shared/utils/base64/base64-arraybuffer.test.ts1// Modified from https://github.com/niklasvh/base64-arraybuffer/COMMENT
LOWweb/packages/shared/libs/ironrdp/src/lib.rs1// TeleportCOMMENT
LOWweb/packages/shared/libs/ironrdp/src/lib.rs141 }COMMENT
LOWweb/packages/shared/components/TextEditor/ace.js21// Ace extension and mode files (e.g. mode-json.js, ext-searchbox.js) referenceCOMMENT
LOW…ckages/shared/components/DesktopSession/Withholder.tsx61 handleInputEvent(params);COMMENT
LOW…red/components/DesktopSession/DesktopSession.story.tsx161// Currently, the logic is hardcoded in the component so we have no control over it.COMMENT
LOWweb/packages/shared/services/types.ts81}COMMENT
LOWweb/packages/teleterm/electron-builder-config.js1import { spawn } from 'node:child_process';COMMENT
LOWweb/packages/teleterm/electron-builder-config.js101 fs.writeFileSync(plistPath, tshAppPlist);COMMENT
LOWweb/packages/teleterm/src/main.ts121 // On Windows/Linux: Re-launching the app while it's already runningCOMMENT
LOW…/src/ui/ConnectMyComputer/connectMyComputerContext.tsx341 //COMMENT
LOW…/ConnectMyComputer/DocumentConnectMyComputer/Setup.tsx401 markAgentAsConfigured();COMMENT
LOW…packages/teleterm/src/ui/DocumentGateway/useGateway.ts81 }COMMENT
LOWweb/packages/teleterm/src/ui/Search/SearchBar.tsx101 });COMMENT
LOWweb/packages/teleterm/src/ui/Search/useSearch.ts81 // useResourceSearch has to return _something_ even when we don't want to perform a search.COMMENT
LOWweb/packages/teleterm/src/ui/Search/useSearch.test.tsx181 const otherClusterParams: UriParams = {COMMENT
LOW…eyboardArrowsNavigation/useKeyboardArrowsNavigation.ts61 // 1. When scrolling from the last to the first element, the top of the scrollable area getsCOMMENT
LOW…b/packages/teleterm/src/ui/DeepLinks/launchDeepLink.ts81 // 2. A login dialog could be covered by an important dialog.COMMENT
LOW…onnectionsFilterableList/ConnectionStatusIndicator.tsx81 // Using text instead of an icon because any icon used here would be smaller than theCOMMENT
LOW…kages/teleterm/src/ui/services/modals/modalsService.ts21COMMENT
3560 more matches not shown…
Hallucination Indicators61 hits · 730 pts
SeverityFileLineSnippetContext
CRITICALintegration/teleterm_test.go467 expires := pack.Root.Cluster.Config.Clock.Now().Add(time.Minute)CODE
CRITICALintegration/proxy/proxy_test.go392 teleportCluster := suite.root.Config.Auth.ClusterName.GetClusterName()CODE
CRITICALintegration/helpers/instance.go1743 w.i.Config.Auth.ClusterName.GetClusterName(),CODE
CRITICALlib/cache/user_group_test.go74 require.Equal(t, 500, p.cache.collections.userGroups.store.len())CODE
CRITICALlib/cache/workload_identity.go129 scopeFilter := c.collections.workloadIdentity.watch.ScopeFilter.ToProto()CODE
CRITICALlib/cache/workload_identity.go187 if !scopes.MatchScope(c.collections.workloadIdentity.watch.ScopeFilter.ToProto(), wi.GetScope()) {CODE
CRITICALlib/cache/cache_test.go2192 require.Empty(t, p.cache.collections.roles.store.len())CODE
CRITICALlib/cache/bot_instance.go114 if !scopes.MatchScope(c.collections.botInstances.watch.ScopeFilter.ToProto(), bi.GetScope()) {CODE
CRITICALlib/cache/bot_instance.go188 collectionFilter := c.collections.botInstances.watch.ScopeFilter.ToProto()CODE
CRITICALlib/cache/access_list_test.go328 count := p.cache.collections.accessListReviews.store.len()CODE
CRITICALlib/cache/plugin_static_credentials_test.go97 for cred := range p.cache.collections.pluginStaticCredentials.store.resources(pluginStaticCredentialsNameIndex, "",CODE
CRITICALlib/auth/access_request_test.go2378 resp, err := s.testPack.tlsServer.AuthServer.AuthServer.SubmitAccessReview(ctx, review)CODE
CRITICALlib/auth/access_request_test.go2428 resp, err := s.testPack.tlsServer.AuthServer.AuthServer.GetAccessRequests(ctx, types.AccessRequestFilter{})CODE
CRITICALlib/auth/webauthn/register.go333 !parsedResp.Response.AttestationObject.AuthData.Flags.UserVerified() {CODE
CRITICAL…achineid/machineidv1/spiffe_federation_service_test.go500 created, err := srv.AuthServer.AuthServer.Services.SPIFFEFederations.CreateSPIFFEFederation(CODE
CRITICALlib/web/server.go134 activeConnections := s.cfg.Handler.handler.userConns.Load()CODE
CRITICALlib/web/server.go147 activeConnections = s.cfg.Handler.handler.userConns.Load()CODE
CRITICALlib/web/databases_test.go642 s.webHandler.handler.cfg.PublicProxyAddr = s.webHandler.handler.cfg.ProxyWebAddr.String()CODE
CRITICALlib/web/proxy_settings.go99 proxySettings.Kube.ListenAddr = p.ServiceConfig.Proxy.Kube.ListenAddr.String()CODE
CRITICALlib/srv/regular/sshserver_test.go395 sessions, err := f.ssh.srv.termHandlers.SessionRegistry.SessionTrackerService.GetActiveSessionTrackers(ctx)CODE
CRITICALlib/srv/regular/sshserver_test.go409 size, err := f.ssh.srv.termHandlers.SessionRegistry.GetTerminalSize(sessionID)CODE
CRITICALlib/srv/regular/sshserver_test.go4042 sessions, err := f.ssh.srv.termHandlers.SessionRegistry.SessionTrackerService.GetActiveSessionTrackers(ctx)CODE
CRITICALlib/srv/regular/sshserver_test.go4125 sessionTracker, err := f.ssh.srv.termHandlers.SessionRegistry.SessionTrackerService.GetSessionTracker(ctx, sid)CODE
CRITICALtool/tctl/common/resources/accesslist.go58 al.Spec.Audit.Recurrence.Frequency.String(),CODE
CRITICALtool/tsh/common/kube_test.go184 rootClusterName: s.root.Config.Auth.ClusterName.GetClusterName(),CODE
CRITICALtool/tsh/common/kube_test.go185 leafClusterName: s.leaf.Config.Auth.ClusterName.GetClusterName(),CODE
CRITICAL⚡tool/tsh/common/kube_test.go255 {p.root.Config.Proxy.WebAddr.String(), "leaf1", "leaf-cluster", formattedLeafLabels, ""},CODE
CRITICAL⚡tool/tsh/common/kube_test.go256 {p.root.Config.Proxy.WebAddr.String(), "root", p.rootKubeCluster2, formattedRootLabels, ""},CODE
CRITICAL⚡tool/tsh/common/kube_test.go257 {p.root.Config.Proxy.WebAddr.String(), "root", p.rootKubeCluster1, formattedRootLabels, ""},CODE
CRITICAL⚡tool/tsh/common/kube_test.go270 []string{p.root.Config.Proxy.WebAddr.String(), "leaf1", p.leafKubeCluster, formattedLeafLabelsVerbose, ""},CODE
CRITICAL⚡tool/tsh/common/kube_test.go271 []string{p.root.Config.Proxy.WebAddr.String(), "root", p.rootKubeCluster2, formattedRootLabelsVerbose, ""},CODE
CRITICAL⚡tool/tsh/common/kube_test.go272 []string{p.root.Config.Proxy.WebAddr.String(), "root", p.rootKubeCluster1, formattedRootLabelsVerbose, ""},CODE
CRITICAL⚡tool/tsh/common/kube_test.go282 table.AddRow([]string{p.root.Config.Proxy.WebAddr.String(), "leaf1", "leaf-cluster", formattedLeafLabels, ""})CODE
CRITICAL⚡tool/tsh/common/kube_test.go283 table.AddRow([]string{p.root.Config.Proxy.WebAddr.String(), "root", p.rootKubeCluster2, formattedRootLabels, ""})CODE
CRITICAL⚡tool/tsh/common/kube_test.go284 table.AddRow([]string{p.root.Config.Proxy.WebAddr.String(), "root", p.rootKubeCluster1, formattedRootLabels, ""})CODE
CRITICALtool/tsh/common/kube_test.go387 rootClusterName := s.root.Config.Auth.ClusterName.GetClusterName()CODE
CRITICALtool/tsh/common/kube_test.go585 webProxyAddr, err := utils.ParseAddr(s.root.Config.Proxy.WebAddr.String())CODE
CRITICALtool/tsh/common/kube_test.go646 s.root.Config.Auth.ClusterName.GetClusterName(),CODE
CRITICALtool/tsh/common/kube_test.go723 ClusterName: s.root.Config.Auth.ClusterName.GetClusterName(),CODE
CRITICALtool/tsh/common/db_test.go465 profile, err := clientStore.ReadProfileStatus(s.root.Config.Proxy.WebAddr.String())CODE
CRITICAL⚡tool/tsh/common/tsh_helper_test.go235 tunnelAddr := s.root.Config.Proxy.WebAddr.String()CODE
CRITICAL⚡tool/tsh/common/tsh_helper_test.go236 if s.root.Config.Auth.NetworkingConfig.GetProxyListenerMode() != types.ProxyListenerMode_Multiplex {CODE
CRITICAL⚡tool/tsh/common/tsh_helper_test.go237 tunnelAddr = s.root.Config.Proxy.ReverseTunnelListenAddr.String()CODE
CRITICAL⚡tool/tsh/common/tsh_helper_test.go240 tc, err := types.NewTrustedCluster(s.root.Config.Auth.ClusterName.GetClusterName(), types.TrustedClusterSpecV2{CODE
CRITICAL⚡tool/tsh/common/tsh_helper_test.go243 ProxyAddress: s.root.Config.Proxy.WebAddr.String(),CODE
CRITICALtool/tsh/common/tsh_helper_test.go309 rt, err := s.root.GetAuthServer().GetTunnelConnections(t.Context(), s.leaf.Config.Auth.ClusterName.GetClusterName())CODE
CRITICAL⚡tool/tsh/common/proxy_test.go138 "--proxy", s.root.Config.Proxy.WebAddr.String(),CODE
CRITICAL⚡tool/tsh/common/proxy_test.go148 tshHome, _ := mustLoginLegacy(t, s, s.leaf.Config.Auth.ClusterName.GetClusterName())CODE
CRITICAL⚡tool/tsh/common/proxy_test.go152 "--proxy", s.root.Config.Proxy.WebAddr.String(),CODE
CRITICAL⚡tool/tsh/common/proxy_test.go162 "--proxy", s.root.Config.Proxy.WebAddr.String(),CODE
CRITICAL⚡tool/tsh/common/proxy_test.go165 "--cluster", s.leaf.Config.Auth.ClusterName.GetClusterName(),CODE
CRITICAL⚡tool/tsh/common/proxy_test.go174 tshHome, _ := mustLoginLegacy(t, s, s.root.Config.Auth.ClusterName.GetClusterName())CODE
CRITICAL⚡tool/tsh/common/proxy_test.go179 s.leaf.Config.Auth.ClusterName.GetClusterName(),CODE
CRITICAL⚡tool/tsh/common/proxy_test.go535 s.root.Config.Proxy.SSHAddr.Host(),CODE
CRITICAL⚡tool/tsh/common/proxy_test.go536 s.root.Config.Auth.ClusterName.GetClusterName(),CODE
CRITICAL⚡tool/tsh/common/proxy_test.go537 s.root.Config.SSH.Addr.Port(defaults.SSHServerListenPort))CODE
CRITICALtool/tsh/common/proxy_test.go738 s.root.Config.SSH.Addr.Port(defaults.SSHServerListenPort), "echo", "hello")CODE
CRITICALtool/tsh/common/proxy_test.go819 sshConn := fmt.Sprintf("%s.%s", s.root.Config.Hostname, s.root.Config.Auth.ClusterName.GetClusterName())CODE
CRITICALtool/tsh/common/proxy_test.go820 nodePort := s.root.Config.SSH.Addr.Port(defaults.SSHServerListenPort)CODE
CRITICALtool/tsh/common/proxy_test.go961 if res.Cluster == s.root.Config.Auth.ClusterName.GetName() {CODE
1 more matches not shown…
Hyper-Verbose Identifiers339 hits · 348 pts
SeverityFileLineSnippetContext
LOWweb/packages/design/src/datetime/format.ts77export function displayDateWithPrefixedTime(date: Date): string {CODE
LOWweb/packages/design/src/Popover/Popover.tsx128function getAllowedPopoverPositions(transformOrigin: Origin) {CODE
LOWweb/packages/design/src/Popover/Popover.tsx141function getPreferredPopoverPositions(anchorOrigin: Origin) {CODE
LOWweb/packages/design/src/system/typography.ts62export function shouldForwardTypographyProp(CODE
LOWweb/packages/design/src/DataTable/DataTable.story.tsx114export function DefaultAndClickableLabels() {CODE
LOWweb/packages/teleport/src/features.tsx86export function shouldHideInaccessibleFeatures(cfg: Cfg) {CODE
LOWweb/packages/teleport/src/teleportContext.tsx153 function hasAccessMonitoringAccess() {CODE
LOWweb/packages/teleport/src/teleportContext.tsx160 function hasAccessGraphIntegrationsAccess() {CODE
LOW…packages/teleport/src/Bots/Details/BotDetails.test.tsx823function withFetchInstancesSuccess() {CODE
LOW…src/Bots/Add/GitHubActionsK8s/ConfigureAccess.test.tsx294function withListUnifiedResourcesSuccess(opts?: {CODE
LOW…s/Add/GitHubActionsK8s/KubernetesLabelsSelect.test.tsx441function withListUnifiedResourcesSuccess(opts?: {CODE
LOWweb/packages/teleport/src/Bots/Add/Shared/kubernetes.ts35export function makeKubernetesAccessChecker(selected: KubernetesLabel[]) {CODE
LOW…scover/Database/EnrollRdsDatabase/SingleEnrollment.tsx189 function handleOnProceedWithValidation(CODE
LOW…cover/Database/DeployService/AutoDeploy/AutoDeploy.tsx91 function manuallyValidateRequiredFields() {CODE
LOW…cover/Database/DeployService/AutoDeploy/AutoDeploy.tsx606function AutoDiscoverDeploySuccess({CODE
LOW…/Database/DeployService/AutoDeploy/AutoDeploy.test.tsx111 async function waitForSubnetsAndSecurityGroups() {CODE
LOW…scover/Database/SetupAccess/AwsRdsAuthRequirements.tsx330export function AwsRdsAuthRequirementAlert({CODE
LOW…leport/src/Discover/Database/MutualTls/useMutualTls.ts107function generateSignCertificateCurlCommand(CODE
LOW…/Discover/Database/CreateDatabase/useCreateDatabase.ts140 function updateAgentMetaUponRequiringDeployment(db: CreateDatabaseRequest) {CODE
LOW…/Discover/Database/CreateDatabase/useCreateDatabase.ts269 async function attemptDbServerQueryAndBuildErrMsg(CODE
LOW…/Discover/Database/CreateDatabase/useCreateDatabase.ts367 function handleNextStepForSelfHostedAwsEnrollment() {CODE
LOW…er/DiscoveryConfigSsm/DiscoveryConfigCreatedDialog.tsx23export function DiscoveryConfigCreatedDialog({CODE
LOWweb/packages/teleport/src/Discover/Shared/Timeout.tsx61function millisecondsToMinutesSeconds(ms: number) {CODE
LOW…t/src/Discover/Shared/CustomInputFieldForAsterisks.tsx26export function CustomInputFieldForAsterisks({CODE
LOW…/teleport/src/Discover/Shared/useJoinTokenSuspender.ts41export function clearCachedJoinTokenResult(resourceKinds: ResourceKind[]) {CODE
LOW…/packages/teleport/src/Discover/Shared/ResourceKind.ts54export function resourceKindToPreferredResource(kind: ResourceKind): Resource {CODE
LOW…ed/ConnectionDiagnostic/ConnectionDiagnosticResult.tsx40export function ConnectionDiagnosticResult({CODE
LOW…teleport/src/Discover/Shared/AwsAccount/AwsAccount.tsx209 async function proceedWithExistingIntegration(validator: Validator) {CODE
LOW…teleport/src/Discover/Shared/AwsAccount/AwsAccount.tsx344async function fetchAwsIntegrationsWithApps(CODE
LOW…eport/src/Discover/Shared/SetupAccess/useUserTraits.ts238 function updateResourceMetaDynamicTraits(CODE
LOW…eport/src/Discover/Shared/SetupAccess/useUserTraits.ts416export function initSelectedOptionsHelper({CODE
LOW…igureDiscoveryService/CreatedDiscoveryConfigDialog.tsx46export function CreatedDiscoveryConfigDialog({CODE
LOW…onfigureDiscoveryService/ConfigureDiscoveryService.tsx39export function ConfigureDiscoveryService({CODE
LOW…/teleport/src/Discover/SelectResource/utils/filters.ts26export function filterBySupportedPlatformsAndAuthTypes(CODE
LOW…ges/teleport/src/Discover/SelectResource/utils/sort.ts31function isConnectMyComputerAvailable(CODE
LOW…ges/teleport/src/Discover/SelectResource/utils/sort.ts39export function sortResourcesByPreferences(CODE
LOW…/packages/teleport/src/Discover/Fixtures/databases.tsx49export function getSelectedAwsPostgresDbMeta(): DbMeta {CODE
LOW…cover/Kubernetes/EnrollEKSCluster/EnrollEksCluster.tsx160 function fetchClustersWithNewRegion(region: Regions) {CODE
LOW…ackages/teleport/src/Discover/Overview/ActivityTab.tsx115 function handleEventTypeFilterChange(newFilter: EventTypeFilter) {CODE
LOW…eport/src/Discover/Overview/IaCIntegrationOverview.tsx510function getStatsRefetchIntervalMs(stats: IntegrationWithSummary | undefined) {CODE
LOW…b/packages/teleport/src/Discover/Overview/Overview.tsx315export function getDiscoverInfoGuideConfig(CODE
LOW…src/Discover/Overview/IaCIntegrationOverview.story.tsx329export function AzureWithWildcardSubscription() {CODE
LOW…st/ServerSideSupportedList/ServerSideSupportedList.tsx198function getFetchFuncForServerSidePaginating(CODE
LOW…/packages/teleport/src/Navigation/ResourcesSection.tsx104function encodeUrlQueryParamsWithTypedKinds(CODE
LOWweb/packages/teleport/src/Navigation/Navigation.tsx136function getDashboardNavigationSections(CODE
LOWweb/packages/teleport/src/Navigation/Navigation.tsx152function getSubsectionsForCategory(CODE
LOW…leport/src/TrustedClusters/DeleteTrust/DeleteTrust.tsx29export default function DeleteTrustedClusterDialog(props: Props) {CODE
LOWweb/packages/teleport/src/Roles/PolicyPlaceholder.tsx146function VisualizeAccessPathsPanel(props: StepComponentProps) {CODE
LOW…port/src/Roles/RoleEditor/StandardEditor/validation.ts145function validateResourceAccessList(CODE
LOW…t/src/Roles/RoleEditor/StandardEditor/standardmodel.ts752export function supportsKubernetesCustomResources(roleVersion: RoleVersion) {CODE
LOW…t/src/Roles/RoleEditor/StandardEditor/standardmodel.ts762export function newKubernetesResourceModel(CODE
LOW…t/src/Roles/RoleEditor/StandardEditor/standardmodel.ts1093function kubernetesResourcesToModel(CODE
LOW…t/src/Roles/RoleEditor/StandardEditor/standardmodel.ts1110function kubernetesResourceToModel(CODE
LOW…t/src/Roles/RoleEditor/StandardEditor/standardmodel.ts1210export function gitHubOrganizationsToModel(CODE
LOW…t/src/Roles/RoleEditor/StandardEditor/standardmodel.ts1334export function allowedVerbsForResourceKinds(resourceKinds: string[]): Verb[] {CODE
LOW…t/src/Roles/RoleEditor/StandardEditor/standardmodel.ts1515export function portForwardingOptionsToModel(CODE
LOW…t/src/Roles/RoleEditor/StandardEditor/standardmodel.ts1721function optionsModelToRoleOptions(CODE
LOW…teleport/src/Roles/RoleEditor/StandardEditor/errors.ts84export function unsupportedFieldErrorsFromObject(CODE
LOW…teleport/src/Roles/RoleEditor/StandardEditor/errors.ts109export function unsupportedValueWithReplacement(CODE
LOW…teleport/src/Roles/RoleEditor/StandardEditor/errors.ts160export function groupAndSortConversionErrors(CODE
279 more matches not shown…
Decorative Section Separators75 hits · 274 pts
SeverityFileLineSnippetContext
MEDIUM…b/packages/teleport/src/SessionRecordings/list/mock.ts134 svg: '\u003csvg xmlns="http://www.w3.org/2000/svg" width="2149" height="2066" font-size="14" class="terminal"\u003e\CODE
MEDIUM…b/packages/teleport/src/SessionRecordings/list/mock.ts134 svg: '\u003csvg xmlns="http://www.w3.org/2000/svg" width="2149" height="2066" font-size="14" class="terminal"\u003e\CODE
MEDIUM…egrations/terraform/protoc-gen-terraform-teleport.yaml321 #------------------------------------COMMENT
MEDIUM…egrations/terraform/protoc-gen-terraform-teleport.yaml334 #------------------------------------COMMENT
MEDIUMrfd/0207-vnet-ssh.md215# ---------------------------------------------------------------------COMMENT
MEDIUMrfd/0207-vnet-ssh.md218# ---------------------------------------------------------------------COMMENT
MEDIUM⚡mobile/Verify/Verify/App Lifecycle/VerifyApp.swift45/// ┌─────────────┐ ┌──────────────────┐COMMENT
MEDIUM⚡mobile/Verify/Verify/App Lifecycle/VerifyApp.swift46/// │ VerifyApp │───────Owns────────▶│ VerifyAppModel │COMMENT
MEDIUM⚡mobile/Verify/Verify/App Lifecycle/VerifyApp.swift47/// └─────────────┘ └──────────────────┘COMMENT
MEDIUM⚡mobile/Verify/Verify/App Lifecycle/VerifyApp.swift57/// ┌───────────────┐ ┌────────────────────┐COMMENT
MEDIUM⚡mobile/Verify/Verify/App Lifecycle/VerifyApp.swift59/// └───────────────┘ └────────────────────┘COMMENT
MEDIUM⚡examples/identity-activity-center/policy.tf1# ========================================COMMENT
MEDIUM⚡examples/identity-activity-center/policy.tf3# ========================================COMMENT
MEDIUM⚡examples/identity-activity-center/policy.tf28# ========================================COMMENT
MEDIUM⚡examples/identity-activity-center/policy.tf30# ========================================COMMENT
MEDIUM⚡examples/identity-activity-center/policy.tf40# ========================================COMMENT
MEDIUM⚡examples/identity-activity-center/policy.tf42# ========================================COMMENT
MEDIUM⚡examples/identity-activity-center/policy.tf48 # ========================================COMMENT
MEDIUM⚡examples/identity-activity-center/policy.tf50 # ========================================COMMENT
MEDIUMexamples/identity-activity-center/policy.tf73 # ========================================COMMENT
MEDIUMexamples/identity-activity-center/policy.tf75 # ========================================COMMENT
MEDIUMexamples/identity-activity-center/policy.tf110 # ========================================COMMENT
MEDIUMexamples/identity-activity-center/policy.tf112 # ========================================COMMENT
MEDIUMexamples/identity-activity-center/policy.tf134 # ========================================COMMENT
MEDIUMexamples/identity-activity-center/policy.tf136 # ========================================COMMENT
MEDIUMexamples/identity-activity-center/policy.tf169 # ========================================COMMENT
MEDIUMexamples/identity-activity-center/policy.tf171 # ========================================COMMENT
MEDIUMexamples/identity-activity-center/policy.tf194# ========================================COMMENT
MEDIUMexamples/identity-activity-center/policy.tf196# ========================================COMMENT
MEDIUM⚡…s/identity-activity-center/identity_activity_center.tf1# ========================================COMMENT
MEDIUM⚡…s/identity-activity-center/identity_activity_center.tf3# ========================================COMMENT
MEDIUM⚡…s/identity-activity-center/identity_activity_center.tf25# ========================================COMMENT
MEDIUM⚡…s/identity-activity-center/identity_activity_center.tf27# ========================================COMMENT
MEDIUM⚡…s/identity-activity-center/identity_activity_center.tf35# ========================================COMMENT
MEDIUM⚡…s/identity-activity-center/identity_activity_center.tf37# ========================================COMMENT
MEDIUM⚡…s/identity-activity-center/identity_activity_center.tf271# ========================================COMMENT
MEDIUM⚡…s/identity-activity-center/identity_activity_center.tf273# ========================================COMMENT
MEDIUM…s/identity-activity-center/identity_activity_center.tf75# ========================================COMMENT
MEDIUM…s/identity-activity-center/identity_activity_center.tf77# ========================================COMMENT
MEDIUM…s/identity-activity-center/identity_activity_center.tf126# ========================================COMMENT
MEDIUM…s/identity-activity-center/identity_activity_center.tf128# ========================================COMMENT
MEDIUM…s/identity-activity-center/identity_activity_center.tf195# ========================================COMMENT
MEDIUM…s/identity-activity-center/identity_activity_center.tf197# ========================================COMMENT
MEDIUM…s/identity-activity-center/identity_activity_center.tf489# ========================================COMMENT
MEDIUM…s/identity-activity-center/identity_activity_center.tf491# ========================================COMMENT
MEDIUM…s/identity-activity-center/identity_activity_center.tf532# ========================================COMMENT
MEDIUM…s/identity-activity-center/identity_activity_center.tf534# ========================================COMMENT
MEDIUM…s/identity-activity-center/identity_activity_center.tf569# ========================================COMMENT
MEDIUM…s/identity-activity-center/identity_activity_center.tf571# ========================================COMMENT
MEDIUM⚡lib/web/app/https_tunnel.go58// ┌─────────────────────────────────────────────────────────────────┐COMMENT
MEDIUM⚡lib/web/app/https_tunnel.go60// │ ┌───────────────────────────────────────────────────────────┐ │COMMENT
MEDIUM⚡lib/web/app/https_tunnel.go62// │ └───────────────────────────────────────────────────────────┘ │COMMENT
MEDIUM⚡lib/web/app/https_tunnel.go63// └─────────────────────────────────────────────────────────────────┘COMMENT
MEDIUMlib/vnet/opensshconfig.go269const generatedFileHeader = `# ---------------------------------------------------------------------CODE
MEDIUMlib/vnet/opensshconfig.go272# ---------------------------------------------------------------------COMMENT
MEDIUM⚡lib/srv/alpnproxy/aws_local_proxy.go90// ├────────────────────────►│ forward │ │COMMENT
MEDIUM⚡lib/srv/alpnproxy/aws_local_proxy.go91// │ ├───────────────────►│ re-sign │COMMENT
MEDIUM⚡lib/srv/alpnproxy/aws_local_proxy.go92// │ │ ├──────────────────────►│COMMENT
MEDIUM⚡lib/srv/alpnproxy/aws_local_proxy.go94// │ │ │◄──────────────────────┤COMMENT
MEDIUM⚡lib/srv/alpnproxy/aws_local_proxy.go95// │ │◄───────────────────┤ │COMMENT
15 more matches not shown…
Fake / Example Data232 hits · 262 pts
SeverityFileLineSnippetContext
LOWweb/packages/design/src/Tooltip/IconTooltip.story.tsx89 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOWweb/packages/design/src/Tooltip/IconTooltip.story.tsx89 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOWweb/packages/design/src/Tooltip/IconTooltip.story.tsx110 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOWweb/packages/design/src/Tooltip/IconTooltip.story.tsx110 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOWweb/packages/design/src/Card/Card.story.tsx54 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus ligula leo, dictum ac bibendum ut, dapibus sed ex. MCODE
LOWweb/packages/design/src/Card/Card.story.tsx54 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus ligula leo, dictum ac bibendum ut, dapibus sed ex. MCODE
LOWweb/packages/design/src/CardTile/CardTile.story.tsx57 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus ligula leo, dictum ac bibendum ut, dapibus sed ex. MCODE
LOWweb/packages/design/src/CardTile/CardTile.story.tsx57 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus ligula leo, dictum ac bibendum ut, dapibus sed ex. MCODE
LOWweb/packages/design/src/Alert/Alert.controls.story.tsx57 children: 'Lorem ipsum dolor sit amet',CODE
LOWweb/packages/design/src/Alert/Alert.controls.story.tsx57 children: 'Lorem ipsum dolor sit amet',CODE
LOWweb/packages/design/src/Mark/Mark.story.tsx31 Some texts to demonstrate word <M>markings</M>. Lorem ipsum dolor sit amet{' '}CODE
LOWweb/packages/design/src/Mark/Mark.story.tsx31 Some texts to demonstrate word <M>markings</M>. Lorem ipsum dolor sit amet{' '}CODE
LOWweb/packages/design/src/StepSlider/StepSlider.story.tsx104 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOWweb/packages/design/src/StepSlider/StepSlider.story.tsx104 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOWweb/packages/design/src/StepSlider/StepSlider.story.tsx139 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOWweb/packages/design/src/StepSlider/StepSlider.story.tsx139 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOWweb/packages/design/src/StepSlider/StepSlider.story.tsx200 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOWweb/packages/design/src/StepSlider/StepSlider.story.tsx200 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOWweb/packages/design/src/StepSlider/StepSlider.story.tsx268 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOWweb/packages/design/src/StepSlider/StepSlider.story.tsx268 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOWweb/packages/design/src/StepSlider/StepSlider.story.tsx306 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOWweb/packages/design/src/StepSlider/StepSlider.story.tsx306 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW⚡web/packages/design/src/Button/buttons.story.tsx277 <MenuItem onClick={() => alert('Lorem ipsum dolor sit amet')}>CODE
LOW⚡web/packages/design/src/Button/buttons.story.tsx277 <MenuItem onClick={() => alert('Lorem ipsum dolor sit amet')}>CODE
LOW⚡web/packages/design/src/Button/buttons.story.tsx278 Lorem ipsum dolor sit ametCODE
LOW⚡web/packages/design/src/Button/buttons.story.tsx278 Lorem ipsum dolor sit ametCODE
LOW⚡web/packages/design/src/Button/buttons.story.tsx299 <Button>Lorem Ipsum</Button>CODE
LOW⚡web/packages/design/src/Button/buttons.story.tsx300 <Button>Dolor Sit Amet</Button>CODE
LOW⚡web/packages/design/src/Button/buttons.story.tsx303 <Button>Lorem Ipsum</Button>CODE
LOW⚡web/packages/design/src/Button/buttons.story.tsx304 <Button>Dolor Sit Amet</Button>CODE
LOW⚡web/packages/design/src/Button/buttons.story.tsx322 <Button>Lorem Ipsum</Button>CODE
LOW⚡web/packages/design/src/Button/buttons.story.tsx323 <Button>Dolor Sit Amet</Button>CODE
LOW⚡web/packages/design/src/Button/buttons.story.tsx333 <Button>Lorem Ipsum</Button>CODE
LOW⚡web/packages/design/src/Button/buttons.story.tsx334 <Button>Dolor Sit Amet</Button>CODE
LOW⚡web/packages/design/src/Button/buttons.story.tsx343 <Button minWidth="fit-content">Lorem Ipsum</Button>CODE
LOW⚡web/packages/design/src/Button/buttons.story.tsx344 <Button minWidth="fit-content">Dolor Sit Amet</Button>CODE
LOW⚡web/packages/design/src/Button/buttons.story.tsx347 <Button minWidth="fit-content">Lorem Ipsum</Button>CODE
LOW⚡web/packages/design/src/Button/buttons.story.tsx348 <Button minWidth="fit-content">Dolor Sit Amet</Button>CODE
LOWweb/packages/design/src/theme/typography.story.jsx223const sample = `Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the induCODE
LOWweb/packages/design/src/Menu/Menu.story.tsx102 <MenuItem>Lorem ipsum</MenuItem>CODE
LOWweb/packages/design/src/Menu/Menu.story.tsx103 <MenuItem>Dolor sit amet</MenuItem>CODE
LOWweb/packages/design/src/Menu/Menu.story.tsx114 <MenuItem>Lorem ipsum</MenuItem>CODE
LOWweb/packages/design/src/Menu/Menu.story.tsx115 <MenuItem>Dolor sit amet</MenuItem>CODE
LOWweb/packages/design/src/Menu/Menu.story.tsx127 <MenuItem>Lorem ipsum</MenuItem>CODE
LOWweb/packages/design/src/Menu/Menu.story.tsx128 <MenuItem>Dolor sit amet</MenuItem>CODE
LOW⚡web/packages/design/src/Text/Text.story.tsx68 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW⚡web/packages/design/src/Text/Text.story.tsx68 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW⚡web/packages/design/src/Text/Text.story.tsx72 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW⚡web/packages/design/src/Text/Text.story.tsx72 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW⚡web/packages/design/src/Text/Text.story.tsx76 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW⚡web/packages/design/src/Text/Text.story.tsx76 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW⚡web/packages/design/src/Text/Text.story.tsx82 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW⚡web/packages/design/src/Text/Text.story.tsx82 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW⚡web/packages/design/src/Text/Text.story.tsx86 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW⚡web/packages/design/src/Text/Text.story.tsx86 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW⚡web/packages/design/src/Text/Text.story.tsx90 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW⚡web/packages/design/src/Text/Text.story.tsx90 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW…/design/src/DataTable/InputSearch/InputSearch.test.tsx45 await user.paste('Lorem ipsum delor sit amet.');CODE
LOW…/design/src/DataTable/InputSearch/InputSearch.test.tsx50 'Lorem ipsum delor sit amet.'CODE
LOWweb/packages/teleport/src/config.test.ts167 loginHint: 'user@example.com',CODE
172 more matches not shown…
AI Slop Vocabulary45 hits · 134 pts
SeverityFileLineSnippetContext
MEDIUMweb/packages/teleport/src/Navigation/Navigation.tsx311// can utilize `safePolygon` w/ `requireIntent` for `handleClose` here instead of `restMs`,COMMENT
MEDIUM…egrations/terraform/protoc-gen-terraform-teleport.yaml377 # host-based dialing and IP-based dialing) which is more robust than itsCOMMENT
MEDIUM…form/provider/internal/legacy/resource_teleport_bot.go51// In order to make migration as seamless as possible, and to avoid breaking theCOMMENT
MEDIUM…rraform/examples/resources/teleport_server/resource.tf8 // host-based dialing and IP-based dialing) which is more robust than itsCOMMENT
MEDIUM…rraform/examples/resources/teleport_server/resource.tf24 // robust than host-based and IP-based dialing (because several serverCOMMENT
MEDIUM…ations/terraform/testlib/client_ip_restriction_test.go147 // used so the test is robust to leftover state from earlier steps.COMMENT
MEDIUMintegrations/access/common/bot.go27// Implementing this interface allows to leverage BaseApp logic without customization.COMMENT
MEDIUM…port/discovery/azure/examples/management-group/main.tf30 # See https://learn.microsoft.com/en-us/azure/role-based-access-control/elevate-access-global-adminCOMMENT
MEDIUMexamples/chart/teleport-cluster/values.yaml200# Default mode will not utilize TLS routing and operate in backwards-compatibility mode.COMMENT
MEDIUMexamples/chart/teleport-kube-agent/values.yaml48# Teleport Enterprise clusters to allow the agent to leverage enterprise features.COMMENT
MEDIUMexamples/chart/teleport-proxy/values.yaml155# The "separate" mode will not utilize TLS routing and operate inCOMMENT
MEDIUMexamples/chart/teleport-relay/values.yaml37# clusters to allow the agent to leverage enterprise features.COMMENT
MEDIUM⚡examples/identity-activity-center/policy.tf5# This Terraform configuration creates comprehensive IAM policies for the IdentityCOMMENT
MEDIUM⚡…s/identity-activity-center/identity_activity_center.tf5# This Terraform configuration provisions a comprehensive Identity Activity CenterCOMMENT
MEDIUM⚡…s/identity-activity-center/identity_activity_center.tf283# Glue table definition for identity events with comprehensive schemaCOMMENT
MEDIUMlib/tbot/internal/carotation/service.go106// We can leverage the existing renewal system to fetch new certificates andCOMMENT
MEDIUMlib/tbot/workloadidentity/trust_bundle_cache.go237// can leverage the main bot identity.COMMENT
MEDIUMlib/join/genericoidc/validator_test.go231 // Essentially the same as the handler above, but without HTTP. Not quiteCOMMENT
MEDIUMlib/multiplexer/wrappers.go192 mux, err := New(cfg) // Creating Mux to leverage protocol detection with PROXY headersCODE
MEDIUMlib/auth/auth_with_roles.go108// underlying unscoped access checker is unwrapped in order to leverage specific features not yet ported overCOMMENT
MEDIUMlib/auth/auth_with_roles.go117// scoped permissions. This method may be useful if an unscoped API needs to leverage functionality thatCOMMENT
MEDIUMlib/auth/authtest/authtest.go1097 // use multiplexer to leverage support for proxy protocol.COMMENT
MEDIUMlib/auth/storage/storage.go24// that cgo is enbaled in order to leverage sqlite.COMMENT
MEDIUMlib/web/machineid.go69// listBots returns a list of bots for a given cluster site. It does not leverage pagination from the UI. Due to theCOMMENT
LOWlib/web/scripts/node-join/install.sh426 # for MacOS (and Linux without procfs, if that ever happens), we just use the original behaviourCOMMENT
MEDIUMlib/autoupdate/agent/setup.go647 // configurable until a more robust escaping mechanism is shipped.COMMENT
MEDIUMlib/utils/genmap/genmap.go181// reason a robust 'cleanup' strategy should also include providing a generator that returns errors when called for keysCOMMENT
MEDIUMlib/sshutils/sftp/sftp.go483// assertStreamsType checks if reader or writer implements correct interface to utilize concurrent SFTP streams.COMMENT
MEDIUMlib/kube/proxy/forwarder.go2193 // Otherwise, use kube-teleport-proxy-alpn.teleport.cluster.local to pass TLS handshake and leverage TLS Routing.COMMENT
MEDIUMlib/kube/proxy/utils_test.go766// and ResumeAuditStream methods to use a events.TeeStreamer to leverage the StreamEmitterCOMMENT
MEDIUMlib/kube/grpc/utils_test.go658// and ResumeAuditStream methods to use a events.TeeStreamer to leverage the StreamEmitterCOMMENT
MEDIUMlib/service/service.go2846 // use multiplexer to leverage support for proxy protocol.COMMENT
MEDIUMlib/service/service.go3927 // Use multiplexer to leverage support for signed PROXY protocol headers.COMMENT
MEDIUMlib/scopes/access/compat.go194 // different and less robust feature than the source ip pinning of classic teleport roles. In classic teleportCOMMENT
MEDIUMlib/scopes/access/compat.go197 // equivalent feature would ever be so robust. In light of that, it may be more desirable either to neverCOMMENT
MEDIUMlib/scopes/access/access.go160// StrongValidateRole performs robust validation of a role to ensure it complies with all expected constraints. PreferCOMMENT
MEDIUMlib/scopes/access/access.go416// StrongValidateAssignment performs robust validation of an assignment to ensure it complies with all expected constraiCOMMENT
MEDIUMlib/client/api.go1250// GetKubeTLSServerName returns k8s server name used in KUBECONFIG to leverage TLS Routing.COMMENT
MEDIUMlib/services/access_request_cache.go162 // stale cache state causes spurious errors due to users trying to utilize an access request immediately after it getsCOMMENT
MEDIUMlib/services/local/workload_identity.go255 // For scoped wids, we need to leverage a "skeleton" rather than theCOMMENT
MEDIUMlib/services/local/access_list.go2046 // leverage its own internal chunking to write items to the backend in smaller batches.COMMENT
MEDIUMlib/services/local/access_list.go2119 // leverage its own internal chunking to write items to the backend in smaller batches.COMMENT
MEDIUMlib/services/local/generic/generic_test.go130 // Mimic the behavior of resources that utilize protojson such as `PluginStaticCredentials` whichCOMMENT
LOWbuild.assets/changelog.sh112 # If BASE_BRANCH is set, just use that. Otherwise try to figure it out.COMMENT
LOWbuild.assets/changelog.sh151 # If BASE_TAG is set, just use that, otherwise figure out the last versionCOMMENT
Self-Referential Comments17 hits · 50 pts
SeverityFileLineSnippetContext
MEDIUM…es/teleport/src/Bots/Add/GitHubActionsK8s/templates.ts35const GHA_WORKFLOW = `# This file contains a GitHub Actions workflow which enrolls with Teleport inCODE
MEDIUMdocs/pages/includes/config-reference/proxy-service.yaml196 # Define a new version channel with a static versionCOMMENT
MEDIUMdocs/pages/includes/config-reference/proxy-service.yaml200 # Define a new version channel forwarding requests to an upstream version serverCOMMENT
MEDIUM…orm/examples/resources/teleport_bot/scoped-resource.tf8# Create the bot roleCOMMENT
MEDIUM…orm/examples/resources/teleport_bot/scoped-resource.tf31# Create the botCOMMENT
MEDIUM…rm-modules/teleport/discovery/aws/aws_oidc_provider.tf27# Create an AWS OIDC Provider, so that the Teleport Discovery Service can useCOMMENT
MEDIUMexamples/chart/teleport-cluster/values.yaml581 # Create the secret in the same namespace as Teleport using `kubectl create secret tls my-tls-secret --cert=/path/to/cCOMMENT
MEDIUMexamples/chart/teleport-cluster/values.yaml587 # Create the secret with `kubectl create secret generic --from-file=ca.pem=/path/to/root-ca.pemCOMMENT
MEDIUMexamples/chart/teleport-proxy/values.yaml347 # Create the secret in the same namespace as Teleport using:COMMENT
MEDIUMexamples/chart/teleport-proxy/values.yaml357 # Create the secret with:COMMENT
MEDIUMexamples/k8s-auth/get-kubeconfig.sh113# Create the secret and bind it to the desired SACOMMENT
MEDIUMlib/web/scripts/node-join/install.sh472 # This file is processed by `shellschek` as part of the lint stepCOMMENT
MEDIUMlib/web/scripts/node-join/install.sh513 # This file is processed by `shellschek` as part of the lint stepCOMMENT
MEDIUMlib/web/scripts/node-join/install.sh552 # This file is processed by `shellschek` as part of the lint stepCOMMENT
MEDIUMbuild.assets/please-run.sh27 # Create a GitHub errorCOMMENT
MEDIUMbuild.assets/keychain-setup.sh61# Create a keychain ($1) with a password ($2) and put it on the user keychainCOMMENT
MEDIUMassets/loadtest/azure/.terraform.lock.hcl1# This file is maintained automatically by "tofu init".COMMENT
Structural Annotation Overuse28 hits · 49 pts
SeverityFileLineSnippetContext
LOWintegration/helpers/timeouts.go30// NOTE: This function modifies global values for timeouts, etc. If your testsCOMMENT
LOWintegrations/terraform/testlib/bot_test.go308 // Step 1: Create bot with scopeCOMMENT
LOWintegrations/terraform/testlib/bot_test.go339 // Step 3: Change bot scope (should force replacement)COMMENT
LOW⚡lib/auth/accountrecovery_test.go1003 // Step 1: Obtain a start token.COMMENT
LOW⚡lib/auth/accountrecovery_test.go1007 // Step 2: Obtain an approval token using the start token.COMMENT
LOW⚡lib/auth/accountrecovery_test.go1017 // Step 3: Complete recovery with the obtained approved token.COMMENT
LOW⚡lib/auth/authclient/api.go1363 // NOTE: This method is intentionally available only for the auth serverCOMMENT
LOW⚡lib/auth/authclient/api.go1370 // NOTE: This method is intentionally available only for the auth serverCOMMENT
LOW⚡lib/auth/authclient/api.go1376 // NOTE: This method is intentionally available only for the auth serverCOMMENT
LOW⚡lib/auth/authclient/api.go1382 // NOTE: This method is intentionally available only for the auth serverCOMMENT
LOWlib/services/access_list.go417 // Step 1: Check owner filter if providedCOMMENT
LOWlib/services/access_list.go429 // Step 2: Check role filter if providedCOMMENT
LOW⚡lib/services/access_list.go441 // Step 3: check the originCOMMENT
LOW⚡lib/services/access_list.go446 // Step 4: Check search filter if providedCOMMENT
LOWlib/services/resource.go877// NOTE: This function only supports the subset of resources which may be imported/exportedCOMMENT
LOWlib/services/resource.go902// NOTE: This function only supports the subset of resources which may be imported/exportedCOMMENT
LOWlib/services/local/resource.go41// NOTE: This function is non-atomic and performs no internal synchronization;COMMENT
LOWskills/teleport-acl-review/SKILL.md27## Step 1: Gather Details for Access Lists Due for ReviewCOMMENT
LOWskills/teleport-acl-review/SKILL.md42## Step 2: Assess Risk for Each ListCOMMENT
LOWskills/teleport-acl-review/SKILL.md64## Step 3: Present Findings TableCOMMENT
LOWskills/teleport-acl-review/SKILL.md78## Step 4: Ask for ConfirmationCOMMENT
LOWskills/teleport-acl-review/SKILL.md89## Step 5: Submit Auto-ReviewsCOMMENT
LOWskills/teleport-acl-review/SKILL.md106## Step 6: Show Manual Review URLsCOMMENT
LOWskills/teleport-session-review/SKILL.md52## Step 1: Choose the Right CommandCOMMENT
LOWskills/teleport-session-review/SKILL.md73## Step 2: List Recent RecordingsCOMMENT
LOWskills/teleport-session-review/SKILL.md94## Step 3: Search RecordingsCOMMENT
LOWskills/teleport-session-review/SKILL.md219## Step 4: Present the Findings TableCOMMENT
LOWskills/teleport-session-review/SKILL.md245## Step 5: Offer Next Actions (Confirm First)COMMENT
Synthetic Comment Markers6 hits · 45 pts
SeverityFileLineSnippetContext
HIGH…b/packages/teleport/src/services/agents/agents.test.ts44 // Test all fields gets set as requested.COMMENT
HIGHlib/usagereporter/teleport/aggregating/reporter.go333 // sessionSummariesGenerated tracks AI-generated session summaries with token usageCOMMENT
HIGHlib/events/athena/querier.go903 // We have the same amount of results as requested, return keysetCOMMENT
HIGHlib/services/access_request.go2661// the underlying resources are the same as requested. If the resource requestedCOMMENT
HIGHlib/srv/desktop/rdp/rdpclient/src/rdpdr/tdp.rs345/// with the data as requested by a SharedDirectoryReadRequest.COMMENT
HIGHtool/tctl/common/recordings/tui.go34// SummaryGetter fetches the AI-generated summary for a recorded session.COMMENT
Slop Phrases10 hits · 25 pts
SeverityFileLineSnippetContext
LOW…ort/src/Bots/Add/GitHubActionsSsh/AddBotToWorkflow.tsx99 ${includeNameComment ? '# if you added a workflow name in the previous step, make sure you use the same value here' CODE
LOWdocs/pages/includes/config-reference/jamf-service.yaml9 # If you have multiple Jamf sources, make sure to give them distinct,COMMENT
MEDIUMdocs/pages/includes/config-reference/auth-service.yaml125 # To change the name of an existing cluster, you can useCOMMENT
MEDIUM…Verify/Features/Enrollment/EnrollDeviceViewModel.swift67 // The code that follows in this function is for demonstration purposes only.COMMENT
MEDIUMexamples/chart/teleport-kube-agent/values.yaml203# After configuring a role, you can use an `eks.amazonaws.com/role-arn` annotation with the `annotations.serviceAccounCOMMENT
MEDIUMexamples/chart/teleport-kube-agent/values.yaml1065 # To create your own join token secret, you can use a command like this:COMMENT
MEDIUMexamples/chart/event-handler/values.yaml268 # Alternatively, you can use `ClusterIssuer` for a cluster-wide issuer.COMMENT
MEDIUMexamples/chart/teleport-relay/values.yaml106 # To create your own join token secret, you can use a command like this:COMMENT
MEDIUMlib/tbot/internal/sds/handler.go241 // It's worth noting that we'll receive an IOF/Canceled errorCOMMENT
LOWlib/authz/middleware.go140 // when turning intermediaries on, don't forget to verifyCOMMENT
Verbosity Indicators13 hits · 23 pts
SeverityFileLineSnippetContext
LOWintegrations/terraform/testlib/bot_test.go308 // Step 1: Create bot with scopeCOMMENT
LOWintegrations/terraform/testlib/bot_test.go339 // Step 3: Change bot scope (should force replacement)COMMENT
LOW⚡lib/auth/accountrecovery_test.go1003 // Step 1: Obtain a start token.COMMENT
LOW⚡lib/auth/accountrecovery_test.go1007 // Step 2: Obtain an approval token using the start token.COMMENT
LOW⚡lib/auth/accountrecovery_test.go1017 // Step 3: Complete recovery with the obtained approved token.COMMENT
LOWlib/web/apiserver.go1533 // but the purpose of this function is specifically to discoverCOMMENT
LOWlib/kube/proxy/forwarder.go1383 // If we were not granted access to any kube users or groups, we need to check if we should bypass auth for aCOMMENT
LOWlib/services/access_list.go417 // Step 1: Check owner filter if providedCOMMENT
LOWlib/services/access_list.go429 // Step 2: Check role filter if providedCOMMENT
LOW⚡lib/services/access_list.go441 // Step 3: check the originCOMMENT
LOW⚡lib/services/access_list.go446 // Step 4: Check search filter if providedCOMMENT
LOWlib/services/local/users.go372 // if the user has no local auth, we need to check if the userCOMMENT
LOWlib/srv/db/redis/cmds.go168 // Redis sets "default" as a default username. Here we need to check if the "implicit" usernameCOMMENT
Redundant / Tautological Comments10 hits · 15 pts
SeverityFileLineSnippetContext
LOW…s/pages/includes/config-reference/database-config.yaml234 # Set is_flexi_server to true when using an Azure flexible server.COMMENT
LOWexamples/chart/index.html13 # Set clusterName to a unique hostname, for example teleport.example.comCOMMENT
LOWexamples/chart/index.html14 # Set acmeEmail to receive correspondence from Letsencrypt certificate authority.COMMENT
LOWexamples/chart/teleport-cluster/values.yaml270# Set enterprise to true to use enterprise imageCOMMENT
LOWexamples/chart/teleport-cluster/values.yaml282 # Set enabled to true to add the Kubernetes Teleport OperatorCOMMENT
LOWbuild.assets/build-fido2-macos.sh17# Set C_ARCH to $(uname -m) if unset, and validate supported architectureCOMMENT
LOWbuild.assets/build-fido2-macos.sh78 # Check if another builder beat us. Builds _should_ be equivalent.COMMENT
LOWassets/install-scripts/license-check.sh32 # Check if OpenSSL is installedCOMMENT
LOWassets/install-scripts/license-check.sh51 # Check if the license is issued before Jan 01 2024COMMENT
LOWassets/install-scripts/license-check.sh61 # Check if the license validity exceeds four years and was issued before the cutoffCOMMENT
Example Usage Blocks7 hits · 11 pts
SeverityFileLineSnippetContext
LOW⚡examples/identity-activity-center/policy.tf15# Usage:COMMENT
LOWlib/tfgen/transform/machineid.go35// Example usage:COMMENT
LOWlib/limiter/limiter.go90// Example usage:COMMENT
LOWlib/observability/metrics/registry.go56// Example usage:COMMENT
LOWlib/observability/metrics/registry.go83// Example usage:COMMENT
LOWlib/itertools/iterator.go38// Example usage:COMMENT
LOWapi/observability/tracing/tracing.go62// Example usage:COMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMintegrations/operator/main.go196 //+kubebuilder:scaffold:builderCOMMENT
MEDIUMtool/tctl/common/accesslist/command.go465// This is useful for agentic workflows to get all high signal information aboutCOMMENT
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…packages/shared/components/Markdown/Markdown.story.tsx158 print("Here's a code block")CODE
Excessive Try-Catch Wrapping3 hits · 5 pts
SeverityFileLineSnippetContext
LOW⚡…amples/mcp-servers/verify-teleport-jwt-fastmcp/main.py40 except Exception as e:CODE
LOW⚡…amples/mcp-servers/verify-teleport-jwt-fastmcp/main.py49 except Exception as e:CODE
MEDIUM…amples/mcp-servers/verify-teleport-jwt-fastmcp/main.py37def get_teleport_cluster_name() -> str:CODE