{"id":17286497,"url":"https://github.com/devsecfranklin/cloud-scripts","last_synced_at":"2025-04-14T10:43:24.061Z","repository":{"id":38231371,"uuid":"472431698","full_name":"devsecfranklin/cloud-scripts","owner":"devsecfranklin","description":"Data collection script for public cloud","archived":false,"fork":false,"pushed_at":"2025-03-21T01:11:51.000Z","size":109,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T02:25:00.055Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/devsecfranklin.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-21T16:57:34.000Z","updated_at":"2024-10-08T15:47:20.000Z","dependencies_parsed_at":"2024-05-06T21:26:17.806Z","dependency_job_id":"a9ae69f7-8deb-4aa0-8530-966f52d174d6","html_url":"https://github.com/devsecfranklin/cloud-scripts","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/devsecfranklin%2Fcloud-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsecfranklin%2Fcloud-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsecfranklin%2Fcloud-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsecfranklin%2Fcloud-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devsecfranklin","download_url":"https://codeload.github.com/devsecfranklin/cloud-scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248867605,"owners_count":21174748,"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-10-15T09:59:22.526Z","updated_at":"2025-04-14T10:43:24.025Z","avatar_url":"https://github.com/devsecfranklin.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cloud-scripts\n\n[![Script Validation](https://github.com/devsecfranklin/cloud-scripts/actions/workflows/bash_chk.yaml/badge.svg)](https://github.com/devsecfranklin/cloud-scripts/actions/workflows/bash_chk.yaml) [![REUSE](https://github.com/devsecfranklin/cloud-tools/actions/workflows/reuse.yml/badge.svg)](https://github.com/devsecfranklin/cloud-tools/actions/workflows/reuse.yml) [![build container](https://github.com/devsecfranklin/cloud-tools/actions/workflows/trivy.yaml/badge.svg)](https://github.com/devsecfranklin/cloud-tools/actions/workflows/trivy.yaml)\n\nThese scripts are for data gathering on public cloud infrastructure and configuration.\n\nThe easiest way to use this is to clone it into a cloud shell and run from there.\n\n```sh\ngit clone https://github.com/devsecfranklin/cloud-tools.git\ncd cloud-tools\n```\n\n## Azure\n\nDownload the script to your cloud shell in Azure.\n\n```sh\nwget -O az_check.sh https://raw.githubusercontent.com/devsecfranklin/cloud-scripts/main/az/az_check.sh\nchmod 755 az_check.sh\n```\n\nExecute the script once for each Resource Group, such as `./az_check.sh -r \u003cRG-Name\u003e`.\n\n```sh\n./az_check.sh -r bmika-app3\n```\n\nUpload the compressed TAR file as directed.\n\n## Google Cloud\n\nDownload the script to your cloud shell in GCP.\n\n```sh\nwget -O gcp_check.sh https://raw.githubusercontent.com/devsecfranklin/cloud-scripts/main/gcp/gcp_check.sh\nchmod 755 gcp_check.sh\n```\n\nExecute the script once for each VPC (such as mgmt, trust, and untrust).\n\n```sh\n./gcp_check.sh -v ps-devsecops-mgmt\n./gcp_check.sh -v ps-devsecops-trust\n./gcp_check.sh -v ps-devsecops-untrust\n```\n\nSame as previous example, but in a single line:\n\n```sh\nfor vpc in ps-devsecops-mgmt ps-devsecops-trust ps-devsecops-untrust; do \\\n    ./gcp_check.sh -v ${vpc}; done\n```\n\nUpload the compressed TAR file as directed.\n\n## AWS\n\nDownload the script to your cloud shell in AWS.\n\n```sh\nwget -O aws_check.sh https://raw.githubusercontent.com/devsecfranklin/cloud-scripts/main/aws/aws_check.sh\nchmod 755 aws_check.sh\n```\n\nExecute the script once for each VPC.\n\n```sh\n./aws_check.sh -v ps-devsecops-mgmt\n./aws_check.sh -v ps-devsecops-trust\n./aws_check.sh -v ps-devsecops-untrust\n```\n\nSame as previous example, but in a single line:\n\n```sh\nfor vpc in ps-devsecops-mgmt ps-devsecops-trust ps-devsecops-untrust; do \\\n    ./aws_check.sh -v ${vpc}; done\n```\n\n## OCI\n\nDownload the script to your cloud shell in AWS.\n\n```sh\nwget -O oci_check.sh https://raw.githubusercontent.com/devsecfranklin/cloud-scripts/main/oci/oci_check.sh\nchmod 755 oci_check.sh\n```\n\nExecute the script once for each Compartment.\n\nExample:\n\n```sh\n./oci_check.sh -c ocid1.compartment.oc1..aaaaaaaa123412341234asdfasdf\n```\n\n## OpenShift\n\nDownload the script.\n\n```sh\nwget -O oci_check.sh https://raw.githubusercontent.com/devsecfranklin/cloud-scripts/main/oci/oci_check.sh\nchmod 755 oci_check.sh\n```\n\nExecute the script once for the `kube-system` namespace, and other desired namespaces.\n\nExample:\n\n```sh\n./openshift_check.sh -n kube-system\n./openshift_check.sh -n web-app-test\n```\n\n## Results\n\nA small set of test and JSON output is generated from the execution of the\nscripts. Upload the compressed TAR file as directed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsecfranklin%2Fcloud-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevsecfranklin%2Fcloud-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsecfranklin%2Fcloud-scripts/lists"}