mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-03-27 22:28:41 +00:00
Handle an exception thrown when the provisioner fails to send RIM files to the ACA
This commit is contained in:
parent
0c233ae771
commit
e0a1e53d93
@ -580,11 +580,11 @@ public class SupplyChainValidationServiceImpl implements SupplyChainValidationSe
|
|||||||
} else {
|
} else {
|
||||||
fwStatus = new AppraisalStatus(FAIL, String.format("Firmware Validation failed: "
|
fwStatus = new AppraisalStatus(FAIL, String.format("Firmware Validation failed: "
|
||||||
+ "%s for %s can not be found", failedString, manufacturer));
|
+ "%s for %s can not be found", failedString, manufacturer));
|
||||||
|
EventLogMeasurements eventLog = (EventLogMeasurements) measurement;
|
||||||
|
eventLog.setOverallValidationResult(fwStatus.getAppStatus());
|
||||||
|
this.referenceManifestManager.update(eventLog);
|
||||||
}
|
}
|
||||||
|
|
||||||
EventLogMeasurements eventLog = (EventLogMeasurements) measurement;
|
|
||||||
eventLog.setOverallValidationResult(fwStatus.getAppStatus());
|
|
||||||
this.referenceManifestManager.update(eventLog);
|
|
||||||
return buildValidationRecord(SupplyChainValidation.ValidationType.FIRMWARE,
|
return buildValidationRecord(SupplyChainValidation.ValidationType.FIRMWARE,
|
||||||
fwStatus.getAppStatus(), fwStatus.getMessage(), validationObject, level);
|
fwStatus.getAppStatus(), fwStatus.getMessage(), validationObject, level);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user