feat: схемы отчёта аудита, профили/пресеты и движок разрешения (BHL-019, BHL-012, BHL-013)
- spec/schemas: evidence, audit-finding, audit-report (BHL-019) - spec/schemas: profile, preset с явным relax_to (BHL-012) - packages/bhl: resolve.ts + bhl profile resolve — порядок не влияет, конфликты параметров и ослаблений, provenance и applicability (BHL-012, BHL-013) - tests: корневые схемы 13/13, пакет 17/17
This commit is contained in:
@@ -32,8 +32,8 @@ test('использование: пустой запуск, --help и неиз
|
||||
assert.equal(unknown.envelope.error.code, 'USAGE');
|
||||
});
|
||||
|
||||
test('известные команды Wave B/C пока возвращают NOT_IMPLEMENTED и код 3', () => {
|
||||
for (const command of ['spec', 'profile', 'report', 'audit']) {
|
||||
test('известные команды Wave C/D пока возвращают NOT_IMPLEMENTED и код 3', () => {
|
||||
for (const command of ['spec', 'report', 'audit']) {
|
||||
const result = run(command);
|
||||
assert.equal(result.code, 3, command);
|
||||
assert.equal(result.envelope.ok, false, command);
|
||||
|
||||
Reference in New Issue
Block a user