Commit Graph

394 Commits

Author SHA1 Message Date
iadgovuser59
752e373b22 Minor whitespace and newline character fixes 2024-04-03 11:08:13 -04:00
iadgovuser59
7ad4b63a18 Adding GZIP compression to Tomcat server 2024-03-28 16:15:56 -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
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
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
iadgovuser26
2b7fee432a Fixed selinux issue for Rocky 9 and Mysql restart for Ubuntu install 2024-03-13 13:49:42 -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
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
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
93805e4d3e added checks for previous installs 2024-02-23 15:19:02 -05:00
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
8d035ed50c Added checks for rocky 9 install 2024-02-21 13:16:13 -05:00
iadgovuser26 iadgovuser26@empire.eclipse.ncsc.mil
a549f28208 added buildWAr depedency to buildRpm and buildDeb 2024-02-16 13:40:03 -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
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
ab5036982f Updated version for suppressions file 2024-02-02 08:37:44 -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
Cyrus
5c20b6b9c3 Updated the code to properly check for database values that are archived
vs not archived
2024-01-24 16:02:46 -05:00
Cyrus
2e1ac19d21
Merge pull request #677 from nsacyber/v3_issue_668-version
Added VERSION file to /etc/hirs/aca
2024-01-22 16:51:03 -05:00
Cyrus
49eb2753fb
Merge pull request #670 from nsacyber/v3_bouncycastle-preq
BouncyCastle Prerequisite changes
2024-01-22 16:34:26 -05:00
iadgovuser26
1ccde9baff updated VERSION file placed in /etc/hirs/aca 2024-01-22 14:30:43 -05:00
Cyrus
f3b0be9ef9
Merge pull request #657 from nsacyber/issue-642-spotbugs-p2
[#642] HIRS_AttestationCA spotbug fixes
2024-01-19 07:58:57 -05:00
iadgovuser26
3f7cac13c7 added VERSION file to /opt/hirs 2024-01-16 18:28:40 -05:00
Cyrus
d7569f22d2 Commenting out a unit test that is currently causing github actions to
fail the reason is unclear.  It doesn't occur in a container but does on
a host machine.
2024-01-16 17:06:45 -05:00
Cyrus
10343398d4 These are the finally changes that produced a successful build. all
unit tests pass and no spotbugs patterns appear for HIRS_AttestationCA.
2024-01-05 09:23:52 -05:00
Cyrus
0d25599c80 Initial set of changes for #642 that are fixes for HIRS_AttestationCA.
In addition, this and the following pushes will have changes for #651
because spot bugs doesn't like how Lombok handles hashCode and equals
2023-12-22 07:44:47 -05:00
Cyrus
9b9da1b708
Merge pull request #656 from nsacyber/v3_issue_655-integrationtest
[#655] Added the final 3 Page Controller integration tests
2023-12-22 07:21:47 -05:00
Cyrus
e2247735f0
Merge pull request #653 from nsacyber/issue-642-spotbugs
[#642] Initial Spotbugs Setup
2023-12-22 07:21:29 -05:00
iadgovuser58
c1bb2da847 cleaning up comments 2023-12-21 18:03:54 -05:00
Cyrus
0432646445 The initial issue found in the tcg event log code is present in the
rest, updating all exclude files to ignore this specific bug for the
time being
2023-12-20 15:53:32 -05:00
Cyrus
b52128a0b1 These are fixes for issues found via unit test that are in PR #652. But
that PR is currently still WIP and these changes have nothing to do with
why that PR is WIP.  Therefore PR just covers these changes to the
creation time not being saved/reset.
2023-12-20 15:15:27 -05:00
Cyrus
c0cee9d597 Fixed a typo and included files I didn't on the initial push 2023-12-20 13:10:58 -05:00
D2B8CA1B27286366A8607B6858C0565962613D18D0546480078B520CD7AD705A
b52eb770f5
[#634] Updated Page Controller series integration tests and added new ones (#647)
* updated PageTestConfiguration

* updated PageControllerTest

* updated DevicePageControllerTest

* added 3 new tests

* added test resources
2023-12-05 15:04:06 -05:00
Cyrus
8ae0745ac5 Fixed issues that caused the ACA to not complete a provision.
FWvalidator was using an object used by the tool and not the portal.
Updated a few repository calls
2023-11-28 15:39:33 -05:00
Cyrus
995d69cc8f Fixed delete mix up 2023-11-28 08:01:30 -05:00
Cyrus
cf6b3a556e The useage of getReferenceById returns an object regardless if the uuid
is valid.  This causes an issue when a false uuid is used and then
produces a EntityNotFoundException when trying to access an attribute of
the object returned.  These changes address either not using that
specific call and changing to one that will return null if the uuid is
invalid.  But also using the exists function of the repository to verify
an invalid uuid.
2023-11-17 11:53:31 -05:00
Cyrus
6191c5b086
Merge pull request #630 from nsacyber/v3_server-ui-fixes
V3 server UI fixes
2023-11-17 11:41:19 -05:00
Cyrus
3a8b564da1
Merge pull request #619 from nsacyber/v3_page-controller-parse-fix
Uploading Platform Credential IllegalStateException Fix
2023-11-14 10:15:39 -05:00
Cyrus
861508c0ef Added finally touches to not display archived items. As well display
the correct count that doesn't include the archived items.  Also added
additional exception checks after testing uploading the wrong element to
the wrong /list page
2023-11-14 08:54:08 -05:00
Cyrus
cfb30d9a4b Updated code after recognizing an issue with archiving items. This
doesn't include updating the values displayed at the bottom of the list
page.
2023-11-13 16:56:16 -05:00
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26
1e3c7c78b0
Dockerfiles for v3 ACA. Also Powershell Package Scripts (#628)
* Package scripts for powershell

* Adding dockerfiles
2023-11-09 11:54:51 -05:00
Cyrus
f01b5a2060 This push has changes to resolve archivable items not updating the
archiveTime element.
2023-11-08 13:10:40 -05:00
Cyrus
548d6bb1eb There was an issue with finding the support RIM with the base RIM
information.  Changed how it finds the support RIM to using the hash for
the swid resource.
2023-11-07 10:05:35 -05:00
Cyrus
433087961c Tested uploading a rimel that had multiple matching manufacturer and
model.  The repo to check for this wasn't returning a single unique result
and causes and error
2023-11-06 15:36:34 -05:00
chubtub
071981dcb0 Repeat changes to ReferenceManifestValidator from reverted commit 2023-11-01 11:54:29 -04:00
chubtub
55936806d7 Revert "Merge pull request #606 from nsacyber/v3_issue-596"
This reverts commit 071e89a44f, reversing
changes made to 45d550729f.
2023-11-01 10:03:34 -04:00
Cyrus
316f3ec99e
Merge pull request #620 from nsacyber/v3_rim-validator-update
Update to the RIM Validator
2023-11-01 06:48:48 -04:00