summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* initial fresh upVictor Näslund2022-11-0114-119/+469
|
* Rename timestamp_in_utc to timestamp, change formatHEADmainErnst Widerberg2022-04-254-5/+6
| | | | | | | | The format "date-time" in jsonschema is as defined in RFC 3339, which is about the same as ISO 8601. Validating this requires an additional package which is specified in python-jsonschema docs.
* Use the schema when creating indexes, also validate data before writing to ↵Kristofer Hallin2022-04-124-78/+64
| | | | CouchDB.
* Removed a redundant newline from example_data_1John Van de Meulebrouck Brendgard2022-04-111-1/+0
|
* Added investigation_neededJohn Van de Meulebrouck Brendgard2022-04-112-9/+29
| | | | | and made it required to specify either vulnerable or investigation_needed.
* Rename top-level property "system_name" -> "display_name"Ernst Widerberg2022-04-113-4/+4
|
* Fix example_data_2.jsonErnst Widerberg2022-04-111-1/+1
|
* Update example_data + schemaErnst Widerberg2022-04-114-90/+168
|
* do-as: Remove -s flagErnst Widerberg2022-03-291-1/+1
|
* Update README, do-as for collector's new https locationErnst Widerberg2022-03-012-6/+6
|
* Create indexes properly.Kristofer Hallin2022-02-212-3/+12
|
* JSON schema for data.Kristofer Hallin2022-02-071-0/+75
|
* Added .jenkins file.Kristofer Hallin2022-02-041-0/+31
|
* Copy certs/*Kristofer Hallin2022-02-041-2/+1
|
* Use volume for certs.Kristofer Hallin2022-02-046-7/+10
|
* Use SSL and added a -b flag to quickstart.shKristofer Hallin2022-02-047-7/+73
|
* Add testing for some unauthorized API callsErnst Widerberg2022-01-211-0/+47
|
* Allow passing args to pytest from quickstart.shErnst Widerberg2022-01-211-2/+7
| | | | Usage: ./quickstart_test.sh [-v] [-c] [-- <args to pytest>]
* Added -e flag to jwt_producer.Kristofer Hallin2022-01-181-3/+10
|
* Updated JWT producer.Kristofer Hallin2022-01-171-12/+27
|
* Fix: Add password for `usr`Ernst Widerberg2022-01-171-1/+2
|
* New claims etc.Kristofer Hallin2022-01-171-9/+21
|
* Readd a default user `usr`Ernst Widerberg2022-01-171-0/+6
|
* Update READMEErnst Widerberg2022-01-141-6/+0
|
* BugfixErnst Widerberg2022-01-141-2/+2
|
* Update test JWT + certErnst Widerberg2022-01-142-5/+3
|
* REDAME: Add tip about JWT decodingErnst Widerberg2022-01-141-1/+7
|
* Move userdb.yaml to mounted volumeErnst Widerberg2022-01-143-1/+6
|
* quickstart_test: Remove unused env var JWT_TOKENErnst Widerberg2022-01-141-1/+0
|
* Decrease database reconnection timerErnst Widerberg2022-01-141-1/+1
|
* Revert "Only retry the database connection if we get an ConnectionError ↵Ernst Widerberg2022-01-141-4/+3
| | | | | | exception." This reverts commit a3b5cde94981b9a98d367004b4c513c81e5870e4.
* Separate out env vars from quickstart.shErnst Widerberg2022-01-143-9/+8
|
* Printing bugfixErnst Widerberg2022-01-141-2/+2
|
* Add read/write permissions to JWTs based on YAMLErnst Widerberg2022-01-137-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-asErnst Widerberg2022-01-132-0/+19
|
* Only retry the database connection if we get an ConnectionError exception.Kristofer Hallin2021-12-171-3/+4
|
* Remove the existing venv. We should create our own.Kristofer Hallin2021-12-171-0/+5
|
* Pass -c to quickstart_test.sh and we will start CouchDB for you as well.Kristofer Hallin2021-11-262-3/+28
|
* fix typoLinus Nordberg2021-11-261-1/+1
|
* More unittests.Kristofer Hallin2021-11-261-0/+20
|
* Set up virtualenv and install requirements if -v is passed to quickstart_test.shKristofer Hallin2021-11-261-7/+25
|
* Require JWT token for the /delete endpoint.Kristofer Hallin2021-11-261-1/+4
|
* * Now possible to remove documents, new /delete endpoint.Kristofer Hallin2021-11-263-0/+113
| | | | * More unittests.
* Updated requirements.Kristofer Hallin2021-11-261-1/+9
|
* Use the database unittest for unittests.Kristofer Hallin2021-11-261-1/+1
|
* More unittests.fastapi_pytestKristofer Hallin2021-11-261-2/+65
|
* Merge branch 'main' of git.sunet.se:soc_collector into fastapi_pytestKristofer Hallin2021-11-263-10/+18
|\
| * user www-data needs to read the private keyLinus Nordberg2021-11-251-0/+1
| |
| * document dependenciesLinus Nordberg2021-11-251-1/+1
| |
| * Add local development instructions to READMEErnst Widerberg2021-11-251-0/+11
| |