aws-cloudformation / aws-cloudformation/cloudformation-guard

[Enhancement] Multiple CFT Ingest for Rulegen

Open
#177 0 comments 0 reactions 0 assignees View on GitHub
enhancement needs-research
Dominant language
Rust
Stars
1.4k
Forks
196
Avg merge
3d 6h
Merged PRs (30d)
5

Description

**Is your feature request related to a problem? Please describe.**
Not yet but it could become a problem.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Rules are generated by ONE template and may not become custom for multiple when there are 100's or 1000's of Cloudformation Templates.

**Describe the solution you'd like**
The ability for cfn-guard rulegen to generate rules from more than one or many CloudFormation Templates and provide a Rule "Blessing" for IaC to roll out.

A clear and concise description of what you want to happen.
e.g.,: cfn-guard rulegen -t file1.yaml file2.yaml file3.yaml -o IaCBless.rules
e.g.,: cfn-guard rulegen -folder -t ~/.CFT/* -o IaCBless.rules

**Describe alternatives you've considered**

A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
CFN-Guard would be an even greater tool for engineers if it learned from multiple CFT's what is ultimately allowed in an environment.

Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Research direction

Start at the cfn-guard rulegen command described in the issue and trace how a single -t template is currently handled. Define the supported multi-template or folder input and combined output behavior, then verify that rulegen accepts the examples and produces the requested rules.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.