Alessio Greggi
9e2fe607d8
fix: remove deprecated endpoint
...
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it >
2023-05-30 10:50:31 +02:00
Alessio Greggi
c486b4fed7
feat: add log coupling for hostsensorutils
...
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it >
2023-05-24 14:46:34 +02:00
Alessio Greggi
b48c04da63
fix: remove outdated enpoints
...
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it >
2023-04-21 19:47:24 +02:00
Frédéric BIDON
a090a296fa
refact(hostsensorutils): unexported fields that don't need to be exposed
...
Also:
* declared scanner resources as an enum type
* replaced stdlib json, added uit tests for skipped resources
* unexported worker pool
* more unexported methods (i.e. everything that is not part of the interface)
* refact(core): clarified mock injection logic and added a few unit tests at the caller's (CLI init utils)
Signed-off-by: Frederic BIDON <fredbi@yahoo.com >
2023-03-25 09:37:24 +01:00
Frédéric BIDON
5b62b0b749
addressed review from David: reverted on unconditional loop exit
...
Signed-off-by: Frédéric BIDON <fredbi@yahoo.com >
2023-03-23 16:56:37 +01:00
Frédéric BIDON
e4f34f6173
refact(host-sensor): refactors the host sensor
...
This PR factorizes the list of calls to the host-scanner API in a loop.
More godoc-friendly doc strings are added.
Signed-off-by: Frédéric BIDON <fredbi@yahoo.com >
2023-03-23 16:56:37 +01:00
David Wertenteil
ec4a098b1c
replace error by warning
...
Signed-off-by: David Wertenteil <dwertent@armosec.io >
2023-03-15 17:17:29 +02:00
Alessio Greggi
159d3907b5
style(hostsensorutils): simplify code with gofmt
...
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it >
2023-02-16 11:38:55 +01:00
Alessio Greggi
c7d1292c7d
fix(hostsensorutils): improve cloud provider detection
...
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it >
2023-02-14 13:46:09 +01:00
YiscahLevySilas1
9f97f91f32
add context
...
Signed-off-by: YiscahLevySilas1 <yiscahls@armosec.io >
2023-02-05 12:03:10 +02:00
David Wertenteil
af9df548d6
Merge branch 'master' into CIS-EKS-support
2023-02-05 09:43:41 +02:00
Matthias Bertschy
160ac0db7c
add otel with uptrace client
...
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com >
2023-01-31 08:06:33 +01:00
kooomix
8810631d5c
Support in CNIInfo
2023-01-23 09:50:07 +02:00
Frederic BIDON
cf484c328b
fixed issues reported by gover (e.g. shadowed variables)
...
Signed-off-by: Frederic BIDON <fredbi@yahoo.com >
2023-01-06 09:32:17 +01:00
David Wertenteil
c3b95bed8c
Merge branch 'dev' into eran-dev
2022-12-06 14:17:49 +02:00
yiscah
0f5635f42d
move parsing of version to GetVersion
2022-12-04 12:17:04 +02:00
yiscah
2a4f8543cc
added logs of host scanner version
2022-11-30 20:51:45 +02:00
kooomix
b1925fa38d
Support in new host-scanner endpoint - cloudProviderInfo
2022-11-28 09:18:43 +02:00
shm12
1f47223918
Fixed host-sensor control plane info collecting
2022-10-23 10:46:44 +03:00
shm12
154f94a0af
Added controlPlaneInfo host-sensor endpoint
2022-10-12 20:51:06 +03:00
David Wertenteil
ad91178ef7
updated dependencies pkgs
2022-08-18 17:41:03 +03:00
David Wertenteil
aef74d6480
use exteranl go logger
2022-07-18 23:59:56 +03:00
Moshe-Rappaport-CA
bae960fd5b
Edit the noOfWorkers to be the minimum between the number of pods and 10
2022-07-05 14:38:58 +03:00
Moshe-Rappaport-CA
81f0cecb79
Merge remote-tracking branch 'upstream/dev' into dev
2022-06-29 11:02:11 +03:00
Moshe-Rappaport-CA
120677a91f
support in wokerpool in host sensor
2022-06-22 18:40:00 +03:00
shm12
e3f70b6cd6
Added host sensor new resources
2022-06-21 17:55:18 +03:00
David Wertenteil
858d7ac2ef
update pkg struct
2022-04-10 18:06:28 +03:00
DanielGrunbergerCA
44084592cb
fixes
2022-03-16 14:16:48 +02:00
DanielGrunbergerCA
6cacfb7b16
refactor
2022-03-16 12:22:21 +02:00
DanielGrunbergerCA
0d0c8e1b97
support status info
2022-03-16 12:08:04 +02:00
dwertent
d0e2730518
add cautils to core
2022-03-13 18:14:48 +02:00
dwertent
8f1e4ceff0
split pkg
2022-03-13 09:59:57 +02:00