Skip to main content
The resource command group lets you list, filter, and inspect cloud resources that InfraAudit discovered during provider syncs. Resources are not modified by any command in this group.

resource list

List all discovered resources with optional filters. Synopsis:
Examples:
Example output:

resource get

Show detailed information about a specific resource, including its metadata, tags, and any associated findings. Synopsis:
Example:
Example output (YAML):
Search resources by name or other attributes using a free-text query. Synopsis:
Example:
resource search searches across resource names and metadata. For precise filtering by type or region, use resource list with the appropriate flags.

resource delete

Remove a resource record from InfraAudit. This does not delete the actual cloud resource — it only removes the record from the InfraAudit database. Synopsis:
Example:
Deleted records are removed from InfraAudit and will not appear in future scans unless a provider sync rediscovers them.