feat(template): install HardeningKitty audit view

This commit is contained in:
PierreCsn committed 2026-10-30 09:12:53 +01:00
1 parent f60d102233
commit eb4ca133d1
7 files changed
+243 -232

No files matched your search

+3
View File
@@ -114,6 +114,9 @@ class AuditWaptTest(unittest.TestCase):
'publish_to_wapt':True,'retain_audit_runs':3,'timeout_seconds':120,
'max_findings_in_log':10,
}))
template = self.source/'console-templates'/'host_audit_hardeningkitty_hardeningkitty.html'
template.parent.mkdir(parents=True, exist_ok=True)
shutil.copy2(WORK/'console-templates'/'host_audit_hardeningkitty_hardeningkitty.html', template)
self.source.joinpath('package-manifest.json').write_text('{"stale":true}')
(self.source/'setup.py').write_text('# synthetic setup\n')
(self.source/'tools').mkdir()