1
0
Fork 0
mirror of https://github.com/kyverno/policy-reporter.git synced 2024-12-14 11:57:32 +00:00
Commit graph

200 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
Jesus Carrillo
397b7e2038
FIX: Propagate Slack channel Override (#459)
This PR fixes a bug that prevents routing slack messages
to the configured target channels.

Related to: https://github.com/kyverno/policy-reporter/issues/458

Signed-off-by: Jesus Carrillo <jesuscarrillo8@gmail.com>
2024-07-10 10:00:28 +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
842e372025
Make GoogleCloudCredentials optional to support WorkloadIdentity (#433)
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-05-08 12:26:02 +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
0f2f1c9b46 leaselock test
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-04-25 11:44:36 +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
62572d1ffc securityhub test cases
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-04-24 18:22:12 +02:00
Frank Jogeleit
39fc42a28e Update coverage config
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-04-24 13:55:59 +02:00
Frank Jogeleit
feb0548fe4 add test cases
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-04-24 12:29:25 +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
c295800161
Fix Resource information in Violation E-Mail Reports (#411)
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
2024-02-21 10:59:18 +01: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
Frank Jogeleit
b0a513cb20
Update Dependencies and Components (#393)
* Update Dependencies and Components

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2024-01-12 11:02:48 +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
a039531df8 fix resource mapping reference issue
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-11-27 21:28:16 +01:00
Frank Jogeleit
4d1840342b
Fix cache fallback (#369)
* Fix Cache fallback

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>

* update changelog

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>

---------

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-11-21 11:39:06 +01:00
Frank Jogeleit
41df2568a4 prepare release
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-11-17 09:45:37 +01:00
Frank Jogeleit
603f70a53e map scope to result resources
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-11-17 09:28:33 +01:00
Frank Jogeleit
dbd1233a79
message label in custom mode (#359) 2023-11-09 09:06:14 +01:00
Frank Jogeleit
50a1a8a6f6
Use correct namespace label based on configuration (#357)
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-10-24 10:10:52 +02:00
Frank Jogeleit
f1dfdffea8 Fix function name
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-10-21 15:30:33 +02:00
Frank Jogeleit
061a816416 add logging
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-10-19 13:50:29 +02: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
d899b572c0 Merge branch 'main' of github.com:kyverno/policy-reporter 2023-09-23 14:43:27 +02:00
Frank Jogeleit
f4571438c3 fix kind mapping
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-09-23 14:43:00 +02:00
Blake Pettersson
5e8275ded6
feat: add debug http logging (#346)
Add optional debug logging for dumping http requests and responses.

Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
2023-09-22 13:29:53 +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
Frank Jogeleit
da46f7d022 Update Tests
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-08-31 11:14:10 +02:00
djerfy
2609d694e6
fix: if clustername is defined (email reports)
Signed-off-by: djerfy <djerfy@gmail.com>
2023-08-31 10:38:47 +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
4a05ef894e show provider error details
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-07-29 12:03:38 +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