Commit Graph

1376 Commits

Author SHA1 Message Date
iadgovuser59
f244afffe0 Making fix to null pointer exception (when fetching from /list). 2024-03-28 11:49:58 -04:00
iadgovuser58
cc5db6e3ed put correct port back in application.properties; removed * from imports in IssuedCertificatesPageControllerTest 2024-03-27 16:37:44 -04:00
iadgovuser58
47ca5d90d7 commented out non-working test 2024-03-27 16:21:46 -04:00
iadgovuser58
3fbc6bd301 fixed error in DeviceInfoReportTest 2024-03-27 16:13:07 -04:00
Cyrus
3e4fe50dc7 Testing out filtering 2024-03-22 12:13:55 -04:00
iadgovuser26
9ace6e15fa
Merge pull request #734 from nsacyber/v3_move-dockerfile-refs-to-package-scripts
Dockerfile.aca-rocky needed to update its launch command to new package scripts folder
2024-03-18 16:58:57 -04:00
chubtub
3ac30cfc5d
Merge pull request #728 from nsacyber/v3_issue-726
[#726] Verify base RIM signature against truststore using public signing cert
2024-03-18 14:58:38 -04:00
Cyrus
35ccce2e68
Merge pull request #733 from nsacyber/v3_issue-ignore-revision
[#707 #705] Delta Component compare part 2 and Policy Addition
2024-03-15 19:41:38 -04:00
chubtub
fab56eb0e9 Remove commented lines 2024-03-15 14:37:09 -04:00
iadgovuser29
4d1de7db83 ACA dockerfile updated ref to package/linux 2024-03-14 21:52:39 -04:00
iadgovuser26
442bf93419
Merge pull request #713 from nsacyber/v3_issue_687
[#687] Fixed mariadb service stop with ACA RPM install
2024-03-14 17:17:43 -04:00
iadgovuser26
8e1ec11c41 fixed merge conflict 2024-03-14 15:57:56 -04:00
Cyrus
750bf8d3d2 Another small change to line up provisioner certificate vs upload
certificate
2024-03-14 15:38:46 -04:00
iadgovuser26
5672aa5a1d fixed permission issue with mariadb.log 2024-03-14 14:48:14 -04: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
iadgovuser26
2b7fee432a Fixed selinux issue for Rocky 9 and Mysql restart for Ubuntu install 2024-03-13 13:49:42 -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
chubtub
1947b70a1b Clean up javadocs; change System.out.println to log messages 2024-03-07 00:43:10 -05:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
24d81b9da2
create_aca_images workflow passes branch ref to dockerfiles (#729)
* Update ACA image workflow to pass ref to dockerfiles [no ci]

* Use GITHUB_REF_NAME instead [no ci]

* Change variable usage [no ci]

* Use build arg instead of env [no ci]
2024-03-06 20:51:13 -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
chubtub
54f3e4bfca Modify swidtag validation to use the public signing cert to verify <KeyName> in a signature and the truststore 2024-03-06 12:40:54 -05:00
chubtub
d83c34f4ad Create VerifyArgumentValidator 2024-03-06 12:40:54 -05:00
chubtub
6b76d873e6 Upgrade JCommander to support global argument validation. Replace CredentialArgumentValidator with CreateArgumentValidator. 2024-03-06 12:40:54 -05:00
chubtub
5445278723
Merge pull request #715 from nsacyber/v3_issue-661_updated
[#661] Output handling should be more concise
2024-03-06 12:40:03 -05:00
Cyrus
ac093d3ecf
Merge pull request #725 from nsacyber/v3_issue-723
[#723] Update Provisioning for Version value
2024-03-06 11:37:46 -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
iadgovuser26
ae1167b3f5 updated container check 2024-03-01 12:04:26 -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
chubtub
74ab262bc0 Revert "Parse the signing cert authority key identifier during signing and place in <KeyName>"
This reverts commit 63e184f9a3.
2024-02-29 10:43:11 -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
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
60dfb21c62
Merge pull request #720 from nsacyber/v3_issue_680-unittest
Migrated 1 unit test from master Utils to main HIRS_AttestationCA
2024-02-28 08:55:36 -05:00
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
835111619a updated selinux context for mariadb files on rocky and fedora 2024-02-28 08:53:49 -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
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
93805e4d3e added checks for previous installs 2024-02-23 15:19:02 -05:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
493022c710
Merge pull request #717 from nsacyber/v3_issue_714-unittest
HIRS_Utils Unit Tests Migration
2024-02-23 19:59:54 +00:00
chubtub
63e184f9a3 Parse the signing cert authority key identifier during signing and place in <KeyName> 2024-02-23 14:48:06 -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