diff --git a/.gitignore b/.gitignore index b970d3c..a765c4f 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,4 @@ db/tirdb.sqlite-journal # internal test test +server/api/localtest diff --git a/README.md b/README.md index 62b2c08..ca50bd8 100644 --- a/README.md +++ b/README.md @@ -4,16 +4,16 @@ TIR is a web application to dynamically manage compliance data for a system. -Tir is a Armenian god of wisdom and the namesake of the TIR (Test Ingest Respository). TIR will help manage a system's STIG/SRG/SCTM content from a myriad of test tool formats. +Tir is a Armenian god of wisdom and the namesake of the TIR (Test Ingest Respository). TIR will help manage a system's STIG/SRG/SCTM content from a myriad of test tool formats. ## Features -* Group system compliance data -* Store STIG results files and their hsitory for a system . -* Store Quarterly DISA STIG libraries. -* Streamline Quarterly STIG Update Process -* Import automated test tool results -* Export compliance data +- Group system compliance data +- Store STIG results files and their hsitory for a system . +- Store Quarterly DISA STIG libraries. +- Streamline Quarterly STIG Update Process +- Import automated test tool results +- Export compliance data ## Dev Setup @@ -22,6 +22,7 @@ Tir is a Armenian god of wisdom and the namesake of the TIR (Test Ingest Resposi - node v18+ ### Clone repo + ```bash git clone cd tir @@ -33,15 +34,17 @@ cd tir npm install ``` - #### `.env` for SQLite config + ```ini SQLITE=true JWT_KEY= //Required: Key that TIR will use for JWT +SECRET_KEY= //Required INIT_PASSWORD= //Required: Initial Password for initial TIR admin Account ``` #### `.env` for Postgres config + ```ini PORT= //Optional: Dev Web Server Port Defaults to 3000 DATABASE_HOST= //Required: Postgres Database IP/FQDN diff --git a/cert_loc/cert_response.json b/cert_loc/cert_response.json new file mode 100644 index 0000000..ae41665 --- /dev/null +++ b/cert_loc/cert_response.json @@ -0,0 +1,5 @@ +{ + "result": "Success", + "filename": "good.tar", + "error": false +} diff --git a/components/BoundaryItems.vue b/components/BoundaryItems.vue index 23d338b..4f2c339 100644 --- a/components/BoundaryItems.vue +++ b/components/BoundaryItems.vue @@ -4,7 +4,9 @@

{{ $route.params.company }}

-

A list of all the boundaries you are a member of.

+

+ A list of all the {{ inflection.pluralize(boundaryView.alias.toLowerCase()) }} you are a member of. +

@@ -104,9 +106,11 @@ {{ enclave.owner.email }} None - Need Data - {{ enclave.lastUpdate }} + {{ formatDate(enclave.creationDate) }} + + + {{ formatDate(enclave.lastUpdate) }} @@ -156,15 +160,7 @@ active ? 'bg-gray-200 dark:bg-gray-700' : 'text-gray-300', 'group flex items-center px-3 py-1 text-sm leading-6 text-gray-500 dark:text-gray-100', ]" - @click.stop=" - [ - (edit = true), - (open = true), - (newName = enclave.name), - (editId = enclave.id), - editUpdate(enclave.ownerId, enclave.StigLibraryId), - ] - " + @click.stop="[(edit = true), (open = true), editUpdate(enclave)]" >