fleet/cmd/fleet
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
..
config_dump.go Add v4 suffix in go.mod (#1224) 2021-06-25 21:46:51 -07:00
main.go Increase session duration with --dev flag (#3339) 2021-12-12 17:31:07 -08:00
prepare.go Do not exit on serve/prepare if there are unknown migrations (#3262) 2021-12-08 19:50:00 -03:00
serve.go Global policies automation webhooks (#3378) 2021-12-23 18:26:55 -03:00
serve_test.go Global policies automation webhooks (#3378) 2021-12-23 18:26:55 -03:00
version.go Add v4 suffix in go.mod (#1224) 2021-06-25 21:46:51 -07:00