Zum Hauptinhalt springen

Ausgabeformate

InfraGuard unterstützt drei Ausgabeformate: Tabelle, JSON und HTML.

Tabellenformat

Standardformat mit farbcodierter Konsolenausgabe. Am besten für interaktive Nutzung.

infraguard scan template.yaml -p pack:aliyun:quick-start-compliance-pack

JSON-Format

Maschinenlesbares Format für Automatisierung und CI/CD-Pipelines.

infraguard scan template.yaml -p pack:aliyun:quick-start-compliance-pack --format json

HTML-Format

Interaktiver Bericht mit Filter- und Suchfunktionen.

infraguard scan template.yaml -p pack:aliyun:quick-start-compliance-pack --format html -o report.html

Für detaillierte Beispiele siehe Vorlagen Scannen.