Kump3r
d03f900410
Addapt cloudfoundry_test.go acceptance tests for CF API v3
...
Signed-off-by: Kump3r <tonevkalin@gmail.com>
2 months ago
IvanChalukov
1d65ae4e2f
Switching to CF API V3 endpoints
...
Signed-off-by: IvanChalukov <ichalukov@gmail.com>
2 months ago
Kump3r
0d5987ae47
Use simple structures for the apiResult
...
Signed-off-by: Kump3r <tonevkalin@gmail.com>
2 months ago
Kump3r
ff451646ab
Refactor CloudFoundry API request handling to use updated response structure
...
Signed-off-by: Kump3r <tonevkalin@gmail.com>
2 months ago
Kump3r
9c9fdd9266
Add missing endpoint
...
Signed-off-by: Kump3r <tonevkalin@gmail.com>
2 months ago
Kump3r
17c0d4f383
Switching to CloudFoundry v3 API
...
Signed-off-by: Kump3r <tonevkalin@gmail.com>
2 months ago
Rui Yang
46f7b89893
add cloudfoundry to connector list in readme
...
Signed-off-by: Rui Yang <ruiya@vmware.com>
2 months ago
Rui Yang
c1eb2f389b
rename connector;make types private;
...
Signed-off-by: Rui Yang <ruiya@vmware.com>
2 months ago
Rui Yang
c4a6920c5e
fix sanity check errors
...
Signed-off-by: Rui Yang <ruiya@vmware.com>
2 months ago
Rui Yang
de399a5a5e
run golangcli-lint
...
Signed-off-by: Rui Yang <ruiya@vmware.com>
2 months ago
Rui Yang
e277651705
fix lint errors
...
gofumpt-ed
Signed-off-by: Rui Yang <ryang@pivotal.io>
2 months ago
Joshua Winters
397b26b857
add cf org:space:role group claim to token
...
Signed-off-by: Joshua Winters <jwinters@pivotal.io>
Co-authored-by: Rui Yang <ryang@pivotal.io>
2 months ago
Rui Yang
13e3c24f4b
append role to space guids
...
Signed-off-by: Rui Yang <ryang@pivotal.io>
Co-authored-by: Joshua Winters <jwinters@pivotal.io>
2 months ago
Zoe Tian
0cdd860e2e
add unit test and api call to `audited_spaces` and `managed_spaces`
...
Signed-off-by: Zoe Tian <ztian@pivotal.io>
Co-authored-by: Ciro S. Costa <cscosta@pivotal.io>
Signed-off-by: w3tian <w3tian@uwaterloo.ca>
2 months ago
Joshua Winters
e926929f3e
cf: add org guid to groups claims
...
Co-authored-by: Rui Yang <ryang@pivotal.io>
Signed-off-by: Joshua Winters <jwinters@pivotal.io>
2 months ago
Joshua Winters
dd69f963a9
cf: add org to groups claims
...
Signed-off-by: Joshua Winters <jwinters@pivotal.io>
Co-authored-by: Rui Yang <ryang@pivotal.io>
2 months ago
Daniel Lavoie
a0570a2ae2
Added support for CF resources pagination
...
Signed-off-by: Daniel Lavoie <dlavoie@live.ca>
2 months ago
Josh Winters
de4a36e19e
update cf connector to use 'authorization_endpoint' from /v2/info
...
Co-authored-by: Topher Bullock <tbullock@pivotal.io>
Signed-off-by: Josh Winters <jwinters@pivotal.io>
2 months ago
Joshua Winters
806e1d1854
Add new connector for Cloudfoundry
...
- Verifies user is part of orgs and spaces for group claims
Signed-off-by: Joshua Winters <jwinters@pivotal.io>
Co-authored-by: Shash Reddy <sreddy@pivotal.io>
2 months ago
Maksim Nabokikh
11d2eeb52b
Merge pull request #4604 from deckhouse/2.45.1-prepare-release
...
v2.45.1 prepare release
2 months ago
Michiel De Backker
eaa45e2ca5
fix(mysql): quote `groups` reserved word in query replacer ( #4580 )
...
`groups` is a reserved word in MySQL >= 8.0.2, causing migration 13
to fail with a syntax error on `ALTER TABLE password ADD COLUMN groups`.
Fixes #4579
Signed-off-by: Michiel De Backker <mail@backkem.me>
2 months ago
Mathias Gebbe
204dbb2e3f
fix(connector): update authproxy and oauth to match CallbackConnector interface ( #4589 )
...
The PKCE support added in v2.45.0 changed the CallbackConnector interface
signatures but missed updating the authproxy and oauth connectors. This
caused a type assertion failure in handleConnectorLogin(), resulting in
"Requested resource does not exist" errors when using these connectors.
Update LoginURL to return (string, []byte, error) and HandleCallback to
accept a []byte connData parameter for both connectors and their tests.
Signed-off-by: Mathias Gebbe <mathias.gebbe@gmail.com>
2 months ago
Maksim Nabokikh
bcc2283694
feat: enhance test commands to support GitHub Actions formatting ( #4575 )
...
With the number of tests growing, it is harder and harder to find errors in the test output. Gotestsum is a well-known runner for tests helping to format the output fot both local runs and GitHub Actions.
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
2 months ago
dependabot[bot]
ec26e19e79
build(deps): bump github/codeql-action from 4.32.3 to 4.32.4 ( #4573 )
2 months ago
dependabot[bot]
51c66d2523
build(deps): bump aquasecurity/trivy-action from 0.34.0 to 0.34.1 ( #4574 )
2 months ago
Maksim Nabokikh
8db7699e0f
feat: implement device code flow in example-app ( #4570 )
...
This is a KubeCon 2026 preparation:
1. Add device flow to the example-app
2. Add userinfo checker
3. Refactor the structure
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
2 months ago
Maksim Nabokikh
cf17fc68c8
test: update HandleCallback after merging OIDC PKCE ( #4572 )
...
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
2 months ago
Aljoscha Bollmann
83697b06a6
fix(server): respond with forbidden if failed to authenticate ( #4200 )
...
Signed-off-by: Aljoscha Bollmann <aljoscha.bollmann@proton.me>
2 months ago
Giovanni Vella
25591eeaf4
Add support to PKCE in OIDC connector ( #3777 )
...
Signed-off-by: johnvan7 <giovanni.vella98@gmail.com>
Signed-off-by: Giovanni Vella <giovanni.vella98@gmail.com>
2 months ago
Maksim Nabokikh
5d27abc117
feat: refactor example-app with a new config ( #4569 )
...
This is a preparation for KubeCon 2026:
1. Restyle the app
2. Refactor advanced configuration options
3. Move embedded templates and css to separate files
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
2 months ago
Maksim Nabokikh
08079303c9
feat: add debug step to check image metadata in workflow ( #4566 )
...
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
2 months ago
dependabot[bot]
49c8228d30
build(deps): bump actions/dependency-review-action from 4.8.2 to 4.8.3 ( #4563 )
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 4.8.2 to 4.8.3.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](3c4e3dcb1a...05fe457637 )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-version: 4.8.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
Maksim Nabokikh
0108be9e9f
feat: add skopeo copy command to transfer image from OCI layout ( #4564 )
...
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
2 months ago
dependabot[bot]
548b0f54e8
build(deps): bump filippo.io/edwards25519 from 1.1.0 to 1.1.1 ( #4562 )
2 months ago
Maksim Nabokikh
29c7b6f4e3
feat: validate redirect URIs and safely append parameters ( #4559 )
...
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
2 months ago
dependabot[bot]
69f9b7eef9
build(deps): bump google.golang.org/api from 0.266.0 to 0.267.0 ( #4558 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.266.0 to 0.267.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.266.0...v0.267.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-version: 0.267.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
dependabot[bot]
be13b1f4d2
build(deps): bump helm/kind-action from 1.13.0 to 1.14.0 ( #4557 )
...
Bumps [helm/kind-action](https://github.com/helm/kind-action ) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/helm/kind-action/releases )
- [Commits](92086f6be0...ef37e7f390 )
---
updated-dependencies:
- dependency-name: helm/kind-action
dependency-version: 1.14.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
Maksim Nabokikh
dce46384d9
build(deps): update gRPC to v1.79.1 and other dependencies ( #4554 )
...
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
2 months ago
Maksim Nabokikh
955142bae2
feat: enhance git-version script to generate pseudo-versions with timestamp ( #4553 )
...
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
2 months ago
Maksim Nabokikh
adec8b481a
Add steps to fetch and extract OCI image tarball ( #4552 )
...
Added steps to fetch and extract OCI image tarball.
Signed-off-by: Maksim Nabokikh <maksim.nabokikh@flant.com>
2 months ago
Maksim Nabokikh
eb9f04b468
Debug trivy scans ( #4545 )
...
Signed-off-by: Maksim Nabokikh <maksim.nabokikh@flant.com>
2 months ago
dependabot[bot]
5593fb7fcf
build(deps): bump github/codeql-action from 4.32.2 to 4.32.3 ( #4547 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.32.2 to 4.32.3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](45cbd0c69e...9e907b5e64 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.32.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
dependabot[bot]
c331bb9608
build(deps): bump the etcd group with 2 updates ( #4548 )
...
Bumps the etcd group with 2 updates: [go.etcd.io/etcd/client/pkg/v3](https://github.com/etcd-io/etcd ) and [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd ).
Updates `go.etcd.io/etcd/client/pkg/v3` from 3.6.7 to 3.6.8
- [Release notes](https://github.com/etcd-io/etcd/releases )
- [Commits](https://github.com/etcd-io/etcd/compare/v3.6.7...v3.6.8 )
Updates `go.etcd.io/etcd/client/v3` from 3.6.7 to 3.6.8
- [Release notes](https://github.com/etcd-io/etcd/releases )
- [Commits](https://github.com/etcd-io/etcd/compare/v3.6.7...v3.6.8 )
---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/pkg/v3
dependency-version: 3.6.8
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: etcd
- dependency-name: go.etcd.io/etcd/client/v3
dependency-version: 3.6.8
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: etcd
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
dependabot[bot]
e640a40a47
build(deps): bump google.golang.org/grpc from 1.79.0 to 1.79.1 ( #4549 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.79.0 to 1.79.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.79.0...v1.79.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
dependabot[bot]
2976b2363a
build(deps): bump google.golang.org/grpc in /examples ( #4551 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.79.0 to 1.79.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.79.0...v1.79.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
dependabot[bot]
7c74dd8ad8
build(deps): bump distroless/static-debian13 from `f9f84bd` to `01e550f` ( #4546 )
...
Bumps distroless/static-debian13 from `f9f84bd` to `01e550f`.
---
updated-dependencies:
- dependency-name: distroless/static-debian13
dependency-version: nonroot
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
Maksim Nabokikh
a5f49565a1
Add permissions section to trivydb-cache workflow ( #4544 )
...
Signed-off-by: Maksim Nabokikh <maksim.nabokikh@flant.com>
2 months ago
Maksim Nabokikh
9bee809252
feat(crd): add CRD handling behavior and configuration options ( #4543 )
...
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
2 months ago
Maksim Nabokikh
ad3a83ebcf
build(gomplate): update gomplate version to v5.0.0 and add update script ( #4542 )
...
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
2 months ago
Maksim Nabokikh
785033767c
feat: refactor signer configuration with local and vault options ( #4532 )
...
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
2 months ago