Commit 95f5fbc
⭐ Add GCP Artifact Registry support with 9 new resource types and ~45 fields (#6701)
* Add GCP artifact registry
Add new resources for exploring the GCP Artifact Registry
Signed-off-by: Tim Smith <tsmith84@gmail.com>
* ✨ Add policyType discriminator to cleanupPolicy and format to formatConfig
Adds a policyType field ("condition" or "mostRecentVersions") to
cleanupPolicy so MQL users can filter by type before inspecting
type-specific sub-resources. Adds a format field to formatConfig
mirroring the parent repository's format so the sub-resource is
self-describing.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* 🟢 Add tests for artifact registry helpers, extract pure functions
Extract cleanupPolicyType() and extractFormatConfigFields() as testable
pure functions. Add tests covering cleanup policy type discrimination,
format config field extraction for Docker/Maven/NPM, and vuln scan
timestamp handling.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* 🐛 Guard against nil args["name"] in repository init, simplify nil-map check
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* 🐛 Use safe type assertions in repository init
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* 🧹 Initialize upstreamPolicies as empty slice instead of nil
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* 🧹 Align policyType/format versions to 11.6.1, clarify cleanup policy comments
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Address review: fix spellcheck, use stable IAM binding IDs
- Add KFP to spelling expect list to fix CI spellcheck failure.
- Use role-based IAM binding IDs (repoPath + "/" + role) instead of
index-based IDs for stability across API call reordering.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* 🧹 Regenerate gcp.lr.go after rebase
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Signed-off-by: Tim Smith <tsmith84@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent ed01e23 commit 95f5fbc
File tree
8 files changed
+2274
-206
lines changed- .github/actions/spelling
- providers/gcp
- resources
8 files changed
+2274
-206
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
180 | 182 | | |
181 | 183 | | |
182 | 184 | | |
| 185 | + | |
183 | 186 | | |
184 | 187 | | |
185 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
0 commit comments