Commit Graph

1887 Commits

Author SHA1 Message Date
Anderson Valério 125e2f0ab6
pics cookie refresh 2024-12-05 14:51:06 -03:00
Anderson Valério 6e288ec2b6
moving audit to pics folder 2024-12-04 09:02:21 -03:00
Anderson Valério b71c2f8857
pics_oidc 2024-12-04 09:01:16 -03:00
Anderson Valério 2a34c871d4
Minimizing changes with upstream (#56)
Removing blank lines/spaces/tabs differences with upstream

## Motivation and Context

Minimize conflicts when merging a new version

## How Has This Been Tested?


## Checklist:

- [x] Reverted formatting changes to minimize conflicts
2024-12-04 08:57:31 -03:00
Anderson Valério 8053bfe399
Revert "isolating changes on oidc provider"
This reverts commit c053cb8d0a.
2024-12-04 08:38:46 -03:00
Anderson Valério b5ebcb2a13
Revert "moving audit to pics folder"
This reverts commit 59f46e6c9f.
2024-12-04 08:32:15 -03:00
Anderson Valério e6e7c91352
reverting formatting changes 2024-12-02 14:54:27 -03:00
Anderson Valério 8600d79ff5
reverting formatting changes 2024-12-02 14:39:15 -03:00
Anderson Valério 8b5b97c399
reverting formatting changes 2024-12-02 12:00:49 -03:00
Anderson Valério fd6f9c0c63
reverting formatting changes 2024-12-02 10:51:28 -03:00
Anderson Valério 9db036e422
revert html formatting 2024-12-02 10:36:58 -03:00
Anderson Valério f0c2b53784
reverting changes that only cause conflicts 2024-11-29 15:15:55 -03:00
Anderson Valério c053cb8d0a
isolating changes on oidc provider 2024-11-29 15:14:58 -03:00
Anderson Valério 59f46e6c9f
moving audit to pics folder 2024-11-29 15:14:10 -03:00
Anderson Valério b3a86319ab
Add audit metric (#55)
## Description

Adding custom audit metric for audit errors.

## Motivation and Context

This is needed to track audit errors and create alerts when they happen.

## How Has This Been Tested?

Built a local copy from this PR and integrated it with Reporting locally
by running the binary. Used invalid audit environment variables to make
the audit request fail.

Commands:
- make build
- set envs (grab from Pics containers) and include invalid audit envs
- ./oauth2-proxy --http-address=127.0.0.1:9876
--https-address=127.0.0.1:9877 --metrics-address=127.0.0.1:9090
- change evs in .env.local.worklist-gateway file in pics repo (worklist
Oauth) to OAUTH_PROXY_ENDPOINT=host.docker.internal and
OAUTH_PROXY_PORT=9876
- run pics


![image](https://github.com/user-attachments/assets/248f2865-4bf3-47dd-83f4-7799931eeb77)
2024-09-24 08:43:12 -03:00
Anderson Valério cb1ecf8886
add audit metric 2024-09-23 15:48:29 -03:00
Leandro Lafin 7eec31f837
Update source code to origin v7.6.0 (#54)
## Description

We are updating the fork source code from origin `v7.4.0` to `v7.6.0`
while keeping the customizations.

## How was it tested?

Created a local container image of the oauth-proxy from this PR and
integrated it with Reporting locally. The following flows were checked:
- Login
- User introspect
- Audit logs
- Logout 
- Auto logout
2024-07-16 16:08:32 -03:00
Leandro Lafin b8ba647fb2
Fixing unit tests 2024-07-15 12:06:42 -03:00
Leandro Lafin 4ddb75c0e3
Update alpha config 2024-07-15 11:07:50 -03:00
Leandro Lafin 4ea0183a5a
release v7.6.0 2024-07-15 10:22:27 -03:00
Leandro Lafin 1b4c3d756e
Session aware logout, backend logout url approach 2024-07-15 10:14:25 -03:00
Leandro Lafin 99bafcff95
chore(deps): update mcr.microsoft.com/vscode/devcontainers/go docker tag to v1 2024-07-15 10:01:45 -03:00
Leandro Lafin b6842a91e8
docs: add code of conduct 2024-07-15 10:00:26 -03:00
Leandro Lafin 2d7a6b984b
chore(deps): update module google.golang.org/api to v0.157.0 2024-07-15 09:59:14 -03:00
Leandro Lafin 7a32e57d89
chore(deps): update actions/setup-go action to v5 2024-07-15 09:58:33 -03:00
Leandro Lafin 6502eb24be
chore(deps): update actions/checkout action to v4 2024-07-15 09:57:56 -03:00
Leandro Lafin 94dec38cfc
chore(deps): update module k8s.io/apimachinery to v0.29.1 2024-07-15 09:56:22 -03:00
Leandro Lafin f072a89304
chore(deps): update github.com/ghodss/yaml digest to d8423dc 2024-07-15 09:55:54 -03:00
Leandro Lafin e684125ca7
upgrading to go 1.21 2024-07-15 09:54:57 -03:00
Leandro Lafin 20624f140c
chore(deps): update alpine docker tag to v3.19.0 2024-07-15 09:09:38 -03:00
Leandro Lafin 8b869116b2
chore(deps): update module github.com/bsm/redislock to v0.9.4 2024-07-15 09:02:15 -03:00
Leandro Lafin f1c58097d3
Improved dev environment 2024-07-15 09:00:36 -03:00
Leandro Lafin c156c9f732
Add ability to configure username for Redis cluster connections 2024-07-15 08:43:15 -03:00
Leandro Lafin 822cfad994
Feature/add option to skip loading claims from profile url 2024-07-12 15:57:12 -03:00
Leandro Lafin 0fb3937d46
Remove nsswitch DNS resolution workaround 2024-07-12 15:30:38 -03:00
Leandro Lafin 634fbe6dc6
Feature - Add env variable support for alpha struct 2024-07-12 15:29:38 -03:00
Leandro Lafin a63b535946
Log error details when failed loading CSRF cookie 2024-07-12 15:26:35 -03:00
Leandro Lafin 3d28f6a888
chore: Create sha256sum for tar instead of binary 2024-07-12 15:25:30 -03:00
Leandro Lafin c6858c006b
NGINX return 403 for sign_in (#2322) 2024-07-12 15:22:28 -03:00
Leandro Lafin 2434369974
Add possibility to encode the state param as UrlEncodedBase64 2024-07-12 15:20:57 -03:00
Leandro Lafin 9473f3182a
enhancement: Change base image from alpine to distroless 2024-07-12 15:14:14 -03:00
Leandro Lafin 1fc5b5cf15
Update go-jose dependency as requested in #2350 2024-07-12 15:07:29 -03:00
Leandro Lafin 02f26d66b2
Update ojg to latest release 2024-07-12 15:04:30 -03:00
Leandro Lafin a16786a160
fix: fix nginx setup 2024-07-12 15:03:40 -03:00
Leandro Lafin 7d977cc761
add breaking change notice for the new auth route regex matching behaviour introduced by #2193 2024-07-12 15:03:11 -03:00
Leandro Lafin 88b469bedd
Feature: Add GitHub groups (orgs/teams) support 2024-07-12 15:02:19 -03:00
Leandro Lafin bcd665c9a3
bugfix: OIDCConfig based providers are not respecting flags and configs 2024-07-12 14:44:22 -03:00
Leandro Lafin eff95e31b8
Don't run the nightly build and push job in forked repositories 2024-07-12 14:36:56 -03:00
Leandro Lafin b5a40ce6a5
Support http.AllowQuerySemicolons 2024-07-12 14:36:15 -03:00
Leandro Lafin 6b19c7d616
bugfix: fix nightly date tagging 2024-07-12 14:33:37 -03:00