@continuoussecuritytooling/keycloak-reporter 0.8.11 → 0.8.14

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.
@@ -1,54 +1,123 @@
1
- name: Release Chart
2
-
1
+ name: Create release # You may choose a different name
2
+ run-name: ${{ inputs.releaseversion }} # Enumerates entries in the "workflow runs" view
3
3
  on:
4
- push:
5
- branches:
6
- - main
4
+ workflow_dispatch:
5
+ inputs:
6
+ releaseversion:
7
+ description: 'Release version'
8
+ required: true
9
+ type: string
10
+ default: "X.Y.Z"
7
11
 
8
12
  jobs:
9
- release:
10
- # depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
11
- # see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
12
- permissions:
13
- contents: write
14
- runs-on: ubuntu-latest
15
- steps:
16
- - name: Checkout
17
- uses: actions/checkout@v4
18
- with:
19
- fetch-depth: 0
20
-
21
- - name: Configure Git
22
- run: |
23
- git config user.name "$GITHUB_ACTOR"
24
- git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
25
-
26
- - name: Install Helm
27
- uses: azure/setup-helm@v4
28
- - name: Install Python
29
- uses: actions/setup-python@v5
30
- with:
31
- python-version: '3.9'
32
- check-latest: true
33
- - name: Set up chart-testing
34
- uses: helm/chart-testing-action@v2.6.1
35
-
36
- - name: Run chart-testing (lint)
37
- run: ct lint --config .ct.yaml
38
-
39
- - name: Helm Package
40
- run: helm package charts/keycloak-reporter/
41
-
42
- - name: Login to GitHub Container Registry
43
- run: |
44
- echo ${{ secrets.CT_OCI_GITHUB_TOKEN }} | helm registry login ghcr.io -u $ --password-stdin
45
-
46
- - name: Push Charts to GHCR
47
- run: |
48
- shopt -s nullglob
49
- for pkg in *.tgz; do
50
- if [ -z "${pkg:-}" ]; then
51
- break
52
- fi
53
- helm push "${pkg}" oci://ghcr.io/cloudtooling/helm-charts
54
- done
13
+ release: # Arbitrarily chosen
14
+ name: Release
15
+ runs-on: ubuntu-latest
16
+ permissions:
17
+ contents: write
18
+ packages: write
19
+ attestations: write
20
+ id-token: write
21
+ steps:
22
+ - name: Checkout
23
+ uses: actions/checkout@v4
24
+ with:
25
+ fetch-depth: 0
26
+
27
+ - uses: actions/create-github-app-token@v1
28
+ id: app-token
29
+ with:
30
+ app-id: ${{ vars.CI_APP_ID }}
31
+ private-key: ${{ secrets.CI_PRIVATE_KEY }}
32
+
33
+ - name: Setup NodeJS
34
+ uses: actions/setup-node@v4
35
+ with:
36
+ node-version: '20'
37
+ registry-url: 'https://registry.npmjs.org'
38
+
39
+ - name: Setup Java
40
+ uses: actions/setup-java@v4 # Does also set up Maven and GPG
41
+ with:
42
+ distribution: 'temurin' # As good as any other, see: https://github.com/actions/setup-java#supported-distributions
43
+ java-version: '21'
44
+
45
+ - name: Configure git
46
+ run: |
47
+ git config --global user.name '${{ steps.app-token.outputs.app-slug }}[bot]'
48
+ git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>'
49
+ - name: npm build and test
50
+ run: |
51
+ npm run clean
52
+ npm version --no-git-tag-version ${{ github.event.inputs.releaseversion }}
53
+ npm run build
54
+
55
+ - name: Install Helm
56
+ uses: azure/setup-helm@v4
57
+ - name: Install Python
58
+ uses: actions/setup-python@v5
59
+ with:
60
+ python-version: '3.9'
61
+ check-latest: true
62
+ - name: Set up chart-testing
63
+ uses: helm/chart-testing-action@v2.6.1
64
+
65
+ - name: Set up helm-docs
66
+ uses: gabe565/setup-helm-docs-action@v1
67
+
68
+ - name: Run chart-testing (lint)
69
+ run: ct lint --config .ct.yaml
70
+
71
+ - name: Helm Package
72
+ run: |
73
+ export HELM_CHART_DIR=charts/keycloak-reporter
74
+ chartVersion=$(cat $HELM_CHART_DIR/Chart.yaml | grep "version: " | sed -E -n "s/^version: \s*(.*)$/\1/p")
75
+ sed -i 's/version: '"$chartVersion"'/version: '"${{ github.event.inputs.releaseversion }}"'/g' $HELM_CHART_DIR/Chart.yaml
76
+ helm-docs
77
+ helm package $HELM_CHART_DIR
78
+ git add .
79
+
80
+
81
+ - name: Run chart-testing (lint)
82
+ run: ct lint --config .ct.yaml
83
+
84
+ - name: Conventional Changelog Action
85
+ uses: TriPSs/conventional-changelog-action@v5
86
+ with:
87
+ input-file: CHANGELOG.md
88
+ github-token: ${{ secrets.GITHUB_TOKEN }}
89
+ version-file: package.json
90
+ pre-release: true
91
+ skip-bump: true
92
+ skip-on-empty: false
93
+ tag-prefix: 'v'
94
+
95
+ - name: Create Release on GH
96
+ id: tag-and-release
97
+ uses: avakar/tag-and-release@v1
98
+ with:
99
+ draft: true
100
+ release_name: ${{ github.event.inputs.releaseversion }}
101
+ tag_name: v${{ github.event.inputs.releaseversion }}
102
+ env:
103
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
104
+
105
+ - name: Publish npm package
106
+ run: |
107
+ npm publish
108
+ env:
109
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
110
+
111
+ - name: Login to GitHub Container Registry
112
+ run: |
113
+ echo ${{ secrets.CT_OCI_GITHUB_TOKEN }} | helm registry login ghcr.io -u $ --password-stdin
114
+
115
+ - name: Push Charts to GHCR
116
+ run: |
117
+ shopt -s nullglob
118
+ for pkg in *.tgz; do
119
+ if [ -z "${pkg:-}" ]; then
120
+ break
121
+ fi
122
+ helm push "${pkg}" oci://ghcr.io/cloudtooling/helm-charts
123
+ done
package/CHANGELOG.md CHANGED
@@ -1,3 +1,76 @@
1
+ ## [0.8.14](https://github.com/ContinuousSecurityTooling/keycloak-reporter/compare/v0.8.12...v0.8.14) (2024-09-17)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update dependency @continuoussecuritytooling/keycloak-auditor to v1.1.10 ([ac7118b](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/ac7118bbcdd08dc4df3e33aca1d207ff946abbe6))
7
+ * **deps:** update dependency @keycloak/keycloak-admin-client to v25.0.4 ([e79d129](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/e79d129308de45c661374303990aad06a3264a48))
8
+ * **deps:** update dependency @keycloak/keycloak-admin-client to v25.0.5 ([179de86](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/179de86d06f61eadf6975bee86784fab0fc510a2))
9
+ * **deps:** update dependency @slack/webhook to v7.0.3 ([483dce5](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/483dce5975e0722e531f673035703ef78983afa0))
10
+ * **deps:** update dependency ms-teams-webhook to v2.2.0 ([38e4184](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/38e41849a6a5eb41edafe813f8d9dcd7bfc37f7e))
11
+ * **deps:** update dependency ms-teams-webhook to v2.2.1 ([eb91bcf](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/eb91bcff5142099cada7ed1cb9cceac71ebfd9bd))
12
+ * **deps:** update dependency ms-teams-webhook to v2.2.2 ([1ccd777](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/1ccd7771918077cadbe74e88e78554e7307871b1))
13
+ * **deps:** update dependency npm to v10.8.3 ([b14ebf4](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/b14ebf4f2fa6295aad533f610949425313cb92ce))
14
+ * **deps:** update dependency openid-client to v5.7.0 ([8688200](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/8688200de26bd62077aeec9f01ce8f503e92e296))
15
+
16
+
17
+
18
+ ## [0.8.13](https://github.com/ContinuousSecurityTooling/keycloak-reporter/compare/v0.8.12...v) (2024-09-17)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * **deps:** update dependency @continuoussecuritytooling/keycloak-auditor to v1.1.10 ([ac7118b](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/ac7118bbcdd08dc4df3e33aca1d207ff946abbe6))
24
+ * **deps:** update dependency @keycloak/keycloak-admin-client to v25.0.4 ([e79d129](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/e79d129308de45c661374303990aad06a3264a48))
25
+ * **deps:** update dependency @keycloak/keycloak-admin-client to v25.0.5 ([179de86](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/179de86d06f61eadf6975bee86784fab0fc510a2))
26
+ * **deps:** update dependency @slack/webhook to v7.0.3 ([483dce5](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/483dce5975e0722e531f673035703ef78983afa0))
27
+ * **deps:** update dependency ms-teams-webhook to v2.2.0 ([38e4184](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/38e41849a6a5eb41edafe813f8d9dcd7bfc37f7e))
28
+ * **deps:** update dependency ms-teams-webhook to v2.2.1 ([eb91bcf](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/eb91bcff5142099cada7ed1cb9cceac71ebfd9bd))
29
+ * **deps:** update dependency ms-teams-webhook to v2.2.2 ([1ccd777](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/1ccd7771918077cadbe74e88e78554e7307871b1))
30
+ * **deps:** update dependency npm to v10.8.3 ([b14ebf4](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/b14ebf4f2fa6295aad533f610949425313cb92ce))
31
+ * **deps:** update dependency openid-client to v5.7.0 ([8688200](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/8688200de26bd62077aeec9f01ce8f503e92e296))
32
+
33
+
34
+
35
+ ## [0.8.12](https://github.com/ContinuousSecurityTooling/keycloak-reporter/compare/v0.8.11...v0.8.12) (2024-07-29)
36
+
37
+
38
+ ### Bug Fixes
39
+
40
+ * **deps:** update dependency @keycloak/keycloak-admin-client to v25.0.1 ([b267295](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/b267295b0f3b8a30834586ebb3f9554fad1393c0))
41
+ * **deps:** update dependency @keycloak/keycloak-admin-client to v25.0.2 ([d14e96b](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/d14e96b4d0f97516dda20c34c210a97cf98798cb))
42
+ * **deps:** update dependency ajv to v8.17.1 ([ac581df](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/ac581df5f60bd52463aa102bd7176cb230ae4f0a))
43
+ * **deps:** update dependency npm to v10.8.2 ([1671de8](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/1671de8e1c7f9ff73fb75fb2d4c5396103337b32))
44
+ * Dockerfile to reduce vulnerabilities ([96c4505](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/96c450526d53d9efa5c8d74d6adeaaf9fef85470))
45
+
46
+
47
+
48
+ ## [0.8.11](https://github.com/ContinuousSecurityTooling/keycloak-reporter/compare/v0.8.10...v0.8.11) (2024-06-16)
49
+
50
+
51
+ ### Bug Fixes
52
+
53
+ * **deps:** update dependency @continuoussecuritytooling/keycloak-auditor to v1.1.8 ([5656b22](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/5656b222af725e3e3d0555d3129a5b2751b40ffa))
54
+ * **deps:** update dependency @continuoussecuritytooling/keycloak-auditor to v1.1.9 ([c077a40](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/c077a406c0636449b9dc56c43fc6689d4ca702a6))
55
+ * **deps:** update dependency @keycloak/keycloak-admin-client to v24.0.3 ([a6827e9](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/a6827e9d79287df4189b72c43f8fce1a8ac3530f))
56
+ * **deps:** update dependency @keycloak/keycloak-admin-client to v24.0.4 ([53d80cc](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/53d80cc7268690a2e3aca9378492b0429cbb1d57))
57
+ * **deps:** update dependency @keycloak/keycloak-admin-client to v24.0.5 ([3864f49](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/3864f493d09454b96b0ed3516a1f26306a3c7097))
58
+ * **deps:** update dependency @keycloak/keycloak-admin-client to v25 ([bb6a85b](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/bb6a85bb8f84c52368219dfea200a95b141e4037))
59
+ * **deps:** update dependency ajv to v8.13.0 ([ce6d67d](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/ce6d67d6a09f27f3289c1c50d2904b18fc5b6762))
60
+ * **deps:** update dependency ajv to v8.14.0 ([8618ff8](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/8618ff868b6aadc39ab6019dac42eeb427111997))
61
+ * **deps:** update dependency ajv to v8.16.0 ([78b2ce1](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/78b2ce1e37b8fc9959bb267ff31dc38a8f1332f9))
62
+ * **deps:** update dependency ms-teams-webhook to v2.1.0 ([d9f1662](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/d9f16622cdccec368b10278b8cef5f2c9383f4cb))
63
+ * **deps:** update dependency npm to v10.5.1 ([3ac3f1f](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/3ac3f1fd2225ddf85b7a90fa40a8c951bd41b546))
64
+ * **deps:** update dependency npm to v10.5.2 ([372e56c](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/372e56ca9c8aaaf4a400970413c2853f2775be31))
65
+ * **deps:** update dependency npm to v10.6.0 ([7ea79af](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/7ea79af7616cc75d95c6798507a2411afa9950e8))
66
+ * **deps:** update dependency npm to v10.7.0 ([4adeef7](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/4adeef7af981cac832df4daa5c92cf6adcc0b3df))
67
+ * **deps:** update dependency npm to v10.8.0 ([b086d1b](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/b086d1baf975ba5a6eae7f1f0c51af9fa03e739d))
68
+ * **deps:** update dependency npm to v10.8.1 ([3318fd0](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/3318fd06be4295a0fc7e3ffebf30b08722561e81))
69
+ * **deps:** update dependency ramda to ^0.30.0 ([d8b7a83](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/d8b7a83313072472dbe19ee5b60aaae033a47f98))
70
+ * **deps:** update dependency ramda to v0.30.1 ([6852d20](https://github.com/ContinuousSecurityTooling/keycloak-reporter/commit/6852d2045fda5b6b2f230ea551ab5637e00942d5))
71
+
72
+
73
+
1
74
  ## [0.8.10](https://github.com/ContinuousSecurityTooling/keycloak-reporter/compare/v0.8.9...v0.8.10) (2024-03-28)
2
75
 
3
76
 
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM node:20.14.0-slim
1
+ FROM node:20.17.0-slim
2
2
 
3
3
  ARG BUILD_DATE
4
4
  ARG APP_VERSION
@@ -15,7 +15,7 @@ type: application
15
15
  # This is the chart version. This version number should be incremented each time you make changes
16
16
  # to the chart and its templates, including the app version.
17
17
  # Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version: 1.3.3
18
+ version: 0.8.14
19
19
 
20
20
  # This is the version number of the application being deployed. This version number should be
21
21
  # incremented each time you make changes to the application. Versions are not expected to
@@ -1,6 +1,6 @@
1
1
  # keycloak-reporter
2
2
 
3
- ![Version: 1.3.3](https://img.shields.io/badge/Version-1.3.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.10](https://img.shields.io/badge/AppVersion-0.8.10-informational?style=flat-square)
3
+ ![Version: 0.8.14](https://img.shields.io/badge/Version-0.8.14-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.10](https://img.shields.io/badge/AppVersion-0.8.10-informational?style=flat-square)
4
4
 
5
5
  Keycloak user and client reporting tool for automated regular access checks.
6
6
 
@@ -35,4 +35,4 @@ Keycloak user and client reporting tool for automated regular access checks.
35
35
  | tolerations | list | `[]` | |
36
36
 
37
37
  ----------------------------------------------
38
- Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1)
38
+ Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@continuoussecuritytooling/keycloak-reporter",
3
- "version": "0.8.11",
3
+ "version": "0.8.14",
4
4
  "description": "Reporting Tools for Keycloak",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -45,12 +45,12 @@
45
45
  "yargs": "^17.7.2"
46
46
  },
47
47
  "devDependencies": {
48
- "@octokit/rest": "^20.0.0",
48
+ "@octokit/rest": "^21.0.0",
49
49
  "@types/jest": "^29.5.1",
50
50
  "@types/node": "^20.1.5",
51
51
  "@types/yargs": "^17.0.24",
52
- "@typescript-eslint/eslint-plugin": "^7.0.0",
53
- "@typescript-eslint/parser": "^7.0.0",
52
+ "@typescript-eslint/eslint-plugin": "^8.0.0",
53
+ "@typescript-eslint/parser": "^8.0.0",
54
54
  "conventional-changelog-cli": "^5.0.0",
55
55
  "eslint": "^8.40.0",
56
56
  "eslint-config-prettier": "^9.0.0",