hongming
0d852e8276
chore: update copyright headers ( #6496 )
...
Signed-off-by: hongming <coder.scala@gmail.com >
2025-04-30 15:53:51 +08:00
hongming
bbc476d47c
Use responsewriter.UserProvidedDecorator instead of auto flush response ( #6171 )
...
Signed-off-by: hongming <coder.scala@gmail.com >
2024-09-13 16:40:36 +08:00
hongming
3c458b7450
fix chunked encoding API no response ( #6157 )
2024-09-06 17:05:41 +08:00
KubeSphere CI Bot
447a51f08b
feat: kubesphere 4.0 ( #6115 )
...
* feat: kubesphere 4.0
Signed-off-by: ci-bot <ci-bot@kubesphere.io >
* feat: kubesphere 4.0
Signed-off-by: ci-bot <ci-bot@kubesphere.io >
---------
Signed-off-by: ci-bot <ci-bot@kubesphere.io >
Co-authored-by: ks-ci-bot <ks-ci-bot@example.com >
Co-authored-by: joyceliu <joyceliu@yunify.com >
2024-09-06 11:05:52 +08:00
hongzhouzi
44167aa47a
Upgrade k8s package verison ( #5358 )
...
* upgrade k8s package version
Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io >
* Script upgrade and code formatting.
Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io >
Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io >
2022-11-15 14:56:38 +08:00
hzhhong
a8046eee00
Fix:Goroutine leaks when getting audit event sender times out ( #5342 )
...
* Fix:Goroutine leaks when getting audit event sender times out
* make it more readable
2022-11-11 10:50:35 +08:00
Eng Zer Jun
d1fec72a32
refactor: move from io/ioutil to io and os packages ( #5266 )
...
The io/ioutil package has been deprecated as of Go 1.16 [1]. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.
[1]: https://golang.org/doc/go1.16#ioutil
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2022-10-18 15:47:38 +08:00
wanjunlei
3b5fae0013
support recording disable and enable users in auditing ( #5154 )
...
Signed-off-by: wanjunlei <wanjunlei@kubesphere.io >
Signed-off-by: wanjunlei <wanjunlei@kubesphere.io >
2022-09-07 18:13:40 +08:00
andrew_li
f289795312
Add golangci-lint workflow ( #4999 )
...
* fix lint workflow
* add golang lint
* close http response body
2022-06-29 11:58:36 +08:00
wanjunlei
c1c98c51b2
change the default audit webhook port
...
Signed-off-by: wanjunlei <wanjunlei@kubesphere.io >
2022-04-12 18:59:04 +08:00
Roland.Ma
2fcfb81066
fix controller Start method signature
...
Signed-off-by: Roland.Ma <rolandma@yunify.com >
2021-08-16 06:58:12 +00:00
Roland.Ma
c37a11c5f9
move api to staging
...
Signed-off-by: Roland.Ma <rolandma@yunify.com >
2021-04-29 08:20:05 +00:00
zryfish
ac275b6e98
add goimports format action ( #3630 )
...
Signed-off-by: Jeff <jeffzhang@yunify.com >
2021-03-30 13:44:24 +08:00
wanjunlei
83c010c691
resolve conversation
...
Signed-off-by: wanjunlei <wanjunlei@yunify.com >
2020-12-29 14:58:26 +08:00
KubeSphere CI Bot
d7a8490cde
Merge pull request #3229 from wanjunlei/audit-ldap
...
fix bug Failed to configure LDAP login, error message: socket hang up
2020-12-29 10:23:53 +08:00
wanjunlei
ea34bda865
fix bug #3226
...
Signed-off-by: wanjunlei <wanjunlei@yunify.com >
2020-12-25 11:56:02 +08:00
wanjunlei
ee95aeff15
resolve conversation
...
Signed-off-by: wanjunlei <wanjunlei@yunify.com >
2020-12-14 15:38:11 +08:00
wanjunlei
b543ae1a12
fix bug get goroutine for audit timeout
...
Signed-off-by: wanjunlei <wanjunlei@yunify.com >
2020-12-14 11:10:40 +08:00
zryfish
dbc33fe5d2
add license header ( #2761 )
...
Signed-off-by: Jeff <zw0948@gmail.com >
2020-08-05 15:54:17 +08:00
wanjunlei
6f90e24b83
change resourceGetter to devopsGetter
...
Signed-off-by: wanjunlei <wanjunlei@yunify.com >
2020-07-29 19:31:20 +08:00
wanjunlei
713c646bfd
make ws admin aware of anything happened in its workspace.
...
Signed-off-by: wanjunlei <wanjunlei@yunify.com >
2020-07-29 18:48:34 +08:00
wanjunlei
5d99024f0b
resovle conversation
...
Signed-off-by: wanjunlei <wanjunlei@yunify.com >
2020-07-17 15:39:52 +08:00
wanjunlei
a0255d6409
ignore dryRun k8s request when auditing
...
Signed-off-by: wanjunlei <wanjunlei@yunify.com >
2020-07-17 15:39:36 +08:00
wanjunlei
cb5f98cf97
make the ResponseCapture implements CloseNotify interface
2020-07-06 22:06:32 +08:00
wanjunlei
37346150d3
resolve conversation
2020-06-23 16:26:24 +08:00
wanjunlei
7393ef91fa
processing audit information of non-standard request
...
Signed-off-by: wanjunlei <wanjunlei@yunify.com >
2020-06-18 22:56:25 +08:00
wanjunlei
0933e2f185
add test
2020-06-17 09:48:56 +08:00
wanjunlei
bdb123b95a
fix the bug "Cannot read property 'get' of undefined"
2020-06-17 00:04:28 +08:00
wanjunlei
a3561550bb
modify annotation of Event
2020-06-14 11:25:28 +08:00
wanjunlei
584bdda50e
Add two elements Message and Devops into Event struct.
...
Pass the event object instead of RequestInfo by request context to request handler.
2020-06-13 17:13:55 +08:00
wanjunlei
dd03cab01c
change log level of get crd webhook error
2020-06-12 13:20:18 +08:00
wanjunlei
356560ac74
resolve conversation
...
formater
Signed-off-by: wanjunlei <wanjunlei@yunify.com >
debug
debug
Signed-off-by: wanjunlei <wanjunlei@yunify.com >
2020-06-12 11:19:27 +08:00
wanjunlei
4cb84de44d
add audit components
...
Signed-off-by: wanjunlei <wanjunlei@yunify.com >
debug
add test
add test
add test
2020-06-10 20:21:07 +08:00