fleet/server
Lucas Manuel Rodriguez 787944482b
Global policies automation webhooks (#3378)
* Add webhook to app config

* Add redis failing policies set and webhook

* Add basic webhook test

* Store hostname in redis

* Global policy deletion to remove policy ID from set and config

* Also process new passing policies

* Fix unit test

* Sort hosts

* Add more tests

* Add ListSets to the failing policies interface

* Fix server URL and garbage collect on the triggering side

* Do not use Redis SCAN

* Fix Redis operation order

* Add API changes to doc

* Add comments

* Add more tests

* Fix tests

* Add tests for config update upon deletion of policies

* Run make dump-test-schema

* Ignore policies that failed to run

* Add proper unit tests to trigger logic

* Fix comments

* WIP

* Add tests to service_osquerty_test.go

* Use SSCAN for listing hosts instead of SMEMBERS

* Add failing policies to docs/01-Using-Fleet/configuration-files/README.md

* Remove skip

* Fix PR comments
2021-12-23 18:26:55 -03:00
..
authz Fix team packs rego policy rules (#3356) 2021-12-13 20:53:29 -08:00
bindata Allow users to be readded if they were ever removed (#1945) 2021-09-07 13:33:40 -03:00
config Fix redis scan keys issue for live queries (#3107) 2021-12-14 16:30:26 -05:00
contexts Log request errors in non-debug mode (take 2) (#3215) 2021-12-07 12:52:43 -03:00
datastore Global policies automation webhooks (#3378) 2021-12-23 18:26:55 -03:00
errorstore Fix redis scan keys issue for live queries (#3107) 2021-12-14 16:30:26 -05:00
fleet Global policies automation webhooks (#3378) 2021-12-23 18:26:55 -03:00
health Fix documentation typos (#1682) 2017-12-21 18:37:32 -08:00
launcher Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
live_query Fix redis scan keys issue for live queries (#3107) 2021-12-14 16:30:26 -05:00
logging Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
mail Add wrap for SMTP connection error (#3206) 2021-12-09 09:58:33 -08:00
mock Global policies automation webhooks (#3378) 2021-12-23 18:26:55 -03:00
ptr Make vulnerability processing more configurable (#1718) 2021-08-18 17:25:14 -03:00
pubsub Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
service Global policies automation webhooks (#3378) 2021-12-23 18:26:55 -03:00
sso Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
test Fix team packs rego policy rules (#3356) 2021-12-13 20:53:29 -08:00
vulnerabilities Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
webhooks Global policies automation webhooks (#3378) 2021-12-23 18:26:55 -03:00
websocket Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
utils.go Global policies automation webhooks (#3378) 2021-12-23 18:26:55 -03:00