From b6ea4e236b6c30ab5e8d35148d4bc171e8fdf119 Mon Sep 17 00:00:00 2001 From: Camden Moors Date: Fri, 1 Jul 2022 11:01:35 -0400 Subject: [PATCH] Pass control.attestation_data.status to ExecControl --- libs/inspecjs/src/compat_impl/compat_inspec_1_0.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/inspecjs/src/compat_impl/compat_inspec_1_0.ts b/libs/inspecjs/src/compat_impl/compat_inspec_1_0.ts index 378d93eb03..8dd0f7a070 100644 --- a/libs/inspecjs/src/compat_impl/compat_inspec_1_0.ts +++ b/libs/inspecjs/src/compat_impl/compat_inspec_1_0.ts @@ -191,7 +191,8 @@ export class ExecControl extends HDFControl10 implements HDFControl { control, false, Boolean(control.waiver_data?.skipped_due_to_waiver), - Boolean(control.attestation_data) + Boolean(control.attestation_data), + control.attestation_data?.status ); // Build descriptions