{"adoption": {"forks": 156, "observed_at": "2026-08-28T04:06:21.375071+00:00", "stars": 2166}, "canonical_url": "https://ross.abutalabs.com/products/policy_sentry", "card": {"archived": false, "artifact_type": "cli-tool", "description": "IAM Least Privilege Policy Generator", "domain": ["security", "cloud-computing", "developer-tools"], "enriched": true, "function": ["security", "developer-tools", "cli", "infrastructure-as-code"], "health_score": 97, "homepage": "https://policy-sentry.readthedocs.io/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["salesforce/policy_sentry"], "name": "salesforce/policy_sentry", "platform": ["cli", "python", "cross-platform"], "pushed_at": "2026-08-16T15:09:57+00:00", "repo": "salesforce/policy_sentry", "stars": 2166, "tags": ["aws", "iam", "least-privilege", "iam-policy", "cloud-security", "policy-generation", "devops", "docker"], "topics": ["aws", "iam", "cloud", "security", "cloudsecurity", "iam-policy", "aws-security", "salesforce", "hacktoberfest"], "urls": [], "use_cases": ["generate least privilege IAM policies for AWS roles", "avoid writing AWS IAM policies by hand", "scope IAM policies to specific resource ARNs", "query the AWS IAM actions, resources, and condition keys database", "audit and tighten overly permissive IAM policies", "integrate IAM policy generation into Terraform or CI pipelines"], "what_it_is": "Policy Sentry is a Python CLI tool and library that generates least-privilege AWS IAM policies. It automates writing security-conscious IAM policies by looking up AWS actions, resources, and condition keys instead of hand-crafting them.", "when_to_avoid": ["you work with clouds other than AWS", "you need general cloud security posture management rather than IAM policy authoring"], "when_to_choose": ["you write AWS IAM policies for users, roles, or infrastructure as code", "your team wants to enforce least-privilege access on AWS", "you need programmatic or CLI-based IAM policy generation"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/policy_sentry", "repo": "salesforce/policy_sentry", "role": "main", "score": 88}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.375071+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:49:57.233710+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6583071c935693010da23c639e3b015aa0c1eea4bae3317365c0e92d5be8e54", "fetched_at": "2026-08-28T04:06:21.375071+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/policy_sentry"}, {"content_hash": "201255bdb84e34ad52d32830f07438e4e443ac4f4c836933888b8fe4cd035fa0", "fetched_at": "2026-08-29T10:30:18.382592+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/policy_sentry/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.375071+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:49:57.233710+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6583071c935693010da23c639e3b015aa0c1eea4bae3317365c0e92d5be8e54", "fetched_at": "2026-08-28T04:06:21.375071+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/policy_sentry"}, {"content_hash": "201255bdb84e34ad52d32830f07438e4e443ac4f4c836933888b8fe4cd035fa0", "fetched_at": "2026-08-29T10:30:18.382592+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/policy_sentry/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:49:57.233710+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6583071c935693010da23c639e3b015aa0c1eea4bae3317365c0e92d5be8e54", "fetched_at": "2026-08-28T04:06:21.375071+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/policy_sentry"}, {"content_hash": "201255bdb84e34ad52d32830f07438e4e443ac4f4c836933888b8fe4cd035fa0", "fetched_at": "2026-08-29T10:30:18.382592+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/policy_sentry/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.375071+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.375071+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.375071+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:49:57.233710+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6583071c935693010da23c639e3b015aa0c1eea4bae3317365c0e92d5be8e54", "fetched_at": "2026-08-28T04:06:21.375071+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/policy_sentry"}, {"content_hash": "201255bdb84e34ad52d32830f07438e4e443ac4f4c836933888b8fe4cd035fa0", "fetched_at": "2026-08-29T10:30:18.382592+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/policy_sentry/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.375071+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.375071+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:49:57.233710+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6583071c935693010da23c639e3b015aa0c1eea4bae3317365c0e92d5be8e54", "fetched_at": "2026-08-28T04:06:21.375071+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/policy_sentry"}, {"content_hash": "201255bdb84e34ad52d32830f07438e4e443ac4f4c836933888b8fe4cd035fa0", "fetched_at": "2026-08-29T10:30:18.382592+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/policy_sentry/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.375071+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.375071+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.375071+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:49:57.233710+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6583071c935693010da23c639e3b015aa0c1eea4bae3317365c0e92d5be8e54", "fetched_at": "2026-08-28T04:06:21.375071+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/policy_sentry"}, {"content_hash": "201255bdb84e34ad52d32830f07438e4e443ac4f4c836933888b8fe4cd035fa0", "fetched_at": "2026-08-29T10:30:18.382592+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/policy_sentry/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.375071+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.375071+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:49:57.233710+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6583071c935693010da23c639e3b015aa0c1eea4bae3317365c0e92d5be8e54", "fetched_at": "2026-08-28T04:06:21.375071+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/policy_sentry"}, {"content_hash": "201255bdb84e34ad52d32830f07438e4e443ac4f4c836933888b8fe4cd035fa0", "fetched_at": "2026-08-29T10:30:18.382592+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/policy_sentry/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:49:57.233710+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6583071c935693010da23c639e3b015aa0c1eea4bae3317365c0e92d5be8e54", "fetched_at": "2026-08-28T04:06:21.375071+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/policy_sentry"}, {"content_hash": "201255bdb84e34ad52d32830f07438e4e443ac4f4c836933888b8fe4cd035fa0", "fetched_at": "2026-08-29T10:30:18.382592+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/policy_sentry/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:49:57.233710+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6583071c935693010da23c639e3b015aa0c1eea4bae3317365c0e92d5be8e54", "fetched_at": "2026-08-28T04:06:21.375071+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/policy_sentry"}, {"content_hash": "201255bdb84e34ad52d32830f07438e4e443ac4f4c836933888b8fe4cd035fa0", "fetched_at": "2026-08-29T10:30:18.382592+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/policy_sentry/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:49:57.233710+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b6583071c935693010da23c639e3b015aa0c1eea4bae3317365c0e92d5be8e54", "fetched_at": "2026-08-28T04:06:21.375071+00:00", "kind": "readme", "missing": false, "url": "https://github.com/salesforce/policy_sentry"}, {"content_hash": "201255bdb84e34ad52d32830f07438e4e443ac4f4c836933888b8fe4cd035fa0", "fetched_at": "2026-08-29T10:30:18.382592+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/policy_sentry/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 67}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2540, "days_push": 17, "days_rel": 142, "gap_med": 52, "n_releases_24m": 6}, "score": 88, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}