-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Phase 2 #10
base: main
Are you sure you want to change the base?
Phase 2 #10
Changes from 7 commits
9f41a77
49176a0
89eddf9
32acfea
7cf1de9
88a5751
af67cc5
5fead66
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,3 +32,4 @@ db/tirdb.sqlite-journal | |
|
||
# internal test | ||
test | ||
server/api/localtest |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <cloneurl> | ||
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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add an explanation for what this field should be. We should probably add a .env-example file or something similar. |
||
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 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think there was an accidental commit of this file. Providing an example file or response is fine, but this feels like it was something used for testing. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"result": "Success", | ||
"filename": "good.tar", | ||
"error": false | ||
} |
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,48 @@ | ||
<template> | ||
<div class="bg-white dark:bg-gray-800 py-24 rounded-lg"> | ||
<div class="rounded-lg bg-white py-24 dark:bg-gray-800"> | ||
<div class="mx-auto max-w-7xl px-6 lg:px-8"> | ||
<div class="mx-auto max-w-2xl lg:mx-0"> | ||
<h2 class="text-3xl font-bold tracking-tight text-gray-800 dark:text-white sm:text-4xl">Test Ingest Repository. | ||
<h2 class="text-3xl font-bold tracking-tight text-gray-800 dark:text-white sm:text-4xl"> | ||
Test Ingest Repository. | ||
</h2> | ||
<p class="mt-2 text-lg leading-8 text-gray-600 dark:text-gray-400">TIR is a central repository to maintain your | ||
boundary's | ||
security | ||
posture.</p> | ||
<h4 class="mt-12 text-xl font-bold tracking-tight text-gray-800 dark:text-white sm:text-2xl">See Your Updates | ||
Below</h4> | ||
<p class="mt-2 text-lg leading-8 text-gray-600 dark:text-gray-400"> | ||
TIR is a central repository to maintain your | ||
{{ inflection.pluralize(boundaryView.alias.toLowerCase()) }} security posture. | ||
</p> | ||
<h4 class="mt-12 text-xl font-bold tracking-tight text-gray-800 dark:text-white sm:text-2xl"> | ||
See Your Updates Below | ||
</h4> | ||
</div> | ||
<div | ||
class="mx-auto mt-5 grid max-w-2xl grid-cols-1 gap-x-8 gap-y-16 border-t border-gray-500 pt-10 sm:pt-16 lg:mx-0 lg:max-w-none lg:grid-cols-3"> | ||
class="mx-auto mt-5 grid max-w-2xl grid-cols-1 gap-x-8 gap-y-16 border-t border-gray-500 pt-10 sm:pt-16 lg:mx-0 lg:max-w-none lg:grid-cols-3" | ||
> | ||
<article> | ||
<h1 class="text-lg text-gray-800 dark:text-white font-bold">Boundary Changes</h1> | ||
<h1 class="text-lg font-bold text-gray-800 dark:text-white">{{ boundaryView.alias }} Changes</h1> | ||
<div class="flex max-w-xl flex-col items-start justify-between"> | ||
<DashBoarditemsBoundaryChanges /> | ||
</div> | ||
|
||
</article> | ||
<article> | ||
<h1 class="text-lg text-gray-800 dark:text-white font-bold">New Libraries Imported</h1> | ||
<h1 class="text-lg font-bold text-gray-800 dark:text-white">New Libraries Imported</h1> | ||
<div class="flex max-w-xl flex-col items-start justify-between"> | ||
<DashBoarditemsNewLibraries /> | ||
</div> | ||
|
||
</article> | ||
|
||
<article> | ||
<h1 class="text-lg text-gray-800 dark:text-white font-bold">Upcoming Dates</h1> | ||
<h1 class="text-lg font-bold text-gray-800 dark:text-white">Upcoming Dates</h1> | ||
<div class="flex max-w-xl flex-col items-start justify-between"> | ||
<DashBoarditemsDates /> | ||
</div> | ||
|
||
</article> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
import inflection from "inflection"; | ||
|
||
</script> | ||
const { data: currentAlias } = await useFetch("/api/boundaries/alias"); | ||
const boundaryView = ref(currentAlias.value[1]); | ||
</script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a section to this to make it clearer that you need to read the license/notice files.
Also should add like an authors section or something to clearly attribute work done by both the mitre and lm teams