Summary
Extend Checklist Inspector so users can add checklist content from an in-TUI prompt instead of only loading YAML files manually.
Details
- Add an action menu or keybinding in Checklist Inspector that opens a prompt for adding checklist content.
- Prompts should be based on the current Checklist Inspector rulesets rather than free-floating text.
- Support all existing checklist rule types in
internal/inspector/checklist.go: rds, security_group, secret, hosted_zone, route53_record, vpc, subnet, cloudwatch_log_group, cloudtrail_baseline, guardduty_baseline, config_baseline, and elasticache_valkey_baseline.
- For each ruleset, present predefined prompt fields that map to the YAML schema. For example, security group prompts should ask for inbound/ingress expectations such as required or forbidden rules.
- Persist generated checklist entries to the existing checklist-file flow/location instead of keeping them session-only.
- Preserve the current file picker and
--checklist <path> behavior; prompt-based creation should be additive.
- Generated YAML should continue to load through the existing
LoadChecklist validation path so unknown fields and malformed values are caught consistently.
- Update help/keybinding text for Inspector mode, Checklist Inspector results, and Checklist Inspector detail screens as needed.
Checklist
Summary
Extend Checklist Inspector so users can add checklist content from an in-TUI prompt instead of only loading YAML files manually.
Details
internal/inspector/checklist.go:rds,security_group,secret,hosted_zone,route53_record,vpc,subnet,cloudwatch_log_group,cloudtrail_baseline,guardduty_baseline,config_baseline, andelasticache_valkey_baseline.--checklist <path>behavior; prompt-based creation should be additive.LoadChecklistvalidation path so unknown fields and malformed values are caught consistently.Checklist
internal/app/.internal/inspector/checklist.go.