happypathway/Terraform Plan Analyzer

Analyze Terraform plans for security and safety risks using Google's Gemini API

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
plan_pathPath to the Terraform plan JSON file to analyze (not required if using Terraform Cloud/Enterprise)no
gemini_api_keyGoogle Gemini API key for AI analysisyes
github_tokenGitHub token for creating PR comments with analysis resultsyes
issue_severity_thresholdMinimum severity level to flag as an issue (low, medium, high, critical)nomedium
fail_on_severityThe workflow will fail if issues at or above this severity are found (low, medium, high, critical)nohigh
include_plan_summaryInclude a simplified plan summary in the markdown PR commentnotrue
tfc_enabledEnable pulling plan from Terraform Cloud/Enterprisenofalse
tfc_tokenAPI token for Terraform Cloud/Enterpriseno
tfc_hostHostname for Terraform Cloud/Enterprise instancenoapp.terraform.io
tfc_organizationOrganization name in Terraform Cloud/Enterpriseno
tfc_workspaceWorkspace name in Terraform Cloud/Enterpriseno
tfc_run_idSpecific run ID to pull plan from (if not specified, will use latest run)no
namedescription
has_issuesTrue if security issues were found above the threshold
issue_countNumber of security issues found
highest_severityHighest severity level found (low, medium, high, critical)