feat: deploy cloud-only RMM and verify audited APT diagnostics
Rust development slice / linux (push) Failing after 7s

This commit is contained in:
2026-11-13 13:49:11 +01:00
parent 6c3203d725
commit fbef0e4e2f
48 changed files with 3125 additions and 34 deletions
+7 -1
View File
@@ -73,7 +73,13 @@ class Guards(unittest.TestCase):
setup=m.case_input('service_setup',self.settings())['parameters']
self.assertEqual(setup['execution_identity'],'root')
self.assertEqual(hashlib.sha256(setup['variants'][0]['script_utf8'].encode()).hexdigest(),
'159ff240504b8a350b46a56fdf9cd50e5768816de7e6683829f05144978449f0')
'3e299e84021beaa4cbdce6fa63eda193f6f123aba86368890fe20684c43e78ae')
# The browser independently pins the reviewed bytes at the UI boundary.
# Check that pin locally as well; do not wait for a live approval run to
# discover drift between the two acceptance paths.
browser=(m.ROOT/'tests/browser/mvp-actions.spec.ts').read_text()
self.assertIn("update(text(action.script_utf8)).digest('hex')).toBe('" +
hashlib.sha256(setup['variants'][0]['script_utf8'].encode()).hexdigest() + "')", browser)
artifact=dict(self.artifact(),approved_cases=['service_setup','service_start','service_stop'])
m.validate_run_artifact(artifact,self.settings(),['service_setup','service_start','service_stop'])
with self.assertRaises(m.GuardError):m.validate_run_artifact(artifact,self.settings(),['service_start','service_setup','service_stop'])