cmd

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package cmd implements the postura CLI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the postura CLI.

Types

type Facts

type Facts struct {
	Enterprise map[string]any   `json:"enterprise,omitempty"`
	Orgs       []map[string]any `json:"orgs,omitempty"`
	Repos      []map[string]any `json:"repos,omitempty"`
}

Facts is the collected-facts document: the unit passed between `collect` and `eval`, and produced in-memory by `run`. Orgs and their repos are flat lists so a single run can audit several orgs; each repo fact carries its own owner.

Jump to

Keyboard shortcuts

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