Joshua Casey
|
76f6b725b8
|
Fix some rebase conflicts
|
2024-11-27 13:53:01 -06:00 |
|
Joshua Casey
|
f9e1dd4bec
|
Backfill unit tests for garbage_collector audit logging
|
2024-11-27 13:53:01 -06:00 |
|
Joshua Casey
|
f4f393e5de
|
Audit event 'HTTP Request Completed' will now log the location with err, error, and error_description query parameters
Co-authored-by: Ryan Richard <richardry@vmware.com>
|
2024-11-27 13:53:01 -06:00 |
|
Joshua Casey
|
2db5dda266
|
Add last audit log unit tests to auth_handler
Co-authored-by: Ryan Richard <richardry@vmware.com>
|
2024-11-27 13:53:01 -06:00 |
|
Ryan Richard
|
8cf9c59957
|
refactor to move audit event message types to their own pkg
|
2024-11-27 13:53:01 -06:00 |
|
Ryan Richard
|
088556193d
|
auth handler audit logs headers and params when http method is wrong
also refactor some related code into a helper, and fix linter errors
|
2024-11-27 13:53:01 -06:00 |
|
Joshua Casey
|
18d3ab3d15
|
The 'HTTP Request Parameters' audit event now logs params as a JSON object
|
2024-11-27 13:53:01 -06:00 |
|
Joshua Casey
|
dc6faa33bb
|
Log params to token_handler endpoint even during error cases
|
2024-11-27 13:53:01 -06:00 |
|
Joshua Casey
|
0d22ae2c1a
|
Fix lint and unit test compilation
|
2024-11-27 13:53:01 -06:00 |
|
Joshua Casey
|
362d982906
|
Start to backfill some audit unit tests for the token_handler
|
2024-11-27 13:53:01 -06:00 |
|
Ryan Richard
|
1006dd9379
|
resolve some todos
|
2024-11-27 13:53:01 -06:00 |
|
Joshua Casey
|
369316556a
|
Add configuration to audit internal endpoints and backfill unit tests
|
2024-11-27 13:53:01 -06:00 |
|
Joshua Casey
|
cf4b29de4b
|
Clarify docs
|
2024-11-27 13:53:00 -06:00 |
|
Joshua Casey
|
09ca7920ea
|
Extract testutil helper function
|
2024-11-27 13:53:00 -06:00 |
|
Joshua Casey
|
9994e033b2
|
Add audit event tests for login_handler
|
2024-11-27 13:53:00 -06:00 |
|
Joshua Casey
|
dd56f2b47f
|
Add audit event tests for callback_handler
|
2024-11-27 13:53:00 -06:00 |
|
Ryan Richard
|
4df043a91c
|
document audit logging
|
2024-11-27 13:53:00 -06:00 |
|
Ryan Richard
|
d020de4b3d
|
update fips reference doc
|
2024-11-27 13:53:00 -06:00 |
|
Joshua Casey
|
dd42f35db0
|
plog.TestLogger returns a buffer that holds the logs
# Conflicts:
# internal/controller/apicerts/certs_expirer_test.go
# internal/plog/plog_test.go
# internal/plog/testing.go
# pkg/oidcclient/login_test.go
|
2024-11-27 13:53:00 -06:00 |
|
Joshua Casey
|
a67af9455b
|
Refactor: don't copy the loop variable in test loops
|
2024-11-27 13:53:00 -06:00 |
|
Joshua Casey
|
d729c82f84
|
fix lint
|
2024-11-27 13:53:00 -06:00 |
|
Joshua Casey
|
44e218194b
|
Add 'AuthorizeID From Parameters' audit logs to the /callback and /login endpoints
Co-authored-by: Ryan Richard <richardry@vmware.com>
|
2024-11-27 13:53:00 -06:00 |
|
Joshua Casey
|
bf1e37f149
|
Use a helper to verify audit messages
|
2024-11-27 13:53:00 -06:00 |
|
Joshua Casey
|
aee56c388f
|
Check the sessionID as well
Co-authored-by: Ryan Richard <richardry@vmware.com>
|
2024-11-27 13:53:00 -06:00 |
|
Joshua Casey
|
fd5a10bee7
|
WIP: Add audit event when upstream redirect occurs and backfill tests
|
2024-11-27 13:53:00 -06:00 |
|
Joshua Casey
|
b20e890f15
|
Add testutil.RequireLogLines to verify multiple log lines at once
|
2024-11-27 13:53:00 -06:00 |
|
Ryan Richard
|
4f9530eec7
|
audit logging WIP
|
2024-11-27 13:53:00 -06:00 |
|
Joshua Casey
|
615b60bd37
|
Merge pull request #2143 from vmware-tanzu/rr/kube-cert-agent-for-unschedulable-nodes
CodeQL / Analyze (go) (push) Failing after 24m0s
CodeQL / Analyze (javascript) (push) Failing after 4m25s
Cert agent controller avoids locating the agent pod on unschedulable nodes when possible
|
2024-11-27 12:27:33 -06:00 |
|
Joshua Casey
|
e61afcd109
|
Merge branch 'main' into rr/kube-cert-agent-for-unschedulable-nodes
|
2024-11-27 10:05:20 -06:00 |
|
Joshua Casey
|
6ac5446940
|
Merge pull request #2142 from vmware-tanzu/pinny/bump-deps
Bump dependencies
|
2024-11-27 09:46:46 -06:00 |
|
Pinny
|
0706681180
|
Bump dependencies
|
2024-11-27 14:03:34 +00:00 |
|
Ryan Richard
|
e44d70b41d
|
kube cert agent controller avoids unschedulable nodes when possible
|
2024-11-25 14:20:12 -08:00 |
|
Joshua Casey
|
4bf810cb8f
|
Merge pull request #2139 from vmware-tanzu/pinny/bump-deps
CodeQL / Analyze (go) (push) Failing after 20m49s
CodeQL / Analyze (javascript) (push) Failing after 4m51s
Bump dependencies
|
2024-11-21 12:13:23 -06:00 |
|
Pinny
|
c791db4c52
|
Bump dependencies
|
2024-11-21 14:04:17 +00:00 |
|
Joshua Casey
|
e86f3cc594
|
Merge pull request #2123 from vmware-tanzu/pinny/bump-deps
CodeQL / Analyze (go) (push) Failing after 11m50s
CodeQL / Analyze (javascript) (push) Failing after 11m59s
Bump dependencies
|
2024-11-15 10:10:21 -06:00 |
|
Pinny
|
be6243c446
|
Bump dependencies
|
2024-11-15 14:01:52 +00:00 |
|
Joshua Casey
|
4263ee52f3
|
Merge pull request #2121 from vmware-tanzu/pinny/bump-deps
Bump dependencies
|
2024-11-14 10:59:03 -06:00 |
|
Pinny
|
d6f1c91b9c
|
Bump dependencies
|
2024-11-14 14:02:35 +00:00 |
|
Joshua Casey
|
105dc4a249
|
Merge pull request #2119 from vmware-tanzu/pinny/bump-deps
CodeQL / Analyze (go) (push) Failing after 9m32s
CodeQL / Analyze (javascript) (push) Failing after 13m34s
Bump dependencies
|
2024-11-13 14:21:09 -06:00 |
|
Pinny
|
aa80c8d0b2
|
Bump dependencies
|
2024-11-13 14:02:04 +00:00 |
|
Joshua Casey
|
7c9bdfb96e
|
Merge pull request #2109 from vmware-tanzu/pinny/bump-deps
CodeQL / Analyze (go) (push) Failing after 8m14s
CodeQL / Analyze (javascript) (push) Failing after 7m34s
Bump dependencies
|
2024-11-12 14:06:35 -06:00 |
|
Pinny
|
84b3c0ad31
|
Bump dependencies
|
2024-11-12 14:01:57 +00:00 |
|
Joshua Casey
|
f2538689e7
|
Merge pull request #2107 from vmware-tanzu/pinny/bump-deps
Bump dependencies
|
2024-11-11 10:51:36 -06:00 |
|
Pinny
|
66eb7735dd
|
Bump dependencies
|
2024-11-11 14:01:16 +00:00 |
|
Ryan Richard
|
33edb7ea15
|
Merge pull request #2101 from vmware-tanzu/jtc/plog-testlogger-returns-buffer
plog.TestLogger returns a buffer instead of taking one in
|
2024-11-08 14:08:15 -08:00 |
|
Joshua Casey
|
f3c9be07c0
|
Bump dependencies
|
2024-11-08 14:15:05 -06:00 |
|
Joshua Casey
|
0c131f11f8
|
plog.TestLogger returns a buffer instead of taking one in
|
2024-11-07 17:46:01 -06:00 |
|
Ryan Richard
|
dc86c9305c
|
Merge pull request #2100 from vmware-tanzu/pinny/bump-deps
Bump dependencies
|
2024-11-07 15:18:18 -08:00 |
|
Pinny
|
36ff99882f
|
Bump dependencies
|
2024-11-07 12:56:53 -08:00 |
|
Joshua Casey
|
3ed4b1c132
|
Merge pull request #2095 from vmware-tanzu/update_test_expectation_for_kube_prerelease
update test expectation to match new validation error text in new Kube
|
2024-11-06 17:40:59 -06:00 |
|