structured_config
This test has several main components:
- a Fuchsia package, core realm shard, and a system assembly that add a component with known configuration values to the component topology
- a host test which parses the audit report written by scrutiny and asserts that the known component's configuration was visible
- a policy file which enforces that scrutiny found the expected value and tests the policy checking mechanism
- a policy file which requests a different value than packaged, tested using a script that asserts the policy verifier failed
The core shard is necessary for scrutiny to pull our test component into its model of the component topology.
In order to avoid polluting the core product definition we build our own assembled_system() based off of the same inputs as the one in //build/images/fuchsia.