Commit Graph

1005 Commits

Author SHA1 Message Date
8a571f1788 When a delta has the component that is bad, not the base, it wasn't highlighting. This is because the component failures wasn't be updated and then the certificate needed to be updated as well. 2021-02-25 06:59:56 -05:00
6e470e2b04 Updated the wording for the policy setting page. 2021-02-23 13:27:43 -05:00
a5184f5a5b Final changes that adds in the additional setting for the renewal period threshold. This value indicates that if the end validity has been reached for the current issued attestation certificate, then don't generate one. However if we are within the number of days set by the threshold, then generate the certificate before it expires. The default is 1 year from the end validity. 2021-02-23 10:17:56 -05:00
9c3dfe16b1 Modified the policy page controller by adding a new method to work on a form request from the policy page for enabling the generate issued attestation certificate based on a time frame rather than never or on each provision. 2021-02-16 10:30:21 -05:00
a41d1484e1 Updated the printing of the event number for the failed events. This is to match them with the event number on the support rim page. Support rim page starts at 1 but the method used on the failure page starts at 0. Also while investigating this issue, I noted that the coloring of the failure event disappears after the first viewing of that page. This was fixed. The conditions to check for an error were being ignored after the first load. 2021-02-12 09:01:35 -05:00
dcf0ec8101 Merge branch 'master' into aic-policy-rule 2021-02-11 14:13:28 -05:00
7912ff2f2e refactored some code around the SCV objects that should never be null. 2021-02-10 12:24:00 -05:00
847bad5201 Update verification date 2021-02-10 09:54:06 -05:00
9917fadef7 On a previous commit, I removed a piece of code that checked the base credential first. Because the delta fixed a problem in the base, the base failed before the delta was checked. This was completely removed. On a test that we had previously done, the test passes when it should fail because there is only a base, so that check isn't being done. This change reintroduces the check but in a different location with flags for when there is a delta present. 2021-02-09 13:30:37 -05:00
95bf9d9317 Updated SN, component data, and CSV output format. 2021-02-09 09:39:46 -05:00
177e307a17 Add input formatting and validation to client and server side. Close dialog box on submission. 2021-02-09 09:39:43 -05:00
4acfbf3026 Single download link for the entire page. Added date range begin and end fields. Pass timestamp to controller to filter reports. Format file in CSV. 2021-02-09 09:39:42 -05:00
3cd9e06f97 Add user input fields to modal dialog. Handle user input, collect device report data, and write to local file. 2021-02-09 09:39:42 -05:00
bb6cbfe871 Front end change: display modal dialog for user input on download link click. 2021-02-09 09:39:42 -05:00
18ec7d4a5b Controller changes: Pull platform credential for device and parse info 2021-02-09 09:39:42 -05:00
a4d639925e Frontend changes: download link to validation report 2021-02-09 09:39:42 -05:00
69cd06df3b Merging error didn't include the update to Assert.State 2021-02-09 06:54:31 -05:00
5e4dc8ce82 Merge branch 'master' into Unmatched-component-refactor 2021-02-08 15:23:21 -05:00
7b79ceb07a Found the issue with the component being removed that doesn't have a proper serial number and adding one with it. The code was revalidating the base in the attributes enabled flag. This was unncessary. 2021-02-08 14:25:10 -05:00
9b8721e33a Merge pull request #333 from nsacyber/sf-4-update
SpringFramework 4 version update
2021-02-08 09:48:11 -05:00
4999c96685 Updated code to correct situations that were not linking up with properly for delta and platform certificate component validation. 2021-02-05 16:10:15 -05:00
677716fa08 Merge branch 'master' into Unmatched-component-refactor 2021-02-04 08:51:31 -05:00
447c817839 Updated the lists for the left over components. 2021-02-02 12:57:55 -05:00
2d9bbe1bd7 initial commit 2021-02-01 11:24:20 -05:00
8639e8b708 Merge pull request #332 from nsacyber/cpp-error-cleanup
CppCheck cleanup
2021-01-28 10:12:13 -05:00
8d6a697a23 Removed some unnecessary comments 2021-01-28 08:08:12 -05:00
a04b697c9a Added an additional suppression to the cppcheck call. 2021-01-26 15:10:47 -05:00
f80d9af3b7 Some issues were found while doing script testings. These issues don't appear on Travis, however some of the issues were resolved in the scripts by making these changes. This is to test how travis will react. 2021-01-22 10:08:50 -05:00
653bfddc6d Updated some code and took out things that didin't need to be in the official build for unit tests 2021-01-21 07:40:55 -05:00
5589096443 Cleaned up some stuff I found during code compare in github. 2021-01-20 13:23:51 -05:00
acc022d784 Finalized clean up. 2021-01-20 13:05:43 -05:00
e9eef0e5b3 Updated the code to go through the serial numbers that are valid numbers verus generic filler. Tested against the provisioner. 2021-01-20 08:00:24 -05:00
4d8315f443 Merge pull request #331 from nsacyber/issue-308-unitTests
[#308] Updated unit tests
2021-01-15 08:22:52 -05:00
88015df551 Checkstyle: unused import 2021-01-14 13:19:17 -05:00
859fdbef83 Added a null check for the platformCredentials in the issued certificate attribute helper so that NPEs aren't thrown. 2021-01-14 12:48:53 -05:00
164a43f056 These are unit tests that were not run on the merge request #327 for issue 308. The unit tests uses certificate (EC and 2 CAs) that don't match for SKI to AKI or issuer string fields. The O= field isn't required and the code in #327 was changed to use SKI first then a sorted RDN list. See #327. A note was left in the unit tests that the test certs need to be updated.` 2021-01-14 12:41:29 -05:00
fa12614221 Testing out new code 2021-01-14 10:34:27 -05:00
beb1ccbee3 Updated a supply chain validation check for delta certificates. Updated the check for duplicate base platform certificates when storing them for the same device and updated the begin validity date for the delta vs the base check. 2021-01-12 12:26:54 -05:00
49f8fd3ed4 Merge pull request #330 from nsacyber/firmware-summary
[#329] Firmware Tests summary
2021-01-11 13:41:52 -05:00
fcb496686c This includes some refactoring of the component identifier. 2021-01-11 13:24:49 -05:00
fa6b64d38a Removed unused statement 2021-01-08 07:20:18 -05:00
e0ae088401 Remove error statement 2021-01-08 07:07:16 -05:00
43c9f04d60 Updated some of the checks for the search text for the summary. 2021-01-07 16:00:56 -05:00
f361a49a74 Resovled the issue of the DBX variable not showing up under the correct category when present. The search for the DB variable also checks the DBX so it never actually hit the DBX if statement.` 2021-01-07 13:40:40 -05:00
058c58d208 Updated the begin validity date check for the base and delta so that it is only an error if the delta begin date is older than the platform. Equal is allowed. 2021-01-07 12:51:01 -05:00
ab8d30ee82 Corrected the missing boot order entry on the page and updated how the boot variables are searched for. However, DBX is still not showing up. 2021-01-07 09:48:04 -05:00
08c0daf9be Initial Commit 2021-01-06 15:45:50 -05:00
c181665ad9 Merge pull request #326 from nsacyber/issue-324
[#324]  Update filenames when downloading (RIM)
2021-01-05 11:12:25 -05:00
20f94b94ec Merge pull request #327 from nsacyber/issue-308
[#308] Certificate RDN update
2021-01-05 10:07:04 -05:00
85254d9c44 Removed null assignment that isn't used 2021-01-05 08:14:18 -05:00