Skip to content

CE-878: Merge back in ioc-exporter from ics-ans-role-ioc-exporter

Simon Rose requested to merge merge_exporter into master

Broadly speaking, this merges back in the exporter while preserving "most" of the history; namely, the history for the exporters themselves, as well as their tests. Note that this means that this MR has a lot of commits; the only relevant ones are the last five of them, starting with "Add exporter back to role". The rest can be ignored as they are simply commits from the ioc exporter role.

The tests are added as a single, new scenario that attempts to "unit test" them; it does this by using the side-effect stage to mock up IOCs and modify host configuration before running the tests.

We had discussed whether or not these are integration tests that belong in the playbook and not in the role, but while this is broadly true, it doesn't address the initial motivation for moving these back in which is that the exporter heavily depends on exactly how an IOC is deployed which causes a frustrating workflow any time that IOC details are changed.

Merge request reports