Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use logger for all sorts of logging. Also prepare for writing some logs to a ↵feature.scanners | Kristofer Hallin | 2022-04-13 | 5 | -78/+65 |
| | | | | database for audit reasons. | ||||
* | Merged main and updated stuff. | Kristofer Hallin | 2022-04-12 | 9 | -115/+261 |
|\ | |||||
| * | Use the schema when creating indexes, also validate data before writing to ↵ | Kristofer Hallin | 2022-04-12 | 4 | -78/+64 |
| | | | | | | | | CouchDB. | ||||
| * | Removed a redundant newline from example_data_1 | John Van de Meulebrouck Brendgard | 2022-04-11 | 1 | -1/+0 |
| | | |||||
| * | Added investigation_needed | John Van de Meulebrouck Brendgard | 2022-04-11 | 2 | -9/+29 |
| | | | | | | | | | | and made it required to specify either vulnerable or investigation_needed. | ||||
| * | Rename top-level property "system_name" -> "display_name" | Ernst Widerberg | 2022-04-11 | 3 | -4/+4 |
| | | |||||
| * | Fix example_data_2.json | Ernst Widerberg | 2022-04-11 | 1 | -1/+1 |
| | | |||||
| * | Update example_data + schema | Ernst Widerberg | 2022-04-11 | 4 | -90/+168 |
| | | |||||
* | | More database changes and endpoints. | Kristofer Hallin | 2022-04-11 | 2 | -24/+58 |
| | | |||||
* | | Random SQL stuff for handling scanners. | Kristofer Hallin | 2022-04-08 | 3 | -4/+171 |
| | | | | | | | | New API endpoint for scanners. | ||||
* | | Moved everything database related to db/. | Kristofer Hallin | 2022-04-07 | 10 | -20/+17 |
| | | |||||
* | | Added PostgreSQL. | Kristofer Hallin | 2022-04-07 | 3 | -0/+117 |
|/ | |||||
* | do-as: Remove -s flag | Ernst Widerberg | 2022-03-29 | 1 | -1/+1 |
| | |||||
* | Update README, do-as for collector's new https location | Ernst Widerberg | 2022-03-01 | 2 | -6/+6 |
| | |||||
* | Create indexes properly. | Kristofer Hallin | 2022-02-21 | 2 | -3/+12 |
| | |||||
* | JSON schema for data. | Kristofer Hallin | 2022-02-07 | 1 | -0/+75 |
| | |||||
* | Added .jenkins file. | Kristofer Hallin | 2022-02-04 | 1 | -0/+31 |
| | |||||
* | Copy certs/* | Kristofer Hallin | 2022-02-04 | 1 | -2/+1 |
| | |||||
* | Use volume for certs. | Kristofer Hallin | 2022-02-04 | 6 | -7/+10 |
| | |||||
* | Use SSL and added a -b flag to quickstart.sh | Kristofer Hallin | 2022-02-04 | 7 | -7/+73 |
| | |||||
* | Add testing for some unauthorized API calls | Ernst Widerberg | 2022-01-21 | 1 | -0/+47 |
| | |||||
* | Allow passing args to pytest from quickstart.sh | Ernst Widerberg | 2022-01-21 | 1 | -2/+7 |
| | | | | Usage: ./quickstart_test.sh [-v] [-c] [-- <args to pytest>] | ||||
* | Added -e flag to jwt_producer. | Kristofer Hallin | 2022-01-18 | 1 | -3/+10 |
| | |||||
* | Updated JWT producer. | Kristofer Hallin | 2022-01-17 | 1 | -12/+27 |
| | |||||
* | Fix: Add password for `usr` | Ernst Widerberg | 2022-01-17 | 1 | -1/+2 |
| | |||||
* | New claims etc. | Kristofer Hallin | 2022-01-17 | 1 | -9/+21 |
| | |||||
* | Readd a default user `usr` | Ernst Widerberg | 2022-01-17 | 1 | -0/+6 |
| | |||||
* | Update README | Ernst Widerberg | 2022-01-14 | 1 | -6/+0 |
| | |||||
* | Bugfix | Ernst Widerberg | 2022-01-14 | 1 | -2/+2 |
| | |||||
* | Update test JWT + cert | Ernst Widerberg | 2022-01-14 | 2 | -5/+3 |
| | |||||
* | REDAME: Add tip about JWT decoding | Ernst Widerberg | 2022-01-14 | 1 | -1/+7 |
| | |||||
* | Move userdb.yaml to mounted volume | Ernst Widerberg | 2022-01-14 | 3 | -1/+6 |
| | |||||
* | quickstart_test: Remove unused env var JWT_TOKEN | Ernst Widerberg | 2022-01-14 | 1 | -1/+0 |
| | |||||
* | Decrease database reconnection timer | Ernst Widerberg | 2022-01-14 | 1 | -1/+1 |
| | |||||
* | Revert "Only retry the database connection if we get an ConnectionError ↵ | Ernst Widerberg | 2022-01-14 | 1 | -4/+3 |
| | | | | | | exception." This reverts commit a3b5cde94981b9a98d367004b4c513c81e5870e4. | ||||
* | Separate out env vars from quickstart.sh | Ernst Widerberg | 2022-01-14 | 3 | -9/+8 |
| | |||||
* | Printing bugfix | Ernst Widerberg | 2022-01-14 | 1 | -2/+2 |
| | |||||
* | Add read/write permissions to JWTs based on YAML | Ernst Widerberg | 2022-01-13 | 7 | -76/+164 |
| | | | | | | | - Uses Linus's YAML code, except with password stuff removed since auth-server-poc uses htpasswd. - The collector checks JWT on API endpoints get, get/{key}, and delete/{key}, but not on add. | ||||
* | Add convenience script do-as | Ernst Widerberg | 2022-01-13 | 2 | -0/+19 |
| | |||||
* | Only retry the database connection if we get an ConnectionError exception. | Kristofer Hallin | 2021-12-17 | 1 | -3/+4 |
| | |||||
* | Remove the existing venv. We should create our own. | Kristofer Hallin | 2021-12-17 | 1 | -0/+5 |
| | |||||
* | Pass -c to quickstart_test.sh and we will start CouchDB for you as well. | Kristofer Hallin | 2021-11-26 | 2 | -3/+28 |
| | |||||
* | fix typo | Linus Nordberg | 2021-11-26 | 1 | -1/+1 |
| | |||||
* | More unittests. | Kristofer Hallin | 2021-11-26 | 1 | -0/+20 |
| | |||||
* | Set up virtualenv and install requirements if -v is passed to quickstart_test.sh | Kristofer Hallin | 2021-11-26 | 1 | -7/+25 |
| | |||||
* | Require JWT token for the /delete endpoint. | Kristofer Hallin | 2021-11-26 | 1 | -1/+4 |
| | |||||
* | * Now possible to remove documents, new /delete endpoint. | Kristofer Hallin | 2021-11-26 | 3 | -0/+113 |
| | | | | * More unittests. | ||||
* | Updated requirements. | Kristofer Hallin | 2021-11-26 | 1 | -1/+9 |
| | |||||
* | Use the database unittest for unittests. | Kristofer Hallin | 2021-11-26 | 1 | -1/+1 |
| | |||||
* | More unittests.fastapi_pytest | Kristofer Hallin | 2021-11-26 | 1 | -2/+65 |
| |