{"id":21957084,"url":"https://github.com/trussworks/find-guardduty-user","last_synced_at":"2026-04-07T19:31:11.165Z","repository":{"id":37957563,"uuid":"273038768","full_name":"trussworks/find-guardduty-user","owner":"trussworks","description":"Easily identify IAM users that have triggered GuardDuty findings.","archived":false,"fork":false,"pushed_at":"2026-03-10T10:53:47.000Z","size":550,"stargazers_count":2,"open_issues_count":6,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2026-03-10T17:53:22.628Z","etag":null,"topics":["aws","aws-guardduty"],"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/trussworks.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-06-17T17:30:40.000Z","updated_at":"2025-01-18T02:23:13.000Z","dependencies_parsed_at":"2024-01-29T13:59:15.476Z","dependency_job_id":"89a5ccd3-8ec5-41a4-afcf-1ea9e4c9a921","html_url":"https://github.com/trussworks/find-guardduty-user","commit_stats":{"total_commits":214,"total_committers":12,"mean_commits":"17.833333333333332","dds":0.4158878504672897,"last_synced_commit":"4e8a0facbd04e6a9e5bf4bffb426172eaa6208f8"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/trussworks/find-guardduty-user","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trussworks%2Ffind-guardduty-user","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trussworks%2Ffind-guardduty-user/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trussworks%2Ffind-guardduty-user/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trussworks%2Ffind-guardduty-user/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trussworks","download_url":"https://codeload.github.com/trussworks/find-guardduty-user/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trussworks%2Ffind-guardduty-user/sbom","scorecard":{"id":899999,"data":{"date":"2025-08-11","repo":{"name":"github.com/trussworks/find-guardduty-user","commit":"1bcc4911bb1e4fc659d06674cd185761febc04f9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/1 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/validate.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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/validate.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/trussworks/find-guardduty-user/validate.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating alpine:3 to alpine:3@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage 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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.0.3 not signed: https://api.github.com/repos/trussworks/find-guardduty-user/releases/37049119","Warn: release artifact v0.0.2 not signed: https://api.github.com/repos/trussworks/find-guardduty-user/releases/33233254","Warn: release artifact v0.0.1 not signed: https://api.github.com/repos/trussworks/find-guardduty-user/releases/27805768","Warn: release artifact v0.0.3 does not have provenance: https://api.github.com/repos/trussworks/find-guardduty-user/releases/37049119","Warn: release artifact v0.0.2 does not have provenance: https://api.github.com/repos/trussworks/find-guardduty-user/releases/33233254","Warn: release artifact v0.0.1 does not have provenance: https://api.github.com/repos/trussworks/find-guardduty-user/releases/27805768"],"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"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":"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T15:12:55.035Z","repository_id":37957563,"created_at":"2025-08-24T15:12:55.035Z","updated_at":"2025-08-24T15:12:55.035Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31526665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-guardduty"],"created_at":"2024-11-29T08:49:39.201Z","updated_at":"2026-04-07T19:31:11.148Z","avatar_url":"https://github.com/trussworks.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# find-guardduty-user\n\n## Description\n\n`find-guardduty-user` is used to search CloudTrial to find users that triggered GuardDuty alerts\n\nThis script will look up all GuardDuty findings and for each one will\npull out the access key, search for that access key in CloudTrail to find\nthe AssumedRole event.  That event will then provide the ARN of the role\nwhich can be looked up in CloudTrail again to find the username of the\nperson that triggered the event.\n\n## Installation\n\nFor OSX Homebrew:\n\n```sh\nbrew tap trussworks/tap\nbrew install find-guardduty-user\n```\n\n## Usage\n\n```sh\nDescription\n    Easily identify IAM users that have triggered GuardDuty findings.\n\nUsage:\n  find-guardduty-user find [flags]\n\nFlags:\n  -p    --aws-guardduty-partition string AWS partition ('aws' or 'aws-us-gov') used for inspecting guardduty (default \"aws\")\n  -r    --aws-guardduty-region string   AWS region used for inspecting guardduty (default \"us-west-2\")\n  -a, --archived                      Show archived findings instead of current findings\n  -o, --output string                 Whether to print output as 'text' or 'json' (default \"text\")\n  -v, --debug-logging                 log messages at the debug level.\n  -h, --help                          help for find\n```\n\n## Examples\n\nRun the command like this:\n\n```sh\nfind-guardduty-user find\n```\n\nRun the command in GovCloud like this:\n\n```sh\nfind-guardduty-user find -p aws-us-gov -r us-gov-west-1\n```\n\nReview archived findings:\n\n```sh\nfind-guardduty-user find -a\n```\n\nLook at the output in JSON format:\n\n```sh\nfind-guardduty-user find -o json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrussworks%2Ffind-guardduty-user","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrussworks%2Ffind-guardduty-user","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrussworks%2Ffind-guardduty-user/lists"}