aws

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package aws provides AWS-related secret detectors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessKeyID

type AccessKeyID struct{}

AccessKeyID detects AWS Access Key IDs.

func (*AccessKeyID) Description

func (d *AccessKeyID) Description() string

Description returns a human-readable description of the detector.

func (*AccessKeyID) ID

func (d *AccessKeyID) ID() string

ID returns the unique identifier of the AWS Access Key ID detector.

func (*AccessKeyID) Keywords

func (d *AccessKeyID) Keywords() []string

Keywords returns the Aho-Corasick pre-filter keywords for detection.

func (*AccessKeyID) Scan

func (d *AccessKeyID) Scan(_ context.Context, data []byte) []detector.RawFinding

Scan searches the data for AWS Access Key ID patterns.

When a co-located AWS Secret Access Key is found within a bounded window of an Access Key ID, it is attached to the finding via RawV2 so the AWS verifier can perform a live STS check. RawV2 is consumed only in-memory by the verifier and is never serialized into output, so the secret key is never exposed in a report.

func (*AccessKeyID) Severity

func (d *AccessKeyID) Severity() finding.Severity

Severity returns the default severity for AWS Access Key ID findings.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL