{"id":13821333,"url":"https://github.com/nozaq/amazon-linux-cis","last_synced_at":"2025-05-16T12:33:12.124Z","repository":{"id":46669343,"uuid":"111681222","full_name":"nozaq/amazon-linux-cis","owner":"nozaq","description":"Bootstrap script for Amazon Linux to comply CIS Amazon Linux Benchmark v2.0.0","archived":true,"fork":false,"pushed_at":"2022-01-01T23:02:47.000Z","size":36,"stargazers_count":58,"open_issues_count":6,"forks_count":44,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-11-19T21:36:02.342Z","etag":null,"topics":["amazon-linux","aws","cis","hardening","security"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/nozaq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-22T12:26:37.000Z","updated_at":"2023-04-21T22:56:21.000Z","dependencies_parsed_at":"2022-08-19T13:41:04.630Z","dependency_job_id":null,"html_url":"https://github.com/nozaq/amazon-linux-cis","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nozaq%2Famazon-linux-cis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nozaq%2Famazon-linux-cis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nozaq%2Famazon-linux-cis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nozaq%2Famazon-linux-cis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nozaq","download_url":"https://codeload.github.com/nozaq/amazon-linux-cis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254530641,"owners_count":22086651,"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":["amazon-linux","aws","cis","hardening","security"],"created_at":"2024-08-04T08:01:20.117Z","updated_at":"2025-05-16T12:33:08.184Z","avatar_url":"https://github.com/nozaq.png","language":"Python","readme":"**This repositry is no longer maintained in favor of [CIS hardened AMIs](https://www.cisecurity.org/cis-hardened-images/amazon/).**\n\n# amazon-linux-cis\n\n[![CircleCI](https://circleci.com/gh/nozaq/amazon-linux-cis.svg?style=svg)](https://circleci.com/gh/nozaq/amazon-linux-cis)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/34bfe0c895814295a863a09c30437d34)](https://www.codacy.com/app/nozaq/amazon-linux-cis?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=nozaq/amazon-linux-cis\u0026utm_campaign=badger)\n\nBootstrap script for Amazon Linux to comply with [CIS Amazon Linux Benchmark v2.0.0](https://www.cisecurity.org/benchmark/amazon_linux/).\n\n## Usage\n```\n$ git clone https://github.com/nozaq/amazon-linux-cis.git .\n$ python ./amazon-linux-cis\n```\n\n## Available Arguments\nArgument (default value) | What it does\n------------ | -------------\n--time (169.254.169.123) | Specify the upstream time server\n--chrony *boolean* (true) | Use chrony for time synchronization\n--no-backup | Automatic config backup is disabled\n--clients *comma seperate list* | Specify a comma separated list of hostnames and host IP addresses\n-v --verbose | Enable verbose logging of utility\n--disable-tcp-wrappers | Disable installation of TCP Wrappers package\n--disable-pam | Disable the hardening of the PAM module\n--disable-iptables | Disable the installation of IPtables\n--disable-mount-options | Disable replacing the default */etc/fstab* mounting config file\n\n\n## Amazon Linux 2 Support\nAlthough the differences between Amazon Linux and Amazon Linux 2 are extensive ([listed here](https://aws.amazon.com/amazon-linux-2/faqs/)), the majority of the changes to reach CIS compliance for Amazon Linux 2 are minor. Here's the minimum required command line needed to install the hardening on Amazon Linux 2 instances.\n\n```\npython ./amazon-linux-cis --disable-mount-options\n```\n\n## Tested Environments\n- Amazon Linux 2017.09\n- Amazon Linux AMI 2018.03.0 (HVM)\n- Amazon Linux 2 - 2017.12\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnozaq%2Famazon-linux-cis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnozaq%2Famazon-linux-cis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnozaq%2Famazon-linux-cis/lists"}