{"id":18263224,"url":"https://github.com/ctrlaltdev/awsec","last_synced_at":"2025-04-09T01:26:28.812Z","repository":{"id":95988408,"uuid":"387533091","full_name":"ctrlaltdev/awsec","owner":"ctrlaltdev","description":"AWS Basic Security Assessment Tool / Modules","archived":false,"fork":false,"pushed_at":"2021-07-19T19:31:26.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-14T19:39:28.416Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ctrlaltdev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-19T16:45:33.000Z","updated_at":"2021-07-19T19:31:28.000Z","dependencies_parsed_at":"2023-04-16T08:06:04.853Z","dependency_job_id":null,"html_url":"https://github.com/ctrlaltdev/awsec","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/ctrlaltdev%2Fawsec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrlaltdev%2Fawsec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrlaltdev%2Fawsec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrlaltdev%2Fawsec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctrlaltdev","download_url":"https://codeload.github.com/ctrlaltdev/awsec/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247955118,"owners_count":21024346,"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-05T11:10:27.138Z","updated_at":"2025-04-09T01:26:28.766Z","avatar_url":"https://github.com/ctrlaltdev.png","language":"Go","readme":"# Basic AWS Security Assessment\n\nWill check some common security configurations.\nSo far: check S3 buckets and IAM user settings.\n\n## TODO: Installation\n\n```sh\nbrew install ctrlaltdev/tap/awsec\n```\nor \n```sh\nbrew tap ctrlaltdev/tap\nbrew install awsec\n```\n\n## Standalone: How To Use\n\nThe tool needs AWS credentials to work, and will look into common places automatically (~/.aws/config, ~/.aws/credentials, env vars)\n\nYou can specify a default region in your ~/.aws/config or using the -region flag\nYou can use an AWS profile using the -profile flag\n\n```sh\nawsec -profile prod -region us-west-2\n```\n\n## Module: How To Use\n\nYou can use only specific subpart of the tool as modules:\n\n```sh\ngo get -u github.com/ctrlaltdev/awsec/s3\n```\nor\n```sh\ngo get -u github.com/ctrlaltdev/awsec/iam\n```\n\nIn those cases, you need to initialize the module with an aws config:\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"log\"\n\n\t\"github.com/aws/aws-sdk-go-v2/aws\"\n\t\"github.com/aws/aws-sdk-go-v2/config\"\n\t\"github.com/ctrlaltdev/awsec/iam\"\n\t\"github.com/ctrlaltdev/awsec/s3\"\n)\n\nvar cfg aws.Config\n\nfunc main() {\n\tvar err error\n\tcfg, err = config.LoadDefaultConfig(context.TODO())\n\n\tif err != nil {\n\t\tlog.Fatalf(\"unable to load SDK config, %v\", err)\n\t}\n\n\ts3.Init(\u0026cfg)\n\tiam.Init(\u0026cfg)\n\n\ts3Reports := s3.Check()\n\tiamReports := iam.Check()\n\n\t// ...\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctrlaltdev%2Fawsec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctrlaltdev%2Fawsec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctrlaltdev%2Fawsec/lists"}