winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
5.06k stars 198 forks source link

Idea: AWS Conformance Packs Wing Plugin #2997

Open eladb opened 1 year ago

eladb commented 1 year ago

Feature Spec

Announcement: we have recently published a new Wing compiler plugin which can enforce AWS Conformance packs.

Install:

npm i @winglang/plugin-aws-conformance

Download your favorite pack:

wget https://github.com/awslabs/aws-config-rules/raw/master/aws-config-conformance-packs/Operational-Best-Practices-for-Amazon-S3.yaml

Use:

import { AwsConformance } from "@winglang/plugin-aws-conformance";
module.exports = new AwsConformance("./Operational-Best-Practices-for-Amazon-S3.yaml");

Use Cases

Enforce conformance to best practices on AWS

Implementation Notes

No response

Component

No response

Community Notes

garysassano commented 1 year ago

What's the difference between AWS Conformance packs and cdk-nag?

Since Wing builds CDKTF applications under the hood, shouldn't it use cdk-nag for enforcing rule packs? At least that's what I could understand from HERE.

github-actions[bot] commented 1 year ago

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

garysassano commented 1 year ago

Keep.

github-actions[bot] commented 8 months ago

Hi,

This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

github-actions[bot] commented 5 months ago

Hi,

This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!