Commit Graph

1693 Commits

Author SHA1 Message Date
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
chubtub
c6bbe00d0f Merge changes from issue-692. Implement CredentialArgumentValidator. Remove extraneous code with the additions of exitWithErrorCode(String) and FileArgumentValidator. 2024-02-23 02:28:13 -05:00
chubtub
2554b7d453 Clean up help menu 2024-02-23 02:17:14 -05:00
chubtub
808e05b71c Do not assign the default attributes file in the absence of a user-provided argument 2024-02-23 02:17:14 -05:00
chubtub
fbf3de2517 Validate signature and validation arguments, and output appropriate error messages 2024-02-23 02:17:08 -05:00
chubtub
adb1da93b4 Log an error instead of throwing an exception when the truststore is omitted 2024-02-23 02:11:31 -05:00
chubtub
6b44c550dc Exit with an error code if validate fails 2024-02-23 02:11:31 -05:00
chubtub
f6f1ab4ee7 Log an error instead of throwing an exception when a signing key cannot be located in the provided truststore 2024-02-23 02:11:29 -05:00
chubtub
3fbc0e743c Validate file arguments with FileArgumentValidator 2024-02-23 02:02:19 -05:00
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
8d035ed50c Added checks for rocky 9 install 2024-02-21 13:16: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
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
a549f28208 added buildWAr depedency to buildRpm and buildDeb 2024-02-16 13:40:03 -05:00
chubtub
d7823b6b0b Log error messages instead of printing to console 2024-02-16 11:34:59 -05:00
chubtub
eb77981e41 Unknown options are caught and reported to the user instead of throwing an exception 2024-02-16 11:34:59 -05:00
chubtub
81575ee08a Print command line arguments only if --verbose option is given 2024-02-16 11:34:59 -05:00
chubtub
0ffb931112 Add commandline support for output verbosity --verbose 2024-02-16 11:34:59 -05:00
iadgovuser62
4dd395b988 Adding PolicySettingsTest 2024-02-16 10:19:48 -05:00
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
c92253ae40 Added mariadb and java 17 as required packages 2024-02-16 09:45:47 -05:00
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
2f19166a65 Added maraidb-server and java 17 as RPM dependencies 2024-02-14 09:53:57 -05:00
iadgovuser26
522bca3549 Fixed mariadb service stop with ACA RPM install 2024-02-13 09:00:17 -05:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
19a10a612b
Merge pull request #711 from nsacyber/v3_dotnet-update-wix-4_4
V3 Update WiX
2024-02-10 12:49:13 -05:00
iadgovuser29
05aa134557 Needed to update targets 2024-02-09 16:33:21 -05:00
iadgovuser29
585ec19815 Update Wix to 3.14.0 2024-02-09 16:29:02 -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
672500b6e0
Merge pull request #706 from nsacyber/v3_issue-705-provision-error
[#705] PC Attributes Provision Error
2024-02-08 11:36:10 -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
Cyrus
07495dc966
Merge pull request #702 from nsacyber/v3_issue-checkstyle
[#643] Checkstyles implementation
2024-02-06 08:24:51 -05:00
Cyrus
6dc3c691e1 Updated some more checkstyle issues and removed the line call from the
settings.gradle file
2024-02-05 13:29:24 -05:00
Cyrus
e819dad52b This commit sets up the suppression filter file. The locations previous
established have been removed.  The configuration is the root directory
2024-02-05 10:50:12 -05:00
Cyrus
c6f5fc26e3 Removing the configuration for the suppressions file in favor of getting
the general checkstyle set up on the main branch.  It will not fail a
build, just warn
2024-02-02 09:45:37 -05:00
Cyrus
ab5036982f Updated version for suppressions file 2024-02-02 08:37:44 -05:00
Cyrus
1843d46375 Updated setting to use suppressions 2024-02-02 08:10:12 -05:00
Cyrus
17bd7d9021 New branch because there seemed to be issues with the previous branch
merges.
2024-02-02 08:07:08 -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