{"id":18524540,"url":"https://github.com/stelligent/config-rule-status","last_synced_at":"2025-04-09T12:30:54.531Z","repository":{"id":145835073,"uuid":"54233865","full_name":"stelligent/config-rule-status","owner":"stelligent","description":"A project to create AWS Config Rules and use them to test AWS Resource compliance.","archived":false,"fork":false,"pushed_at":"2020-01-07T16:36:45.000Z","size":71,"stargazers_count":21,"open_issues_count":2,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-24T05:27:03.810Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stelligent.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-18T21:56:04.000Z","updated_at":"2021-09-30T23:03:20.000Z","dependencies_parsed_at":"2023-07-16T16:46:20.202Z","dependency_job_id":null,"html_url":"https://github.com/stelligent/config-rule-status","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stelligent%2Fconfig-rule-status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stelligent%2Fconfig-rule-status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stelligent%2Fconfig-rule-status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stelligent%2Fconfig-rule-status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stelligent","download_url":"https://codeload.github.com/stelligent/config-rule-status/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248040088,"owners_count":21037813,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T17:42:21.970Z","updated_at":"2025-04-09T12:30:54.519Z","avatar_url":"https://github.com/stelligent.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# config-rule-status\n\n## What it Does\n- Setup resource monitoring using AWS Config.\n- Create security compliance rules using AWS Config Rules, including both AWS-managed and custom rules.\n- Create AWS Lambda functions that implement infrastructure security tests (for the custom rules).\n- Create an AWS Lambda function to aggregate the Config Rule compliance statuses and return an overall \"PASS\" or \"FAIL\".  This function is designed to be used as a Security Integration Test as part of a CD pipeline.\n- Provide a CLI (via gulp) for creating and updating the associated resources in AWS.\n\n## Installation\n**Prerequisites**\n```\naws cli\nnpm install --global serverless@0.5.5\nnpm install --global gulp-cli\n\n```\n\n**Clone the source and set environment variables**\n```\n==\u003e git clone https://github.com/stelligent/config-rule-status.git\n```\n\n**Install packages and configure:**\n```\n==\u003e cd config-rule-status\n==\u003e npm install\n```\n\n**Initialize the project:**\n```\n==\u003e gulp init \\\n--region us-east-1 \\\n--stage prod \\\n--name config-rule-status \\\n--awsProfile yourProfileName \\\n--email user@company.com\n```\n\n**Build the project:**\n```\n==\u003e gulp build\n```\n\n## Execution\n\n**Run Tests**\n```\n==\u003e gulp test:local\n```\n\n**Deploy to AWS**\n```\n==\u003e gulp deploy:lambda --stage prod --region us-east-1\n==\u003e gulp deploy:config --stage prod --region us-east-1\n```\n\n**Verify Deploy and/or Integrate into a CD pipeline**\n```\n==\u003e gulp verify --stage prod --region us-east-1\n```\n\n**View Lambda logs**\n```\n==\u003e gulp logs --stage prod --region us-east-1 --functionName cidrIngress --duration 1d\n```\n\n## Modifying\n\n**Create Additional Stages, Regions, and Functions**\n\nUse the Serverless CLI to add new configurations and functionality:\nhttp://docs.serverless.com/docs/commands-overview\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstelligent%2Fconfig-rule-status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstelligent%2Fconfig-rule-status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstelligent%2Fconfig-rule-status/lists"}