{"id":24270282,"url":"https://github.com/iamfastio/iamfast","last_synced_at":"2025-04-12T22:36:10.713Z","repository":{"id":44386045,"uuid":"334323209","full_name":"iamfastio/iamfast","owner":"iamfastio","description":"Repository for iamfast questions and issues","archived":false,"fork":false,"pushed_at":"2025-03-28T12:03:08.000Z","size":8741,"stargazers_count":175,"open_issues_count":2,"forks_count":11,"subscribers_count":6,"default_branch":"readme","last_synced_at":"2025-04-06T02:35:18.534Z","etag":null,"topics":["access-control","ast","authorization","aws","cloud","go","iam","identity","java","javascript","least-privilege","policy","python","security"],"latest_commit_sha":null,"homepage":"","language":null,"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/iamfastio.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":"2021-01-30T03:58:16.000Z","updated_at":"2025-03-31T08:39:41.000Z","dependencies_parsed_at":"2024-01-13T16:23:10.557Z","dependency_job_id":"9447b33d-8dc1-4462-8874-0cb57cbfe656","html_url":"https://github.com/iamfastio/iamfast","commit_stats":{"total_commits":151,"total_committers":4,"mean_commits":37.75,"dds":"0.21192052980132448","last_synced_commit":"83a759f3a379a3c6f460dbf2733b1cc8738234ea"},"previous_names":["iamfastio/iamfast"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamfastio%2Fiamfast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamfastio%2Fiamfast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamfastio%2Fiamfast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamfastio%2Fiamfast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamfastio","download_url":"https://codeload.github.com/iamfastio/iamfast/tar.gz/refs/heads/readme","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248642721,"owners_count":21138352,"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":["access-control","ast","authorization","aws","cloud","go","iam","identity","java","javascript","least-privilege","policy","python","security"],"created_at":"2025-01-15T16:01:01.299Z","updated_at":"2025-04-12T22:36:10.691Z","avatar_url":"https://github.com/iamfastio.png","language":null,"readme":"# iamfast\n\n\u003cimg src=\"https://raw.githubusercontent.com/iann0036/iamfast/readme/assets/cli.png\" width=\"450\" alt=\"CLI Screenshot\"\u003e\n\n## About\n\nThis is an issues-only repo for **iamfast**, a toolset which generates IAM policies from application code.\n\n## Installation\n\n```\nnpm i -g iamfast\n```\n\nYou can also install iamfast as a [Visual Studio Code extension](https://marketplace.visualstudio.com/items?itemName=iamfast.iamfast-vscode).\n\n## Usage\n\nExecute `iamfast` with the first argument being the file or directory to be scanned.\n\n```\niamfast yourfile.js\n```\n\niamfast supports the following programming languages:\n\n* JavaScript (AWS v2/v3 SDK, Azure SDK, Google Cloud SDK)\n* Python 3 (Boto3 SDK, Azure SDK, Google Cloud SDK)\n* Go (AWS v1/v2 SDK, Azure SDK, Google Cloud SDK)\n* Java (AWS v2 SDK, Google Cloud SDK)\n\nThe following programming languages are planned:\n\n* PHP\n* C/C++\n* Rust\n* .NET/C#\n* Ruby\n\n#### Optional Flags\n\n**--format:** Sets the format of the output, currently supporting `json` (default), `yaml`, `hcl` and `sam`\n\n**--inclusions:** Specify the mode for external code inclusions, currently supporting `file` (default), `project`, `organization`, `external` and `all`\n\n**--context:** Specify the mode for contextual information, used for account ID, region etc., currently supporting `none` (default) and `local`\n\n**--profile:** The profile to use for contextual information\n\n## Example\n\n```\n\u003e cat tests/js/test1.js\n// Load the AWS SDK for Node.js\nvar AWS = require('aws-sdk');\n// Set the region \nAWS.config.update({region: 'us-east-1'});\n\n// Create the DynamoDB service object\nvar ddb = new AWS.DynamoDB({apiVersion: '2012-08-10'});\n\nvar params = {\n  TableName: 'CUSTOMER_LIST',\n  Item: {\n    'CUSTOMER_ID' : {N: '001'},\n    'CUSTOMER_NAME' : {S: 'Richard Roe'}\n  }\n};\n\n// Call DynamoDB to add the item to the table\nddb.putItem(params, function(err, data) {\n  if (err) {\n    console.log(\"Error\", err);\n  } else {\n    console.log(\"Success\", data);\n  }\n});\n```\n\n```\n\u003e iamfast tests/js/test1.js\n{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n        {\n            \"Effect\": \"Allow\",\n            \"Action\": \"dynamodb:PutItem\",\n            \"Resource\": [\n                \"arn:aws:dynamodb:us-east-1:123456789012:table/CUSTOMER_LIST\"\n            ]\n        }\n    ]\n}\n```\n","funding_links":[],"categories":["Others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamfastio%2Fiamfast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamfastio%2Fiamfast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamfastio%2Fiamfast/lists"}