type
Risk
type Risk struct {
// Code is a stable identifier suitable for CI policy.
Code string `json:"code"`
// Level classifies whether the finding is informational, risky, or destructive.
Level RiskLevel `json:"level"`
// Message explains the concrete impact and required review.
Message string `json:"message"`
}A stable machine-readable planning finding.
Source migration/migration.go:167
Codestring- Code is a stable identifier suitable for CI policy.
LevelRiskLevel- Level classifies whether the finding is informational, risky, or destructive.
Messagestring- Message explains the concrete impact and required review.
Risk levels are notice, warning, and destructive. CI can use Code and Level; Message explains the concrete review requirement.