aws

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package aws implements the read-only AWS cloud posture connector.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LeastPrivilegeActions

func LeastPrivilegeActions() []string

LeastPrivilegeActions returns a copy of the read-only AWS permission manifest.

Types

type Connector

type Connector struct {
	// contains filtered or unexported fields
}

Connector obtains credential material only from the credential vault.

func New

func New(vault ports.CredentialVault, opts Options) (*Connector, error)

New creates a read-only AWS connector. Credentials are resolved when a scope runs.

func (*Connector) Enumerate

Enumerate records every observed resource and never treats incomplete account coverage as clean.

func (*Connector) Evaluate

Evaluate delegates all SDK-neutral posture evaluation to the domain.

type Options

type Options struct {
	Region                  string
	Endpoint                string
	HTTPClient              *http.Client
	MaxAccounts             int
	MaxResourcesPerCategory int
	RequestsPerSecond       int
}

Options bounds provider calls and permits an emulator endpoint in tests.

Jump to

Keyboard shortcuts

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