{"id":18499271,"url":"https://github.com/guccio163/parseaws","last_synced_at":"2025-10-26T15:50:45.682Z","repository":{"id":234543373,"uuid":"789110107","full_name":"Guccio163/parseAWS","owner":"Guccio163","description":"Typescript AWS IAM parser // Remitly recruitment task 2024","archived":false,"fork":false,"pushed_at":"2024-04-20T11:04:03.000Z","size":10989,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T05:35:50.677Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Guccio163.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-04-19T18:07:30.000Z","updated_at":"2025-03-02T15:21:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"7fd6bd3b-c4fe-4ebe-b378-d8b59efc92ac","html_url":"https://github.com/Guccio163/parseAWS","commit_stats":null,"previous_names":["guccio163/parseaws"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Guccio163/parseAWS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guccio163%2FparseAWS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guccio163%2FparseAWS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guccio163%2FparseAWS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guccio163%2FparseAWS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Guccio163","download_url":"https://codeload.github.com/Guccio163/parseAWS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guccio163%2FparseAWS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281130765,"owners_count":26448690,"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-26T02:00:06.575Z","response_time":61,"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":[],"created_at":"2024-11-06T13:45:14.804Z","updated_at":"2025-10-26T15:50:45.643Z","avatar_url":"https://github.com/Guccio163.png","language":"TypeScript","readme":"Verifying AWS::IAM::Role Policy\n---\nThis is a recruitment task verifying an input done for Remitly.\u003c/br\u003e\n\nTask is written in Typescript because:\n- I feel confident and efficent in it\n- I hope it will stand out from the rest :)\n\nHowever, if writing function in Go would be additionally appreciated, I can send the task in Go too.\n\n---\nProject includes unit tests (verifyTest.test.ts) and edge cases such as inputting non-compatible policy or multible Resources. \u003c/br\u003e\u003c/br\u003e Instruction didn't specify how to resolve a situation with multiple Resources, so I assumed that function should return \u003cb\u003efalse\u003c/b\u003e if any of the Statements has Resources: \"*\".\n\u003c/br\u003e\n\u003c/br\u003e\nHow to run tests?\n\n```bash\ncd parseAWS\nnpm i\njest\n```\n---\nMain function is in the \u003cb\u003emain.ts\u003c/b\u003e file and theoretically can be run by compiling this file and runnig its \u003cb\u003e.js\u003c/b\u003e product:\n```bash\ntsc main\nnode main\n```\nIt won't return anything though, because there is no executable code, just function and type definitions.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguccio163%2Fparseaws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguccio163%2Fparseaws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguccio163%2Fparseaws/lists"}