1
0
Fork 0
mirror of https://github.com/kyverno/policy-reporter.git synced 2024-12-15 17:50:58 +00:00
Commit graph

101 commits

Author SHA1 Message Date
Frank Jogeleit
78f24497fa
Policy Reporter v3 (#482)
Policy Reporter v3

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2024-10-07 11:10:46 +02:00
Frank Jogeleit
78599158d3 fix tags
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2024-09-28 12:25:07 +02:00
Jesus Carrillo
16bcc214a5
ADD: json tags to the configuration structure (#470)
this is needed to allow external programs to programatically
generate the policy-reporter config file.

Viper does not have a config marshal method same with the mapstructure
library.

Signed-off-by: Jesus Carrillo <jesuscarrillo8@gmail.com>
2024-08-23 09:57:47 +02:00
Jesus Carrillo
8d902f315c
FIX: Slack channel override when using a secretRef for the webhook (#460)
Related to: https://github.com/kyverno/policy-reporter/issues/458

Signed-off-by: Jesus Carrillo <jesuscarrillo8@gmail.com>
2024-07-12 10:26:36 +02:00
Frank Jogeleit
a21564ad12
Use internal AWS credential loading as fallback (#453)
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-06-14 09:31:06 +02:00
Peter Jakubis
7d9f219a0f
recognize if AWS Pod Identity is present (#452)
Signed-off-by: Peter Jakubis <balonik32@gmail.com>
2024-06-12 23:28:54 +02:00
Peter Jakubis
cc85fee3a8
securityhub: fix product name field and allow to set company name in findings (#446)
Signed-off-by: Peter Jakubis <balonik32@gmail.com>
2024-06-12 18:01:55 +02:00
Frank Jogeleit
9a906480e4
Make Bucket for S3 targets mendatory and don't show error logs (#447)
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-06-08 10:50:18 +02:00
abdul-jabbar01
2230842270
Feat: Add kind attribute in the Metrics filter (#442)
Signed-off-by: Abdul Jabbar <abduljabbar5225@gmail.com>
2024-05-28 23:09:17 +02:00
Frank Jogeleit
f63cafb9d3 Make GoogleCloudCredentials optional to support WorkloadIdentity
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-05-08 14:12:23 +02:00
Frank Jogeleit
836d6fe436
API to render Violations Report (#429)
* API to render Violations Report

Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-05-04 10:04:27 +02:00
Frank Jogeleit
dd150ee3b6
ID Generation (#428)
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-05-02 12:22:59 +02:00
Frank Jogeleit
1edff60f57 add cache tests
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-04-25 14:36:04 +02:00
Frank Jogeleit
38c665af1b
unified priority mapping (#427)
* unified priority mapping

Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-04-24 19:25:12 +02:00
Frank Jogeleit
5bf9e4b43e
Implement Cleanup Handler to update resolved failures for targets like SecurityHub (#426)
* Implement Cleanup Handler to update resolved failures for targets like SecurityHub

Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-04-23 16:37:43 +02:00
Frank Jogeleit
ea8ae54520
support custom headers for loki target (#422)
* support custom headers for loki target

Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-04-18 10:02:37 +02:00
Frank Jogeleit
1565695863 SMTP TLS Config
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-02-03 16:25:42 +01:00
Frank Jogeleit
288b4111be
SecurityHub Updates (#401)
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-01-27 12:46:44 +01:00
Yannick te Kulve
bf0dfa44ec
Add basic auth to loki client (#394)
* Add basic auth to loki client

Signed-off-by: Yannick te Kulve <738464+YannickTeKulve@users.noreply.github.com>

* Add extra tests

Signed-off-by: Yannick te Kulve <738464+YannickTeKulve@users.noreply.github.com>

---------

Signed-off-by: Yannick te Kulve <738464+YannickTeKulve@users.noreply.github.com>
2024-01-19 18:10:44 +01:00
Guillermo Palacio
c73670a8f9
Add support for elasticSearch typeless API (#387)
* Add support for elasticSearch typeless API

Signed-off-by: guipal <guillermo.palacio@docplanner.com>
2024-01-08 15:03:50 +01:00
Guillermo Palacio
a0bd98a099
Adding the possibility to authenticate to elasticSearch using ApiKey (#379)
Signed-off-by: guipal <guillermo.palacio@docplanner.com>
2023-12-11 14:39:31 +01:00
Frank Jogeleit
f624061c84
Migrate to AWS SDK v2 (#352)
* Update dependencies
* Migrate to AWS SDK v2

---------

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-10-19 13:32:23 +02:00
Frank Jogeleit
9036018d6a
Fix AWS target check (#347)
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-10-12 21:25:25 +02:00
Frank Jogeleit
ac83fac5f5
basic auth for API and Metrics (#343)
* basic auth for API and Metrics

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-09-10 10:00:31 +02:00
Frank Jogeleit
b59a22bc56 add google chat notifications
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-09-05 12:09:24 +02:00
Frank Jogeleit
a6aecd2ea1 Telegram push target support
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-09-04 13:44:12 +02:00
djerfy
dcde9e360d
feat: add titlePrefix option (email reports)
Signed-off-by: djerfy <djerfy@gmail.com>
2023-08-30 17:17:59 +02:00
Frank Jogeleit
c16063e9f7 Check AWS env values
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-07-25 10:46:16 +02:00
Frank Jogeleit
72abc63ce0
External SQL DB support (#304)
* Support external Databases

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-05-02 11:00:14 +02:00
Frank Jogeleit
cd56188d16
init securityhub integration (#298)
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-04-11 09:55:08 +02:00
Nikolay Osmolovskiy
e92e15114e
Fixed config.yaml in chart. fix Properties in report model of http package.
Signed-off-by: Nikolay Osmolovskiy <nikolay.osmolovsky@gmail.com>
2023-04-06 10:45:45 +03:00
Frank Jogeleit
2d85cf906c
Add Slack Channel option support (#285)
* Add Slack Channel option support

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-03-30 20:58:50 +02:00
Roko Romic
452cb2a83a
Feature/use mount secret (#282)
* chore: unify kmskeyId attribute across all s3 configuration
* feat: support to use mounted secrets as json to utilise csi secrets controller

Signed-off-by: Roko Romic <rokoromic@gmail.com>
2023-03-26 14:37:38 +02:00
Roko Romic
61d883dad1
Feature/aws kms support (#281)
* feat: new s3 configuration with kms support

Signed-off-by: Roko Romic <rokoromic@gmail.com>
2023-03-25 11:23:13 +01:00
Frank Jogeleit
c8d0aa459c update kyvernoPlugin
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-03-21 10:26:51 +01:00
Frank Jogeleit
bddba63e47 fix scope
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-03-20 15:27:36 +01:00
Frank Jogeleit
db55835e53
Implement GCS target (#278)
* Implement GCS target

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-03-20 14:42:39 +01:00
Frank Jogeleit
7624c43147
simplify zap logging (#277)
* simplify zap logging

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-03-17 12:41:50 +01:00
Frank Jogeleit
cc2db42b4e
implement zap logging (#275)
* implement zap logging

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-03-16 14:38:24 +01:00
Frank Jogeleit
3426a95c98 Configure K8s Client QPS and Burst
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-02-20 11:28:59 +01:00
Frank Jogeleit
99c390a24f configure worker count
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-02-13 17:17:06 +01:00
Charles-Edouard Brétéché
8ed04abe48
fix: simplify cache management (#261)
* fix: simplify cache management

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-02-09 11:32:43 +01:00
Frank Jogeleit
580fca1ac6 use the in memory cache instance
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-02-08 16:25:30 +01:00
Frank Jogeleit
f3b980bfd3
Implement MetadataClient (#257)
* Implement MetadataClient

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-02-08 15:53:59 +01:00
Charles-Edouard Brétéché
dd3cdcf179 refactor: cache lib
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-02-08 15:12:48 +01:00
Frank Jogeleit
6c2330495c
Reduce mapping (#256)
* replace internal structs

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-02-07 11:21:48 +01:00
Frank Jogeleit
4c50043c88 Update Dependencies
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2022-12-04 15:02:16 +01:00
Frank Jogeleit
48926a77d2
implement report label filter (#230)
* implement report label filter

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2022-12-04 13:11:55 +01:00
Frank Jogeleit
5d1b9e4c1f Support S3 PathStyle configuration
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2022-11-10 11:11:29 +01:00
Frank Jogeleit
3db2765f90 Fix CustomFields mapping
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2022-10-27 13:07:49 +02:00