stolostron / multicluster-global-hub

the main repository for the multicluster global hub
Apache License 2.0
21 stars 32 forks source link

MGMT-18597: Poll Stackrox Central for violation counts and push it to Kafka #1091

Closed jhernand closed 1 month ago

jhernand commented 1 month ago

Summary

This patch changes the agent so that it discovers Stackrox central instances in the hub, polls them to extract the summary of security violations and sends them to the manager via the Kafka broker.

Related issue(s)

https://issues.redhat.com/browse/MGMT-18597

clyang82 commented 1 month ago

Do you mind add some UT to pass the code coverage check?

jhernand commented 1 month ago

Do you mind add some UT to pass the code coverage check?

Yes, I am working on that.

jhernand commented 1 month ago

/test sonarcloud

jhernand commented 1 month ago

/test test-e2e

openshift-ci[bot] commented 1 month ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clyang82, jhernand

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/stolostron/multicluster-global-hub/blob/main/OWNERS)~~ [clyang82] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
81.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

clyang82 commented 1 month ago

/test test-integration