Skip to content

Aik 3171 : Get context from WSGI to an Agent #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 33 commits into from
Jul 18, 2024

Create a global variable in context and add set and get

f340824
Select commit
Loading
Failed to load commit list.
Merged

Aik 3171 : Get context from WSGI to an Agent #10

Create a global variable in context and add set and get
f340824
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jul 18, 2024 in 1s

79.37% of diff hit (target 75.29%)

View this Pull Request on Codecov

79.37% of diff hit (target 75.29%)

Annotations

Check warning on line 22 in aikido_firewall/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/__init__.py#L21-L22

Added lines #L21 - L22 were not covered by tests

Check warning on line 25 in aikido_firewall/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/__init__.py#L25

Added line #L25 was not covered by tests

Check warning on line 28 in aikido_firewall/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/__init__.py#L27-L28

Added lines #L27 - L28 were not covered by tests

Check warning on line 22 in aikido_firewall/agent/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/agent/__init__.py#L19-L22

Added lines #L19 - L22 were not covered by tests

Check warning on line 33 in aikido_firewall/agent/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/agent/__init__.py#L29-L33

Added lines #L29 - L33 were not covered by tests

Check warning on line 35 in aikido_firewall/agent/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/agent/__init__.py#L35

Added line #L35 was not covered by tests

Check warning on line 44 in aikido_firewall/agent/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/agent/__init__.py#L44

Added line #L44 was not covered by tests

Check warning on line 56 in aikido_firewall/agent/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/agent/__init__.py#L55-L56

Added lines #L55 - L56 were not covered by tests

Check warning on line 61 in aikido_firewall/agent/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/agent/__init__.py#L58-L61

Added lines #L58 - L61 were not covered by tests

Check warning on line 68 in aikido_firewall/agent/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/agent/__init__.py#L68

Added line #L68 was not covered by tests

Check warning on line 74 in aikido_firewall/agent/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/agent/__init__.py#L74

Added line #L74 was not covered by tests

Check warning on line 6 in aikido_firewall/context/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/context/__init__.py#L6

Added line #L6 was not covered by tests

Check warning on line 9 in aikido_firewall/context/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/context/__init__.py#L9

Added line #L9 was not covered by tests

Check warning on line 11 in aikido_firewall/context/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/context/__init__.py#L11

Added line #L11 was not covered by tests

Check warning on line 14 in aikido_firewall/context/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/context/__init__.py#L14

Added line #L14 was not covered by tests

Check warning on line 28 in aikido_firewall/context/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/context/__init__.py#L20-L28

Added lines #L20 - L28 were not covered by tests

Check warning on line 31 in aikido_firewall/context/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/context/__init__.py#L30-L31

Added lines #L30 - L31 were not covered by tests

Check warning on line 45 in aikido_firewall/context/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/context/__init__.py#L45

Added line #L45 was not covered by tests

Check warning on line 52 in aikido_firewall/context/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/context/__init__.py#L52

Added line #L52 was not covered by tests

Check warning on line 17 in aikido_firewall/helpers/build_route_from_url_test.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/helpers/build_route_from_url_test.py#L17

Added line #L17 was not covered by tests

Check warning on line 40 in aikido_firewall/helpers/looks_like_a_secret.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/helpers/looks_like_a_secret.py#L40

Added line #L40 was not covered by tests

Check warning on line 15 in aikido_firewall/helpers/try_parse_url_path.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/helpers/try_parse_url_path.py#L14-L15

Added lines #L14 - L15 were not covered by tests

Check warning on line 9 in aikido_firewall/sinks/pymysql.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/sinks/pymysql.py#L9

Added line #L9 was not covered by tests

Check warning on line 30 in aikido_firewall/sinks/pymysql.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/sinks/pymysql.py#L29-L30

Added lines #L29 - L30 were not covered by tests

Check warning on line 8 in aikido_firewall/sources/flask.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

aikido_firewall/sources/flask.py#L8

Added line #L8 was not covered by tests