Víctor Fernández Poyatos
3a502c5b3d
feat(Backend): PRWLR-3990 Add custom logging ( #6 )
...
* chore: PRWLR-4022 add django-cors-headers
* chore: PRWLR-4022 configure basic CORS
* feat: PRWLR-4022 add drf-spectacular and spec/docs endpoints
* build: PRWLR-4022 add basic docker development deployment
* chore: PRWLR-4022 update schema generation
* chore: PRWLR-4022 bump required Python version to 3.12
* feat: PRWLR-3990 add basic custom Django logging
* feat: PRWLR-3990 add tasks logger
* chore: PRWLR-3990 update API logging middleware to follow updated syntax
* docs: PRWLR-3990 add docstring for APILoggingMiddleware class
* chore: PRWLR-3990 add testing dependencies to poetry
* test(API): PRWLR-3990 add new middleware unit tests and base setup
* feat(API, Backend): PRWLR-3990 add NDJSONFormatter and transaction_id
* feat(API): PRWLR-3990 add dev/test model, views and urls
* chore(backend): PRWLR-3990 refactor logging settings and modules
* chore(backend): PRWLR-3990 add BackendLogger enum and refactor logging modules
* chore(backend): PRWLR-3990 refactor module importing
* style(backend): PRWLR-3990 remove extra endlines
* chore: PRWLR-3990 update poetry.lock
* chore: PRWLR-3990 run pre-commit
2024-07-05 10:13:04 -04:00
Jon Young
30775373dc
chore(CI): add labeler definition ( #7 )
2024-07-05 09:30:24 -04:00
Jon Young
7e194407f6
chore(CI): PRWLR-3897: add Continuous Integration workflows ( #3 )
...
* chore(CI): import pre-commit-config.yaml from prowler-cloud/prowler
* chore(CI): import pre-commit-config.yaml from prowler-cloud/prowler
* chore(CI): add safety package to pre-commit
* chore(CI): use poetry run to access venv for local checks
* docs(repo): add community focused docs
* chore(GitHub): add ISSUE_TEMPLATEs
same as prowler-cloud/prowler repo
* chore(CI): add pull-request.yml workflow
runs on PRs and pushes to main
* chore(CI): add additional workflows
same as those on prowler-cloud/prowler
* fix(CI): use correct path
* fix(API): fix flake8 F401 failures
* fix(API, Backend): format with black
* fix( Backend): format with black
* fix(CI): use correct path
* fix(CI): move pyproject.toml
* fix(CI): simplify tools with ruff
* fix(CI): use ruff instead of flake8, black
* fix(CI): change ruff commands for GHA
* fix(CI): use correct ruff command name
* fix(Backend): ruff format
* fix(CI): ignore safety jinja2 vuln id 70612
and add mypy for future usage
* fix(CI): set file path for hadolint
* fix(CI): add dockle
* fix(CI): update dockle version
* fix(CI): fix hadolint errors
* fix(CI): add simple tests for CI
* fix(Docker): multi-stage docker build
* docs(README): update docs for poetry location
2024-07-05 09:01:02 -04:00
Pablo Lara
8caae5996e
chore: remove develop branch, we'll use just main
2024-07-05 13:44:17 +02:00
Pablo Lara
0664032ef7
feat: add CI checks using GitHub actions
2024-07-05 13:06:36 +02:00
Pablo Lara
67c6a12be4
feat: add CI checks using GitHub actions
2024-07-05 12:55:30 +02:00
dependabot[bot]
d1a7d19799
chore(deps-dev): bump safety from 3.2.3 to 3.2.4 ( #4385 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-05 11:20:41 +02:00
Pedro Martín
d7dffbc44b
chore(test): enhance OCSF tests ( #4386 )
2024-07-05 11:19:53 +02:00
Pablo Lara
6b028142ee
chore: add eslint-plugin-simple-import-sort as a dev dependencie
2024-07-05 11:15:51 +02:00
Pablo Lara
d4eabf2d7e
chore: add nvmrc file
2024-07-05 11:01:34 +02:00
Pablo Lara
c7abc37671
chore: add prettier config files
2024-07-05 11:01:12 +02:00
Pablo Lara
1637325625
chore: replace eslintrc.json by eslintrc.cjs
2024-07-05 11:00:42 +02:00
dependabot[bot]
0402cc7e2d
chore(deps): bump slack-sdk from 3.30.0 to 3.31.0 ( #4384 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-05 08:47:41 +02:00
Sergio Garcia
bf83f38c89
chore(html): add HTML class ( #4360 )
2024-07-04 13:28:09 -04:00
Pepe Fagoaga and pedrooot
673619c8a1
refactor(ASFF): create class ( #4368 )
...
Co-authored-by: pedrooot <pedromarting3@gmail.com >
2024-07-04 12:04:36 -04:00
Pedro Martín
2345a7384b
chore(ocsf): add OCSF class for outputs ( #4355 )
2024-07-04 17:08:01 +02:00
Oleksii and Oleksii Tsyganov
e387c591c3
chore(k8s): Add helm-chart ( #4370 )
...
Co-authored-by: Oleksii Tsyganov <otsyganov@magicleap.com >
2024-07-04 10:30:45 -04:00
Rubén De la Torre Vico
47a37c7d0d
chore(iam): Improve status extended adding the resource type ( #4378 )
2024-07-04 09:32:35 -04:00
dependabot[bot]
7b359cf1eb
chore(deps): bump botocore from 1.34.138 to 1.34.139 ( #4373 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-04 14:32:16 +02:00
Pepe Fagoaga and sergargar
35d525b903
chore(regions_update): Changes in regions for AWS services. ( #4379 )
...
Co-authored-by: sergargar <38561120+sergargar@users.noreply.github.com >
2024-07-04 11:48:04 +02:00
Pedro Martín
b5b193427d
docs(readme): update check number on readme ( #4377 )
2024-07-04 08:54:12 +02:00
Rubén De la Torre Vico
e6ae539323
feat(IAM): Add inline policies checks and improve custom policy checks ( #4255 )
2024-07-03 15:51:19 -04:00
Víctor Fernández Poyatos
a69a155679
docs(backend): PRWLR-3988 Include Django development guide ( #5 )
...
* docs: PRWLR-3988 add development guide to README
* docs: PRWLR-3988 add description to README
2024-07-03 11:45:54 -04:00
Pepe Fagoaga and sergargar
541b907038
chore(regions_update): Changes in regions for AWS services. ( #4369 )
...
Co-authored-by: sergargar <38561120+sergargar@users.noreply.github.com >
2024-07-03 09:56:15 -04:00
Víctor Fernández Poyatos
7ff6d860ce
feat(backend): PRWLR-4022 Basic Django and DRF setup and dev tools ( #4 )
...
* chore: PRWLR-4022 add django-cors-headers
* chore: PRWLR-4022 configure basic CORS
* feat: PRWLR-4022 add drf-spectacular and spec/docs endpoints
* build: PRWLR-4022 add basic docker development deployment
* chore: PRWLR-4022 update schema generation
* chore: PRWLR-4022 bump required Python version to 3.12
2024-07-03 09:34:29 -04:00
dependabot[bot]
040e1eaa5e
chore(deps): bump boto3 from 1.34.136 to 1.34.138 ( #4367 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-03 08:43:03 +02:00
dependabot[bot]
e23a674277
chore(deps): bump google-api-python-client from 2.135.0 to 2.136.0 ( #4362 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-03 08:09:39 +02:00
dependabot[bot]
e73cefdf1a
chore(deps): bump botocore from 1.34.137 to 1.34.138 ( #4361 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-03 07:37:08 +02:00
Rubén De la Torre Vico
9ed4e89c60
chore(iam): Remove unnecesary attached policy in a inline policy ( #4359 )
2024-07-02 12:38:00 -04:00
Pedro Martín
da547b2bbe
fix(test-csv): fix test using tempfile ( #4356 )
2024-07-02 09:16:12 -04:00
Pedro Martín and Pepe Fagoaga
ca033745c9
chore(csv): add CSVOutput class ( #4315 )
...
Co-authored-by: Pepe Fagoaga <pepe@prowler.com >
2024-07-02 13:12:43 +02:00
dependabot[bot]
b440be717c
chore(deps): bump djangorestframework from 3.15.1 to 3.15.2 in /src ( #2 )
...
Bumps [djangorestframework](https://github.com/encode/django-rest-framework ) from 3.15.1 to 3.15.2.
- [Release notes](https://github.com/encode/django-rest-framework/releases )
- [Commits](https://github.com/encode/django-rest-framework/compare/3.15.1...3.15.2 )
---
updated-dependencies:
- dependency-name: djangorestframework
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-02 10:00:59 +02:00
dependabot[bot]
fb49fb83ae
chore(deps): bump botocore from 1.34.136 to 1.34.137 ( #4351 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-02 09:30:49 +02:00
dependabot[bot]
76e0b23365
chore(deps): bump boto3 from 1.34.132 to 1.34.136 ( #4352 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-02 08:52:10 +02:00
Jon Young
d8752719c1
Merge pull request #1 from prowler-cloud/PRWLR-3980-project-setup
...
feat: PRWLR-3980 Setup base project structure
2024-07-01 12:20:20 -04:00
Víctor Fernández Poyatos
737a0ff9cb
chore: update .gitignore
2024-07-01 18:04:13 +02:00
Víctor Fernández Poyatos
1c8e676822
chore: update CODEOWNERS
2024-07-01 18:03:27 +02:00
Víctor Fernández Poyatos
7b98f0fc92
chore: update pull request template
2024-07-01 18:00:47 +02:00
Víctor Fernández Poyatos
45865f2e71
chore: add required files for project base structure
2024-07-01 17:43:05 +02:00
Víctor Fernández Poyatos
eded2df687
chore: add .github folder and related files
2024-07-01 17:42:29 +02:00
Víctor Fernández Poyatos
766d3f6670
chore: PRWLR-3980 add Django project and API
2024-07-01 17:42:03 +02:00
Víctor Fernández Poyatos
3f2d0a13af
chore: PRWLR-3980 add poetry files
2024-07-01 17:41:18 +02:00
Víctor Fernández Poyatos
690957e1c3
chore: PRWLR-3980 update .gitignore
2024-07-01 17:19:19 +02:00
Jon Young
3092b56fd6
Initial commit
2024-07-01 10:42:55 -04:00
Sergio Garcia
82ccdc45d2
chore(elasticache): enhance service and checks ( #4329 )
2024-07-01 10:06:24 -04:00
dependabot[bot]
de777a6417
chore(deps): bump azure-mgmt-storage from 21.2.0 to 21.2.1 ( #4339 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 09:55:17 -04:00
dependabot[bot]
87d8cda745
chore(deps-dev): bump moto from 5.0.9 to 5.0.10 ( #4343 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 09:19:22 -04:00
dependabot[bot]
64abd0a6d0
chore(deps-dev): bump pylint from 3.2.3 to 3.2.5 ( #4347 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 13:58:42 +02:00
dependabot[bot]
096d7c6304
chore(deps): bump botocore from 1.34.132 to 1.34.136 ( #4337 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 12:58:50 +02:00
dependabot[bot]
4908e06544
chore(deps): bump google-api-python-client from 2.134.0 to 2.135.0 ( #4345 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 12:28:08 +02:00