{"id":22180648,"url":"https://github.com/jftuga/cloudfront_remover","last_synced_at":"2026-05-04T11:34:54.297Z","repository":{"id":57641368,"uuid":"385403055","full_name":"jftuga/cloudfront_remover","owner":"jftuga","description":"Disable and then delete AWS CloudFront Distributions and associated OAIs","archived":false,"fork":false,"pushed_at":"2021-07-16T03:37:06.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-14T12:03:27.429Z","etag":null,"topics":["aws","aws-cloudfront","command-line","command-line-tool","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","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/jftuga.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":"2021-07-12T22:44:57.000Z","updated_at":"2021-11-09T08:25:06.000Z","dependencies_parsed_at":"2022-09-05T07:40:08.793Z","dependency_job_id":null,"html_url":"https://github.com/jftuga/cloudfront_remover","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jftuga/cloudfront_remover","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jftuga%2Fcloudfront_remover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jftuga%2Fcloudfront_remover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jftuga%2Fcloudfront_remover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jftuga%2Fcloudfront_remover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jftuga","download_url":"https://codeload.github.com/jftuga/cloudfront_remover/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jftuga%2Fcloudfront_remover/sbom","scorecard":{"id":517807,"data":{"date":"2025-08-11","repo":{"name":"github.com/jftuga/cloudfront_remover","commit":"728be90be3656b4d4c20ada2166ad2e5c3c2fb9b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/goreleaser.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/jftuga/cloudfront_remover/goreleaser.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/jftuga/cloudfront_remover/goreleaser.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/goreleaser.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/jftuga/cloudfront_remover/goreleaser.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.9.0 not signed: https://api.github.com/repos/jftuga/cloudfront_remover/releases/46280764","Warn: release artifact v0.9.0 does not have provenance: https://api.github.com/repos/jftuga/cloudfront_remover/releases/46280764"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0635","Warn: Project is vulnerable to: GO-2022-0646"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T02:14:58.317Z","repository_id":57641368,"created_at":"2025-08-20T02:14:58.317Z","updated_at":"2025-08-20T02:14:58.317Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002359,"owners_count":26083357,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["aws","aws-cloudfront","command-line","command-line-tool","golang"],"created_at":"2024-12-02T09:18:59.556Z","updated_at":"2025-10-10T00:34:34.050Z","avatar_url":"https://github.com/jftuga.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cloudfront_remover\nDisable and then delete CloudFront Distributions and OAIs\n\nBinaries for Windows, MacOS, and Linux are available on the [Releases](https://github.com/jftuga/cloudfront_remover/releases) page.\n\n## Usage\n```\ncloudfront_remover\nDisable and then delete AWS CloudFront Distributions and associated OAIs\n\nSet the AWS_PROFILE environment variable to use a different profile from the AWS credential file.\n\nUsage:\n  cloudfront_remover [command]\n\nAvailable Commands:\n  delete      Delete a CloudFront Distribution\n  deleteFunc  Delete a CloudFront Function\n  deleteOAI   Delete CloudFront Origin Access Identifier (OAI)\n  disable     Disable a CloudFront Distribution\n  help        Help about any command\n  list        List distributions and their OAIs\n  listFuncs   List CloudFront Clod Functions\n  listOAI     List CloudFront Origin Access Identities (OAIs)\n  s3search    Search for an OAI in all S3 bucket policies\n```\n\n## Examples\n\n* List distributions and OAIs\n```\n$ cloudfront list\n\n+----------------+----------------+---------+----------+----------+-------------------+-----------------------------------------+\n|       ID       |      ETAG      | ENABLED |  STATUS  | ACM CERT |   1ST ALIAS       |    1ST OAI     |         COMMENT        |\n+----------------+----------------+---------+----------+----------+-------------------+-----------------------------------------+\n| E012345678912  | E0123456789123 | true    | Deployed | true     | www.example.io    | N/A            | N/A                    |\n| E987654321098  | E9876543210987 | true    | Deployed | true     | www.example.com   | E9876543210987 | terraform--example.com |\n+----------------+----------------+---------+----------+----------+-------------------+-----------------------------------------+\n```\n\n* Delete a distribution\n```\nPS C:\\\u003e .\\cloudfront_remover.exe delete -i E012345678912\n(no output upon success)\n```\n\n* Search all S3 Buckets for an OAI (with region hint)\n```\n$ cloudfront_remover.exe s3search -i E012345678912 -r us-east-1\n\n+-----------------------+-----------+---------------+\n|        BUCKET         |  REGION   |      OAI      |\n+-----------------------+-----------+---------------+\n| www.stadiumscores.com | us-east-1 | E012345678912 |\n+-----------------------+-----------+---------------+\n```\n\n* List CloudFront Functions\n```\nPS C:\\\u003e .\\cloudfront_remover.exe listFuncs\n+---------------------+-------------+---------------+-----------------------------------+--------------------------------+\n|        NAME         |    STAGE    |     ETAG      |              CREATED              |            COMMENT             |\n+---------------------+-------------+---------------+-----------------------------------+--------------------------------+\n| redirect_index_html | DEVELOPMENT | E012345678912 | 2021-07-15 16:55:11.69 +0000 UTC  | terraform--redirect_index_html |\n| redirect_index_html | LIVE        | E012345678912 | 2021-07-15 16:55:12.732 +0000 UTC | terraform--redirect_index_html |\n+---------------------+-------------+---------------+-----------------------------------+--------------------------------+\n```\n\n## Acknowledgments\n* [AWS GoLang SDK](https://aws.amazon.com/sdk-for-go/)\n* [ASCII table in golang](github.com/olekukonko/tablewriter)\n\n## See Also\n* [cloudfront_remover](https://github.com/jftuga/terraform_cloudfront_builder)\n* * Disable and then delete AWS CloudFront Distributions and associated OAIs\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjftuga%2Fcloudfront_remover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjftuga%2Fcloudfront_remover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjftuga%2Fcloudfront_remover/lists"}