公开记录
软件健康报告模式 0.16.0 · 指标 2.10.0 · 2026-07-21 03:02 UTC

pulumi / pulumi-policy

Pulumi's Policy as Code SDK, CrossGuard. Define infrastructure checks in code to enforce security, compliance, cost, and other practices, enforced at deployment time.

TypeScript · PythonApache-2.0★ 44 星标⑂ 10 复刻始于 2019年5月在 GitHub 上查看 ↗

pulumi/pulumi-policy 的健康指数为 100 分中的 87 分,处于「优秀」区间。 其得分最高的类别是Sustainability & Governance(80/100),最低的是AI Readiness(59/100)。 最近一次更新在 7 天前。 近期的大部分工作由 2 位贡献者完成。

87
总分 / 100
优秀

软件健康指数

指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。

87
卓越93-100公开记录中的最高层级(约前 5%);基本满足所有检验标准
优秀80-92各方面均表现强劲;仅有少量不足
良好65-79健康;不足之处有限且可控
中等50-64可接受,但存在明显不足;建议进行审查
薄弱35-49多个领域存在实质性薄弱环节
存在风险20-34存在重大薄弱环节;采用时应保持审慎
危急1-19问题严重(项目被弃置、仅有单一维护者、缺乏基本工程规范)
活力社区与采用可持续性与治理工程质量安全AI 就绪度

评分画像

每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。

加权总体分 73 经校准后在公布的指数量表上为 87(记录校准 2026-08-02)。

所有权

Pulumi组织
1,310 关注者428 个公开仓库始于 2016年9月

该仓库由组织支持——共同承担、可问责的托管责任,可延续于任何单一维护者之后。

按类别列示的指标

活力

项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?

75良好 · 占总体的 21%
评分方式
36/36推送新近度最近一次推送于 7 天前
9.7/36提交节奏52 周中有 14 周有提交
15.8/18提交量最近一年 56 次提交
10/10OpenSSF Scorecard:Maintained15 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
所用输入
commits_last_year56
human_commit_share
days_since_last_push7
active_weeks_last_year14

发布纪律

80优秀
评分方式
16.2/27有发布版本29 个版本标签(无 GitHub 发布版本)
36/36发布时效最近一次发布版本于 61 天前
19.8/27发布节奏约每 65.4 天发布一次
0/10OpenSSF Scorecard:Signed-Releases无数据
所用输入
releases_count29
latest_release_tagv1.21.0
releases_from_tags
days_since_latest_release61
mean_days_between_releases65.4
已排除计分(无数据或不适用):OpenSSF Scorecard:Signed-Releases。 其余权重已重新归一化。

社区与采用

项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?

62中等 · 占总体的 17%
评分方式
26.5/60星标44 个星标
8/25复刻10 个复刻
7.2/15关注者21 位关注者
所用输入
forks10
stars44
watchers21
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

85优秀
评分方式
22.5/22.5README
22.5/22.5许可证可识别的许可证(Apache-2.0)
18/18CONTRIBUTING 指南
13.5/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme
has_license
readme_badges
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_services
has_pull_request_template

可持续性与治理

项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?

80优秀 · 占总体的 23%
评分方式
25.2/54巴士系数2 位贡献者贡献了半数提交
13.5/22.5提交分布头号贡献者编写了 40% 的提交
13.5/13.5贡献者广度23 位贡献者
10/10OpenSSF Scorecard:Contributorsproject has 7 contributing companies or organizations
所用输入
bus_factor2
contributors_sampled23
top_contributor_share0.401
评分方式
31.8/42议题解决76% 的议题已关闭
26.2/30PR 接受已裁定的 PR 中 179/205 已合并
0/13Newcomer PR acceptance30 天内没有首次贡献者的 PR 得到裁决
15/15OpenSSF Scorecard:Code-Reviewall changesets reviewed
所用输入
merged_prs179
open_issues57
closed_issues177
prs_merged_7d
prs_decided_7d
prs_merged_30d
prs_decided_30d
issue_closed_ratio0.756
closed_unmerged_prs26
first_time_authors_30d
first_time_prs_merged_30d
first_time_prs_decided_30d
已排除计分(无数据或不适用):Newcomer PR acceptance。 其余权重已重新归一化。
评分方式
30/30所有权背书组织持有
0/20已验证域名未读取该组织的域名验证状态
22.4/25所有者影响力pulumi 有 1,310 位关注者
25/25既往记录428 个公开仓库,账户约 9 年
所用输入
followers1,310
owner_typeOrganization
is_verified
owner_loginpulumi
public_repos428
account_age_days3,606
已排除计分(无数据或不适用):已验证域名。 其余权重已重新归一化。

工程质量

基础的工程与文档实践是否到位?

76良好 · 占总体的 19%

工程实践

84优秀
评分方式
24/24CI 工作流7 个工作流
24/24存在测试
16/16Linter 配置.eslintrc.js, .pylintrc
0/9.6Pre-commit 钩子
0/6.4.editorconfig
20/20OpenSSF Scorecard:CI-Tests19 out of 19 merged PRs checked by a CI test -- score normalized to 10
所用输入
has_ci
has_tests
has_editorconfig
has_linter_config
has_precommit_config

文档

65良好
评分方式
30/30README
0/25文档目录
15/15文档 / 主页站点https://www.pulumi.com/docs/guides/crossguard/
10/10仓库描述
10/10主题标签6 个主题标签
0/10Wiki
所用输入
topicspulumi, policy, typescript, python, policy-as-code, javascript
has_wiki
homepagehttps://www.pulumi.com/docs/guides/crossguard/
docs_sitehttps://www.pulumi.com/docs/guides/crossguard/
has_readme
has_docs_dir
has_description

安全

可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?

71良好 · 占总体的 16%

安全态势

64中等
评分方式
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protection无数据
2.5/2.5CI-Tests19 out of 19 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
7.5/7.5Code-Reviewall changesets reviewed
2.5/2.5Contributorsproject has 7 contributing companies or organizations
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5许可证license file detected
7.5/7.5Maintained15 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging无数据
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0/5SASTSAST tool is not run on all commits -- score normalized to 0
5/5Security-Policysecurity policy file detected
0/7.5Signed-Releases无数据
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
2.2/7.5Vulnerabilities7 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated15
scorecard_versionv5.5.0
checks_inconclusive3
scorecard_aggregate6.4
已排除计分(无数据或不适用):Branch-Protection, Packaging, Signed-Releases。 其余权重已重新归一化。
评分方式
35/35直接依赖不含已知公告没有直接依赖携带已知公告
0/25间接依赖不含已知公告在此范围内,传递依赖集合无法与开发和测试依赖区分
0/40没有长期未处理的公告没有公告带有发布日期
所用输入
sourceosv
advisories8
affected_packages2
assessed_packages93
unassessed_packages27
affected_by_severitymoderate 1, unknown 1
direct_affected_packages0
已排除计分(无数据或不适用):间接依赖不含已知公告, 没有长期未处理的公告。 其余权重已重新归一化。 已将 93 个已解析依赖与 OSV 比对。 有 27 项无法评估——没有已解析的版本、生态系统不受支持,或超出所报告的软件包清单。 该仓库未发布任何索引可解析的软件包,因此改为评估仓库依赖图。该图将开发与测试版本固定同交付的依赖混在一起,因此仅对声明的运行时依赖计分;传递性发现仅作为背景信息列出,不计入评分。 未对可达性进行分析。

AI 就绪度

该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。

59中等 · 占总体的 4%
评分方式
0/45代理指令没有 CLAUDE.md / AGENTS.md / 编辑器规则
0/15机器可读文档(llms.txt)
0/40可读的提交历史无数据
所用输入
has_llms_txt
llms_txt_url
legible_history_share
agent_instruction_files
agent_instruction_max_bytes
已排除计分(无数据或不适用):可读的提交历史。 其余权重已重新归一化。
评分方式
18/18一条命令的引导启动.mise.toml, Makefile, sdk/nodejs/policy/Makefile, sdk/python/Makefile
22/22自动化测试
11/11Lint / 格式化配置.eslintrc.js, .pylintrc
11/11静态类型检查sdk/nodejs/policy/tsconfig.json, sdk/python/lib/pulumi_policy/py.typed, sdk/python/mypy.ini, tests/integration/config/policy-pack/tsconfig.json, tests/integration/config/program/tsconfig.json, tests/integration/deserialize/policy-pack/tsconfig.json, tests/integration/deserialize/program/tsconfig.json, tests/integration/enforcementlevel/policy-pack/tsconfig.json, tests/integration/enforcementlevel/program/tsconfig.json, tests/integration/invalid_policy/policy-pack/tsconfig.json, tests/integration/invalid_policy/program/tsconfig.json, tests/integration/parent_dependencies/policy-pack/tsconfig.json, tests/integration/parent_dependencies/program/tsconfig.json, tests/integration/provider/policy-pack/tsconfig.json, tests/integration/provider/program/tsconfig.json, tests/integration/remote_component/policy-pack/tsconfig.json, tests/integration/resource_options/policy-pack/tsconfig.json, tests/integration/resource_options/program/tsconfig.json, tests/integration/runtime_data/policy-pack/tsconfig.json, tests/integration/runtime_data/program/tsconfig.json, tests/integration/stack_tags/policy-pack/tsconfig.json, tests/integration/stack_tags/program/tsconfig.json, tests/integration/unknown_values/policy-pack/tsconfig.json, tests/integration/unknown_values/program/tsconfig.json, tests/integration/validate_python_resource/policy-pack/tsconfig.json, tests/integration/validate_resource/policy-pack/tsconfig.json, tests/integration/validate_resource/program/tsconfig.json, tests/integration/validate_stack/policy-pack/tsconfig.json, tests/integration/validate_stack/program/tsconfig.json
10/10可复现环境lockfile
0/10已体现的代理实践无数据
0/8自动化维护无数据
0/10OpenSSF Scorecard:Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
所用输入
has_nix
has_tests
lockfilesgo.sum
has_dockerfile
typed_language
bootstrap_files.mise.toml, Makefile, sdk/nodejs/policy/Makefile, sdk/python/Makefile
has_devcontainer
has_linter_config
typecheck_configssdk/nodejs/policy/tsconfig.json, sdk/python/lib/pulumi_policy/py.typed, sdk/python/mypy.ini, tests/integration/config/policy-pack/tsconfig.json, tests/integration/config/program/tsconfig.json, tests/integration/deserialize/policy-pack/tsconfig.json, tests/integration/deserialize/program/tsconfig.json, tests/integration/enforcementlevel/policy-pack/tsconfig.json, tests/integration/enforcementlevel/program/tsconfig.json, tests/integration/invalid_policy/policy-pack/tsconfig.json, tests/integration/invalid_policy/program/tsconfig.json, tests/integration/parent_dependencies/policy-pack/tsconfig.json, tests/integration/parent_dependencies/program/tsconfig.json, tests/integration/provider/policy-pack/tsconfig.json, tests/integration/provider/program/tsconfig.json, tests/integration/remote_component/policy-pack/tsconfig.json, tests/integration/resource_options/policy-pack/tsconfig.json, tests/integration/resource_options/program/tsconfig.json, tests/integration/runtime_data/policy-pack/tsconfig.json, tests/integration/runtime_data/program/tsconfig.json, tests/integration/stack_tags/policy-pack/tsconfig.json, tests/integration/stack_tags/program/tsconfig.json, tests/integration/unknown_values/policy-pack/tsconfig.json, tests/integration/unknown_values/program/tsconfig.json, tests/integration/validate_python_resource/policy-pack/tsconfig.json, tests/integration/validate_resource/policy-pack/tsconfig.json, tests/integration/validate_resource/program/tsconfig.json, tests/integration/validate_stack/policy-pack/tsconfig.json, tests/integration/validate_stack/program/tsconfig.json
agent_commit_share
toolchain_manifests
dependency_bot_commit_share
已排除计分(无数据或不适用):已体现的代理实践, 自动化维护。 其余权重已重新归一化。
评分方式
45/45可类型检查的代码TypeScript(静态类型)
54.3/55可控的文件大小采样的 83 个源文件中有 1 个超过 60KB
所用输入
primary_languageTypeScript
largest_source_bytes61,170
source_files_sampled83
oversized_source_files1

关键数据

44GitHub 星标
23贡献者
56最近 12 个月提交数
7距最近推送天数
29发布版本数
2巴士系数(bus factor)
57开放议题
软件包生态系统数

更多细节

OpenSSF Scorecard 6.4 / 10
6.4综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。Scorecard v5.5.0 · 2026-07-21 03:01 UTC

10Binary-Artifactsno binaries found in the repo
不适用Branch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
10CI-Tests19 out of 19 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
10Code-Reviewall changesets reviewed
10Contributorsproject has 7 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained15 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
不适用Packagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
10Security-Policysecurity policy file detected
不适用Signed-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
3Vulnerabilities7 existing vulnerabilities detected
全部依赖 120

来自 GitHub 依赖图的完整解析依赖集合:0 个直接依赖与 120 个间接(传递)软件包。仓库提交锁文件时,传递闭包才是完整的。

注册表软件包版本关系
Godario.cat/mergov1.0.0间接
Gogithub.com/aead/chacha20v0.0.0-20180709150244-8b13a72661da间接
Gogithub.com/agext/levenshteinv1.2.3间接
Gogithub.com/apparentlymart/go-textseg/v13v13.0.0间接
Gogithub.com/atotto/clipboardv0.1.4间接
Gogithub.com/aymanbagabas/go-osc52/v2v2.0.1间接
Gogithub.com/blang/semverv3.5.1+incompatible间接
Gogithub.com/charmbracelet/bubblesv0.16.1间接
Gogithub.com/charmbracelet/bubbleteav0.24.2间接
Gogithub.com/charmbracelet/lipglossv0.7.1间接
Gogithub.com/cheggaaa/pbv1.0.29间接
Gogithub.com/cloudflare/circlv1.6.3间接
Gogithub.com/containerd/consolev1.0.4-0.20230313162750-1ae8d489ac81间接
Gogithub.com/cyphar/filepath-securejoinv0.6.1间接
Gogithub.com/davecgh/go-spew1.1.1间接
Gogithub.com/djherbis/timesv1.5.0间接
Gogithub.com/emirpasic/godsv1.18.1间接
Gogithub.com/go-git/gcfgv1.5.1-0.20230307220236-3a3c6141e376间接
Gogithub.com/go-git/go-billy/v5v5.9.0间接
Gogithub.com/go-git/go-git/v5v5.19.1间接
Gogithub.com/gogo/protobufv1.3.2间接
Gogithub.com/golang/glog1.2.4间接
Gogithub.com/golang/glogv1.2.5间接
Gogithub.com/golang/groupcachev0.0.0-20241129210726-2c02b8208cf8间接
Gogithub.com/golang/protobufv1.5.4间接
Gogithub.com/grpc-ecosystem/grpc-opentracingv0.0.0-20180507213350-8e809c8a8645间接
Gogithub.com/hashicorp/errwrapv1.1.0间接
Gogithub.com/hashicorp/go-multierrorv1.1.1间接
Gogithub.com/hashicorp/hcl/v2v2.17.0间接
Gogithub.com/inconshreveable/mousetrapv1.1.0间接
Gogithub.com/jbenet/go-contextv0.0.0-20150711004518-d14ea06fba99间接
Gogithub.com/kevinburke/ssh_configv1.2.0间接
Gogithub.com/klauspost/cpuid/v2v2.3.0间接
Gogithub.com/lucasb-eyer/go-colorfulv1.2.0间接
Gogithub.com/mattn/go-isattyv0.0.19间接
Gogithub.com/mattn/go-localereaderv0.0.1间接
Gogithub.com/mattn/go-runewidthv0.0.15间接
Gogithub.com/microsoft/go-winiov0.6.2间接
Gogithub.com/mitchellh/go-psv1.0.0间接
Gogithub.com/mitchellh/go-wordwrapv1.0.1间接
Gogithub.com/muesli/ansiv0.0.0-20230316100256-276c6243b2f6间接
Gogithub.com/muesli/cancelreaderv0.2.2间接
Gogithub.com/muesli/reflowv0.3.0间接
Gogithub.com/muesli/termenvv0.15.2间接
Gogithub.com/opentracing/basictracer-gov1.1.0间接
Gogithub.com/opentracing/opentracing-gov1.2.0间接
Gogithub.com/pgavlin/fxv0.1.6间接
Gogithub.com/pjbgf/sha1cdv0.6.0间接
Gogithub.com/pkg/errorsv0.9.1间接
Gogithub.com/pkg/termv1.1.0间接
Gogithub.com/pmezard/go-difflib1.0.0间接
Gogithub.com/protonmail/go-cryptov1.1.6间接
Gogithub.com/pulumi/appdashv0.0.0-20231130102222-75f619a67231间接
Gogithub.com/pulumi/escv0.6.2间接
Gogithub.com/pulumi/pulumi-random/sdk/v4v4.15.0间接
Gogithub.com/pulumi/pulumi/pkg/v3v3.100.0间接
Gogithub.com/pulumi/pulumi/sdk/v33.0.0间接
Gogithub.com/pulumi/pulumi/sdk/v33.157.0间接
Gogithub.com/pulumi/pulumi/sdk/v3v3.100.0间接
Gogithub.com/rivo/unisegv0.4.4间接
Gogithub.com/rogpeppe/go-internal1.12.0间接
Gogithub.com/rogpeppe/go-internalv1.14.1间接
Gogithub.com/sabhiram/go-gitignorev0.0.0-20210923224102-525f6e181f06间接
Gogithub.com/santhosh-tekuri/jsonschema/v5v5.0.1间接
Gogithub.com/sergi/go-diffv1.3.2-0.20230802210424-5b0b94c5c0d3间接
Gogithub.com/skeema/knownhostsv1.3.1间接
Gogithub.com/spf13/cobrav1.7.0间接
Gogithub.com/spf13/pflagv1.0.5间接
Gogithub.com/stretchr/testify1.10.0间接
Gogithub.com/stretchr/testify1.6.1间接
Gogithub.com/texttheater/golang-levenshteinv1.0.1间接
Gogithub.com/tweekmonster/luserv0.0.0-20161003172636-3fa38070dbd7间接
Gogithub.com/uber/jaeger-client-gov2.30.0+incompatible间接
Gogithub.com/uber/jaeger-libv2.4.1+incompatible间接
Gogithub.com/xanzy/ssh-agentv0.3.3间接
Gogithub.com/zclconf/go-ctyv1.13.2间接
Gogo.uber.org/atomicv1.10.0间接
Gogolang.org/x/cryptov0.52.0间接
Gogolang.org/x/expv0.0.0-20260410095643-746e56fc9e2f间接
Gogolang.org/x/netv0.54.0间接
Gogolang.org/x/syncv0.20.0间接
Gogolang.org/x/sysv0.45.0间接
Gogolang.org/x/termv0.43.0间接
Gogolang.org/x/textv0.37.0间接
Gogoogle.golang.org/genproto/googleapis/rpcv0.0.0-20251202230838-ff82c1b0f217间接
Gogoogle.golang.org/grpcv1.79.3间接
Gogoogle.golang.org/protobufv1.36.10间接
Gogopkg.in/warnings.v0v0.1.2间接
Gogopkg.in/yaml.v33.0.1间接
Gogopkg.in/yaml.v3v3.0.1间接
Golukechampine.com/frandv1.4.2间接
npm@grpc/grpc-js^1.10.1间接
npm@pulumi/aws^4.0.0间接
npm@pulumi/policylatest间接
npm@pulumi/pulumi^3.0.0间接
npm@pulumi/pulumi^3.204.0间接
npm@pulumi/random4.0.0间接
npm@pulumi/random^4.0.0间接
npm@pulumi/random^4.3.1间接
npm@types/mocha^2.2.42间接
npm@types/node^10.0.0间接
npm@types/node^10.12.7间接
npm@typescript-eslint/eslint-plugin^2.31.0间接
npm@typescript-eslint/parser^2.31.0间接
npmeslint^6.8.0间接
npmeslint-plugin-header^3.0.0间接
npmeslint-plugin-import^2.20.2间接
npmgoogle-protobuf^3.21.4间接
npmistanbul^0.4.5间接
npmmocha^3.5.0间接
npmtypescript^3.7.5间接
PyPIgrpcio间接
PyPImypy间接
PyPIprotobuf间接
PyPIpulumi间接
PyPIpulumi-aws间接
PyPIpulumi-random间接
PyPIpylint间接
PyPIsetuptools间接
PyPItypes-protobuf间接
依赖安全公告 2

该仓库未发布可被索引解析的包,因此评估的是其自身的依赖图——共 93 个包,其中也包含从不交付的开发与测试版本固定:2 个存在已知公告,0 个为直接依赖。 有 27 个无法评估——没有已解析的版本、生态系统不受支持,或不在所列包清单之内。

软件包版本关系严重程度公告数修复版本
golang.org/x/netv0.54.0间接70.55.0
golang.org/x/cryptov0.52.0间接未知1

公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。

原始 JSON 报告 机器可读

反馈

发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。

登录过程中消息不会丢失。

评分是信号,而非担保。 评分反映的是 GitHub 上公开可见的实践——不是代码审计,也不是安全保证。

缺失数据将被剔除并重新归一化权重,绝不按零分计。方法论已版本化并公开:指标 v2.10.0、模式 v0.16.0—— 完整方法论 · 指标知识库.

单项结果在整体记录中的位置: 汇总统计.