mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 22:11:36 -05:00
Both policy simulators accepted OrderedOrganizationPolicyInputList and ResourceHandlingOption and answered as though neither had been sent. The levels now gate a simulation the way they gate the call it stands for, through the same walk a live request takes through service control policies: an action no level allows is an implicitDeny, a level that denies it is an explicitDeny whatever the levels below allow, and a level carrying no statements is skipped. A level whose document does not read as a policy is an InvalidInput naming the item's position. The levels a call hands in are the whole of the organization the simulation runs against, matching the console, which includes SCPs only when the box is ticked. A named scenario is held to the resources it requires, "to enforce the presence of the required resources to ensure reliable simulation results", and a value naming no published scenario is refused. A simulation that names no scenario is left alone. One difference from AWS's simulator is documented and open: AWS says its simulator does not evaluate SCPs that have global conditions, while this walk evaluates a condition in an SCP exactly as the live evaluation does.