Commit Graph

356 Commits

Author SHA1 Message Date
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
7c99b81b10
supplychainvalidationsummary will look up rims by ID (#805)
* Lookup here needed summary id from device object

* Portal linkage issue

* CertificatesUsed not working properly with RIM

* Maybe need to link to base rim

* Rim test 1 needed hw file

* Working on CI

* Connecting new tpm2_common

* Edited the way scripts called in docker exec

* TPM for reset each test

* Defining efi paths in CI env file

* Forgot to close while loops

* Connecting default test files

* Variable was wrong [no ci]

* Added ACA tests using uploaded artifacts

* Trying to chmod rim_setup.sh

* rim_setup chmod issues

* Added aca tests 9 and 10 to workflow

* Added cases 9 and 10 for aca policy tests

* Exit test scripts with error if one test fails

* Attempt to solve uploaded rim linkup

* Try only setting tagId if not null

* updateSupportRimInfo was not setting associated rim on base

* Attempt alternate lookup of rim by device name

* Trouble with event log archived

* Used wrong variable

* Fix spotbugs

* Try again

* Change SupplyChainValidation.message size to MAX_MESSAGE_LENGTH
2024-07-22 06:03:09 -04:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
315d3a2f02
Move part of PciIds from AttestationCA back to Utils (#796)
* update pciids to acapciids throughout code

* add pciids to utils and update classes that use it

* moved the 4 vendor/device translate functions to the utils pciids

* added pciids translations to SPDM Device Context file

* cleaning up imports

* cleaning up comments

* cleaned up a few checkstyle warnings

* working to get class code

* update output message in main

* working on class code

* fixes/minor changes

* fixed check of class code list
2024-07-22 06:01:54 -04:00
chubtub
dbe6d0e532 Log calculatedString and quoteString for firmware validation 2024-07-05 10:24:21 -04:00
chubtub
78bbf4fd9b Remove SupportReferenceManifest.processed 2024-07-03 09:44:01 -04:00
iadgovuser26
ba21b2e114
Merge pull request #786 from nsacyber/v3_issue-783
Changed DB lookup of RIM EL objects, added null checks to Device.toString
2024-06-28 14:55:30 -04:00
iadgovuser29
806155e19d Don't show archived validation reports 2024-06-21 15:10:32 -04:00
iadgovuser29
adaf637456 Trying another method 2024-06-18 17:23:24 -04:00
iadgovuser29
c84d67dfd7 ReferenceManifestValidator trustStore not populated during provision 2024-06-18 17:03:51 -04:00
iadgovuser29
7ccfe9b20f Unchecked cast error 2024-06-13 12:08:07 -04:00
iadgovuser29
781e015353 Trying to change EL inheritance 2024-06-13 11:14:48 -04:00
iadgovuser29
7ba391c75a Typo 2024-06-13 11:06:47 -04:00
iadgovuser29
e8415ded27 Should RIM lookup include rimType? 2024-06-13 11:01:33 -04:00
iadgovuser29
9664056e94 Additional changes 2024-06-13 10:46:06 -04:00
iadgovuser29
14d26e0c1b Test repository change 2024-06-13 09:28:48 -04:00
iadgovuser58
ece30d420c did final move of the vendor-table.json file after testing; fixed json-accepted quotes in spdm file 2024-06-05 12:30:01 -04:00
chubtub
711e342972 Modify controller class to handle UnmarshalException caused by invalid xml to prevent frontend error 2024-05-07 17:28:37 -04:00
chubtub
4da6020260 Modify BaseReferenceManifest to handle namespace prefixes in the swidtag XML. Modify the rimtool and ReferenceManifestValidator to properly prefix Directory and File under Payload and handle them for validation. 2024-05-07 17:28:37 -04:00
iadgovuser58
cf6019d863 fixed issue caused by change to version method 2024-04-26 12:54:56 -04:00
CAFB385655BEB1060E85B6C080B432F8EB2A2AF78459BD6532124977B933154A
49e53e9b1f
Create IDevID certificate page (#727)
Adding IDevID certificate page and parsing support
2024-04-18 20:28:11 +00:00
Cyrus
cf08b1d2d3 Another minor change, didn't update the delta message for components and
add the restore function to the upload
2024-03-14 10:41:45 -04:00
Cyrus
350cf2b802 These are some minor updates while investigating a bug. 2024-03-14 10:12:40 -04:00
Cyrus
6a13d8dbb1 The if statement that uses the new ignore policy was improperly
implemented.  Updated so that any non-revision attribute will save
2024-03-13 20:18:39 -04:00
Cyrus
a9e403d1a0 This set of code fixes a null pointer. The ignore flag was not set up
properly and the setter for the attribute name for the result wasn't set
2024-03-13 14:57:41 -04:00
Cyrus
c560ad5997 Updated code to handle modified non specific serial number component 2024-03-12 11:08:29 -04:00
Cyrus
59998cb898 This is a merging of component red highlighting with the new policy to
ignore the revision attribute.
2024-03-12 08:10:51 -04:00
Cyrus
d6d47d9abe This last push updates unit tests that are not prepped to handle the new
code.
2024-03-07 16:11:24 -05:00
Cyrus
37850a6c90 Removed a statement that I'll need to put back in 2024-03-07 15:07:32 -05:00
Cyrus
70ca2ced7b This is a continuation of the PR for 723 and issue 705. These changes
set up fixing the delta part of the provisioning of the attributes.
2024-03-06 15:16:05 -05:00
Cyrus
eada242284 These changes have been moved over from updates made for issue-705. The
primary function implemented in this set of changes is to track more
specifically what failed when the components of a certificate are
compared.  The implementation required a couple of new DB classes to be
created to store this information.  This is also to set up a better
visual comparison of what was expected vs what was actually found.  This
is similar to the RIM event compare failure page.
2024-03-01 15:29:10 -05:00
Cyrus
21111c1291 A message is now printed indicating in the log that the platform version
check is skipped if the information is not specified, unknown or null.
2024-02-29 11:26:10 -05:00
Cyrus
300cae3950 Changed the branch naming and addressed a failed unit test. When the
value of the platform version is null, the unit test was failing.
2024-02-29 07:53:21 -05:00
Cyrus
039054b740 Updating the code to ignore 'Not Specified' and 'Unknown' as values for
Platform Version.
2024-02-28 16:25:15 -05:00
iadgovuser58
9c8d936e51 fixing checkstyles 2024-02-27 16:38:04 -05:00
iadgovuser58
7efbcc270e checkstyles cleanup 2024-02-26 17:56:58 -05:00
iadgovuser58
aad508fdb9 removing unit test dependency on other unit test; comments cleanup 2024-02-26 10:03:09 -05:00
iadgovuser58
5bf7661e56 added SupplyChainSummaryTest 2024-02-23 19:22:36 -05:00
iadgovuser58
57945fe469 removed depencies from other unit tests 2024-02-23 19:12:39 -05:00
iadgovuser58
38aeb6db67 removed depencies from other unit tests 2024-02-23 18:40:31 -05:00
iadgovuser58
99f26b657f removed depencies from other unit tests to new class AbstractUserdefinedEntityTest 2024-02-23 18:04:39 -05:00
iadgovuser62
de84ccbb2c Adding tests for validating mismatching baseboard/chassis/system serial numbers in DeviceInfoReport objects 2024-02-23 12:53:13 -05:00
iadgovuser62
42a05a9e00 Adding SupplyChainCredentialValidatorTest, fixing assertEquals syntax in PolicySettingsTest, un-privating method in CertificateAttributeScvValidator 2024-02-20 09:37:22 -05:00
iadgovuser62
4dd395b988 Adding PolicySettingsTest 2024-02-16 10:19:48 -05:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
bb81f1050c
Merge pull request #701 from nsacyber/v3_issue_693-unittest
Migrated 1 unit test to HIRS_AttestationCA
2024-02-09 11:20:32 -05:00
Cyrus
80ba01a3d0 This commit is for the 3rd listed issue on #705. The green check mark
test was causing an error from ASN1UTF8String.getInstance.  And did some
checkstyle fixes.
2024-02-06 16:34:20 -05:00
iadgovuser58
2db795de44 Merging latest changes into branch prior to PR
Merge branch 'main' into v3_issue_693-unittest
2024-02-01 14:42:47 -05:00
iadgovuser58
0fd8620098 trying to fix spotbug issues 2024-02-01 14:40:25 -05:00
iadgovuser58
257b242c87 trying to fix spotbug issues 2024-02-01 14:33:57 -05:00
iadgovuser58
41193793b5 trying to fix spotbug issues 2024-02-01 14:32:16 -05:00
Cyrus
566248b244
Merge pull request #688 from nsacyber/v3_issue-684
[#684] Green Check mark fix
2024-02-01 10:20:31 -05:00
iadgovuser58
8a440d0d39 getting latest updates from main
Merge branch 'main' into v3_issue_693-unittest
2024-02-01 09:53:50 -05:00