You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+53Lines changed: 53 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,59 @@ The following repository is used to store the OpenAEV injectors for the platform
10
10
11
11
This repository is used to host injectors that are supported by the core development team of OpenAEV. Nevertheless, the community is also developing a lot of injectors, third-parties modules directly linked to OpenAEV. You can find the list of all available injectors and plugins in the [OpenAEV ecosystem dedicated space](https://filigran.notion.site/OpenAEV-Ecosystem-30d8eb73d7d04611843e758ddef8941b).
12
12
13
+
### Creating a new injector
14
+
15
+
#### Project setup
16
+
Assuming a new collector by the name of `new_injector`, create a skeleton directory with:
17
+
```shell
18
+
poetry new new_injector
19
+
```
20
+
21
+
#### `pyoaev` dependency
22
+
We wish to retain the possibility to develop simultaneously on `pyoaev` and collectors. We rely on PEP 508 environment
23
+
markers to alternatively install a local path `pyoaev` dependency or a released version from PyPI; specifically the `extra`
24
+
marker.
25
+
26
+
Navigate to the new directory and edit `pyproject.toml`.
27
+
```shell
28
+
vim new_injector/pyproject.toml
29
+
```
30
+
(or open the file in your favourite editor).
31
+
32
+
Here's the expression for the pyoaev dependency, including the `extra` definition:
33
+
```toml
34
+
[tool.poetry.dependencies]
35
+
pyoaev = [
36
+
{ markers = "extra == 'prod' and extra != 'dev'", version = "<latest pyoaev release on PyPI>", source = "pypi" },
37
+
{ markers = "extra == 'dev' and extra != 'prod'", path = "../../client-python", develop = true },
38
+
]
39
+
40
+
[tool.poetry.extras]
41
+
prod = ["pyoaev"]
42
+
dev = ["pyoaev"]
43
+
```
44
+
45
+
### Simultaneous development on pyoaev and an injector
46
+
The injectors repository is set to assume that in the event of a simultaneous development work on both `pyoaev`
47
+
and injectors, the `pyoaev` repository is cloned in a directory at the same level as the injectors root directory,
48
+
and is named strictly `client-python`.
49
+
50
+
Here's an example layout:
51
+
```
52
+
.
53
+
├── client-python <= mandatory dir name
54
+
│ ├── docs
55
+
│ ├── pyoaev
56
+
│ ├── scripts
57
+
│ └── test
58
+
└── injectors <= this repo root dir
59
+
├── aws
60
+
├── http-query
61
+
├── nmap
62
+
└── nuclei
63
+
```
64
+
65
+
13
66
## Contributing
14
67
15
68
If you want to help use improve or develop new injector, please check out the **[development documentation for new injectors](https://docs.openaev.io/latest/development/injectors)**. If you want to make your injectors available to the community, **please create a Pull Request on this repository**, then we will integrate it to the CI and in the [OpenAEV ecosystem](https://filigran.notion.site/OpenAEV-Ecosystem-30d8eb73d7d04611843e758ddef8941b).
Copy file name to clipboardExpand all lines: aws/README.md
+48-42Lines changed: 48 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,14 +85,39 @@ The injector supports all current AWS regions including:
85
85
86
86
**Other Regions**: Middle East (Bahrain, UAE, Tel Aviv), Africa (Cape Town), South America (São Paulo), China (Beijing, Ningxia), AWS GovCloud (US-East, US-West)
87
87
88
-
## Installation
88
+
## Configuration variables
89
+
90
+
There are a number of configuration options, which are set either in `docker-compose.yml` (for Docker) or
91
+
in `config.yml` (for manual deployment).
92
+
93
+
### OpenAEV environment variables
94
+
95
+
Below are the parameters you'll need to set for OpenAEV:
0 commit comments