Skip to content

Commit efb8825

Browse files
feat: update schemas and appVersion for GGScout v0.20.0
- Fetch schemas from GGScout version v0.20.0 - Update bundled values.schema.json - Update Chart.yaml appVersion
1 parent 52ea719 commit efb8825

File tree

2 files changed

+139
-1
lines changed

2 files changed

+139
-1
lines changed

charts/ggscout/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ version: 0.5.8
1919
# incremented each time you make changes to the application. Versions are not expected to
2020
# follow Semantic Versioning. They should reflect the version the application is using.
2121
# It is recommended to use it with quotes.
22-
appVersion: "0.19.0"
22+
appVersion: "0.20.0"

charts/ggscout/values.schema.json

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,20 @@
305305
"format": "int64"
306306
}
307307
}
308+
},
309+
{
310+
"title": "Application Default Configuration",
311+
"description": "This will infer its configuration based on its environment.\nWorks with the GOOGLE_APPLICATION_CREDENTIALS environment variable\nor by automatically calling GCP's metadata endpoint (if run as a GCE or GKE workload).",
312+
"type": "object",
313+
"required": [
314+
"auth_mode"
315+
],
316+
"properties": {
317+
"auth_mode": {
318+
"type": "string",
319+
"const": "default"
320+
}
321+
}
308322
}
309323
]
310324
},
@@ -1100,6 +1114,20 @@
11001114
"format": "int64"
11011115
}
11021116
}
1117+
},
1118+
{
1119+
"title": "Application Default Configuration",
1120+
"description": "This will infer its configuration based on its environment.\nWorks with the GOOGLE_APPLICATION_CREDENTIALS environment variable\nor by automatically calling GCP's metadata endpoint (if run as a GCE or GKE workload).",
1121+
"type": "object",
1122+
"required": [
1123+
"auth_mode"
1124+
],
1125+
"properties": {
1126+
"auth_mode": {
1127+
"type": "string",
1128+
"const": "default"
1129+
}
1130+
}
11031131
}
11041132
],
11051133
"description": "Authentication method for GCP\nIf not specified, defaults to Application Default Credentials",
@@ -1267,6 +1295,57 @@
12671295
"title": "GitLab CI",
12681296
"description": "GitLab CI fetcher"
12691297
},
1298+
{
1299+
"description": "GitLab Personal Access Token fetcher",
1300+
"type": "object",
1301+
"required": [
1302+
"url",
1303+
"admin_token",
1304+
"type"
1305+
],
1306+
"properties": {
1307+
"admin_token": {
1308+
"description": "Admin token needed for PAT API access (requires admin privileges)",
1309+
"type": "string"
1310+
},
1311+
"env": {
1312+
"description": "Environment designation for this configuration",
1313+
"anyOf": [
1314+
{
1315+
"$ref": "#/definitions/https%3A~1~1gitguardian.com~1inventory-config/$defs/Env"
1316+
},
1317+
{
1318+
"const": null,
1319+
"nullable": true
1320+
}
1321+
]
1322+
},
1323+
"exclude": {
1324+
"type": "array",
1325+
"items": {
1326+
"$ref": "#/definitions/https%3A~1~1gitguardian.com~1inventory-config/$defs/FilteringRule"
1327+
},
1328+
"nullable": true
1329+
},
1330+
"include": {
1331+
"type": "array",
1332+
"items": {
1333+
"$ref": "#/definitions/https%3A~1~1gitguardian.com~1inventory-config/$defs/FilteringRule"
1334+
},
1335+
"nullable": true
1336+
},
1337+
"url": {
1338+
"description": "GitLab instance URL (e.g., \"https://gitlab.com\" or \"https://gitlab.example.com\")",
1339+
"type": "string",
1340+
"format": "uri"
1341+
},
1342+
"type": {
1343+
"type": "string",
1344+
"const": "gitlabpat"
1345+
}
1346+
},
1347+
"title": "GitLab Personal Access Tokens"
1348+
},
12701349
{
12711350
"type": "object",
12721351
"required": [
@@ -1581,6 +1660,20 @@
15811660
"format": "int64"
15821661
}
15831662
}
1663+
},
1664+
{
1665+
"title": "Application Default Configuration",
1666+
"description": "This will infer its configuration based on its environment.\nWorks with the GOOGLE_APPLICATION_CREDENTIALS environment variable\nor by automatically calling GCP's metadata endpoint (if run as a GCE or GKE workload).",
1667+
"type": "object",
1668+
"required": [
1669+
"auth_mode"
1670+
],
1671+
"properties": {
1672+
"auth_mode": {
1673+
"type": "string",
1674+
"const": "default"
1675+
}
1676+
}
15841677
}
15851678
],
15861679
"description": "Authentication method for GCP\nIf not specified, defaults to Application Default Credentials",
@@ -1697,6 +1790,51 @@
16971790
}
16981791
}
16991792
},
1793+
"GitLabPATConfig": {
1794+
"description": "Configuration for the GitLab Personal Access Token fetcher.\n\nThis configuration defines how to connect to a GitLab instance and fetch\nPersonal Access Tokens (PATs) for inventory purposes. The fetcher requires\nadmin privileges to access the PAT API endpoint.\n\n# Authentication\n\nThe `admin_token` must be a GitLab Personal Access Token with admin privileges.\nWithout admin access, the GitLab API will return a 403 Forbidden error when\nattempting to list Personal Access Tokens.\n\n# Filtering\n\nThe configuration supports inventory-level filtering using standard include/exclude patterns.\n\n# Example\n\n```toml\n[[sources]]\ntype = \"gitlabpat\"\nurl = \"https://gitlab.example.com\"\nadmin_token = \"glpat-xxxxxxxxxxxxxxxxxxxx\"\n\n[sources.filters]\ninclude = [\"*\"]\nexclude = [\"test_*\"]\n```",
1795+
"type": "object",
1796+
"required": [
1797+
"url",
1798+
"admin_token"
1799+
],
1800+
"properties": {
1801+
"admin_token": {
1802+
"description": "Admin token needed for PAT API access (requires admin privileges)",
1803+
"type": "string"
1804+
},
1805+
"env": {
1806+
"description": "Environment designation for this configuration",
1807+
"anyOf": [
1808+
{
1809+
"$ref": "#/definitions/https%3A~1~1gitguardian.com~1inventory-config/$defs/Env"
1810+
},
1811+
{
1812+
"const": null,
1813+
"nullable": true
1814+
}
1815+
]
1816+
},
1817+
"exclude": {
1818+
"type": "array",
1819+
"items": {
1820+
"$ref": "#/definitions/https%3A~1~1gitguardian.com~1inventory-config/$defs/FilteringRule"
1821+
},
1822+
"nullable": true
1823+
},
1824+
"include": {
1825+
"type": "array",
1826+
"items": {
1827+
"$ref": "#/definitions/https%3A~1~1gitguardian.com~1inventory-config/$defs/FilteringRule"
1828+
},
1829+
"nullable": true
1830+
},
1831+
"url": {
1832+
"description": "GitLab instance URL (e.g., \"https://gitlab.com\" or \"https://gitlab.example.com\")",
1833+
"type": "string",
1834+
"format": "uri"
1835+
}
1836+
}
1837+
},
17001838
"HashiCorpVaultConfig": {
17011839
"type": "object",
17021840
"required": [

0 commit comments

Comments
 (0)