summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Resolved conflict.Kristofer Hallin2022-01-188-34/+86
|\
| * 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
| |
* | * Merge branch 'main' into feature.callhomeKristofer Hallin2022-01-1715-110/+223
|\ \ | |/ | | | | | | * New API endpoints * Updated requirements
| * 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
| |
* | Added database and API endpoints for scanners.Kristofer Hallin2022-01-053-6/+224
| |
* | Added support for creating scanner and collector tokens.Kristofer Hallin2022-01-051-8/+16
| |
* | Use FastAPI routers and split things to multiple files.Kristofer Hallin2022-01-0414-120/+206
|/
* 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
| |
| * quickstart.sh: Use docker-compose-dev by defaultErnst Widerberg2021-11-251-8/+1
| | | | | | | | Remove "dev" argument
| * auth-server-poc: Optimize Docker buildErnst Widerberg2021-11-251-1/+4
| |
* | First embryo for unittests.Kristofer Hallin2021-11-253-0/+39
|/
* Fix get/<id> endpointErnst Widerberg2021-11-241-0/+4
|
* Add dev version of docker-compose for collectorErnst Widerberg2021-11-243-1/+69
| | | | | Copies code from host rather than pulling from GitHub. Use with `./quickstart.sh dev`.
* Add Access-Control-Expose-Headers: X-Total-Count to CORSErnst Widerberg2021-11-241-0/+1
|
* BugfixErnst Widerberg2021-11-241-1/+1
|
* Add mock X-Total-CountErnst Widerberg2021-11-241-0/+7
|
* Add CORS middlewareErnst Widerberg2021-11-241-0/+9
|
* Update README for current data formatErnst Widerberg2021-11-242-22/+50
|
* Update README for JWTErnst Widerberg2021-11-241-15/+19
|
* Generate a default htpasswd file on hostErnst Widerberg2021-11-242-4/+13
|
* Add auth-server-poc to quickstart scriptErnst Widerberg2021-11-241-1/+2
|