@continuoussecuritytooling/keycloak-reporter 0.4.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.bin/wait-for-server.sh +1 -0
- package/.ct.yaml +1 -1
- package/.eslintrc.cjs +3 -3
- package/.github/CONTRIBUTING.md +5 -5
- package/.github/workflows/pipeline.yml +31 -23
- package/.github/workflows/release.yml +23 -3
- package/.prettierrc +6 -0
- package/Dockerfile +4 -2
- package/README.md +6 -7
- package/charts/keycloak-reporter/Chart.yaml +3 -2
- package/charts/keycloak-reporter/README.md +2 -2
- package/charts/keycloak-reporter/templates/_helpers.tpl +21 -0
- package/charts/keycloak-reporter/templates/cronjob.yaml +5 -3
- package/charts/keycloak-reporter/values.yaml +4 -7
- package/cli.ts +61 -30
- package/config.json +9 -0
- package/dist/cli.js +41 -19
- package/dist/cli.js.map +1 -1
- package/dist/lib/output.js +53 -50
- package/dist/lib/output.js.map +1 -1
- package/e2e/spec/webhooks.js +84 -10
- package/k8s.yaml +51 -0
- package/keycloak-reporter-0.5.0.tgz +0 -0
- package/lib/output.ts +63 -57
- package/package.json +5 -3
- package/renovate.json +15 -7
- package/test.values.yaml +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@continuoussecuritytooling/keycloak-reporter",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Reporting Tools for Keycloak",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"homepage": "https://github.com/ContinuousSecurityTooling/keycloak-reporter#readme",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@json2csv/node": "^7.0.0",
|
|
29
|
-
"@keycloak/keycloak-admin-client": "^
|
|
29
|
+
"@keycloak/keycloak-admin-client": "^22.0.0",
|
|
30
30
|
"@slack/webhook": "^6.1.0",
|
|
31
31
|
"ajv": "^8.12.0",
|
|
32
32
|
"install": "^0.13.0",
|
|
@@ -37,13 +37,15 @@
|
|
|
37
37
|
"yargs": "^17.7.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@octokit/rest": "^
|
|
40
|
+
"@octokit/rest": "^20.0.0",
|
|
41
41
|
"@types/jest": "^29.5.1",
|
|
42
42
|
"@types/node": "^20.1.5",
|
|
43
43
|
"@types/yargs": "^17.0.24",
|
|
44
44
|
"@typescript-eslint/eslint-plugin": "^5.59.6",
|
|
45
45
|
"@typescript-eslint/parser": "^5.59.6",
|
|
46
46
|
"eslint": "^8.40.0",
|
|
47
|
+
"eslint-config-prettier": "^9.0.0",
|
|
48
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
47
49
|
"gunzip-maybe": "^1.4.2",
|
|
48
50
|
"jest": "^29.5.0",
|
|
49
51
|
"jest-extended": "^4.0.0",
|
package/renovate.json
CHANGED
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
3
|
-
"extends": [
|
|
4
|
-
"config:base",":dependencyDashboard"
|
|
5
|
-
],
|
|
6
|
-
"automerge": true,
|
|
3
|
+
"extends": ["config:base", ":rebaseStalePrs"],
|
|
7
4
|
"platformAutomerge": true,
|
|
8
5
|
"packageRules": [
|
|
9
6
|
{
|
|
10
|
-
"description": "
|
|
11
|
-
"matchUpdateTypes": ["minor", "patch"],
|
|
12
|
-
"automerge": true
|
|
7
|
+
"description": "Automatically merge minor and patch-level updates",
|
|
8
|
+
"matchUpdateTypes": ["minor", "patch", "digest"],
|
|
9
|
+
"automerge": true,
|
|
10
|
+
"automergeType": "branch"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"regexManagers": [
|
|
14
|
+
{
|
|
15
|
+
"description": "Update version entries in YAML files",
|
|
16
|
+
"fileMatch": [".*y[a]?ml$"],
|
|
17
|
+
"matchStrings": [
|
|
18
|
+
"# renovate: datasource=(?<datasource>[a-z-]+?)(?: lookupName=(?<lookupName>.+?))?(?: versioning=(?<versioning>[a-z-]+?))?\\sRUN install-[a-z]+? (?<depName>[a-z-]+?) (?<currentValue>.+?)\\s"
|
|
19
|
+
],
|
|
20
|
+
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
|
|
13
21
|
}
|
|
14
22
|
],
|
|
15
23
|
"prHourlyLimit": 10
|
package/test.values.yaml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
installCRDs: true
|
|
2
|
+
keycloak:
|
|
3
|
+
config:
|
|
4
|
+
clientId: admin-cli
|
|
5
|
+
clientSecret: PWkJ98Atq36QFP5Z25YXJDWs4tvsGvkI
|
|
6
|
+
webhookType: teams
|
|
7
|
+
webhookUrl: https://m13t4mgmt.webhook.office.com/webhookb2/02950819-c8ca-4c83-9751-808d801e8810@09f6f098-3af9-474c-a398-d17786fff1bf/IncomingWebhook/b06222e267a04255aaa32a341acb1749/a4f92b5b-01c7-40a8-91ff-0695e08d76ff
|
|
8
|
+
webhookMessage: TEST
|