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
* When the github action runs, it automatically triggers openapi to pull the latest agent package [#113](https://github.com/HXSecurity/DongTai-agent-python/pull/113)
Copy file name to clipboardExpand all lines: README.md
+16-15Lines changed: 16 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,26 +7,28 @@
7
7
8
8
## Project Introduction
9
9
10
-
Dongtai-agent-python is DongTai Iast's data acquisition tool for Python applications. In a Python application with the
11
-
iast agent added, the required data is collected by rewriting class bytecode, and then the data is sent to
12
-
dongtai-OpenAPI service, and then the cloud engine processes the data to determine whether there are security holes.
10
+
DongTai-agent-python is DongTai IAST's data acquisition tool for Python applications. In a Python application, the required data is collected through patching methods and functions, sent to the DongTai OpenAPI service, and then the cloud engine processes the data to determine if there are security vulnerabilities.
13
11
14
12
DongTai-agent-python
15
13
16
-
-`dongtai_agent_python/config.json` For configuration DongTai-openapi Url、Token、Web-ProjectName。
17
-
-`dongtai_agent_python/cli` Control the hot update of the agent version。
14
+
-`dongtai_agent_python/api/` Report the collected data to the DongTai OpenAPI service.
15
+
-`dongtai_agent_python/assess/` Hook python methods according to the cloud strategy.
16
+
-`dongtai_agent_python/assess_ext/` Hook cpython underlying methods according to cloud strategy.
17
+
-`dongtai_agent_python/cli/` Control the hot update of the agent version.
18
+
-`dongtai_agent_python/context/` Request context and context tracker.
18
19
-`dongtai_agent_python/middleware/` Used to access different python frameworks, currently supports Django and Flask,
19
-
both of which are introduced in the form of middleware。
20
-
-`dongtai_agent_python/assess/` Hook the underlying method of python according to the cloud strategy。
21
-
-`dongtai_agent_python/report/` Report the collected data of the agent to the DongTai-openapi service。
20
+
both of which are introduced in the form of middleware.
21
+
-`dongtai_agent_python/policy/` Strategy rules and tainted data processing.
> URL and token from the hole state IAST-web page (eg: https://iast-test.huoxian.cn/deploy) > python-agent deployment page,Obtained from the shell command of downloading agent,Replace the url domain name and token respectively
69
+
> URL and token from the hole state IAST-web page (eg: https://iast-test.huoxian.cn/deploy) > python-agent deployment page,Obtained from the shell command of downloading agent,Replace the url domain name and token respectively
69
70
70
71
4. The project is packaged and executed in the root directory of the agent project
0 commit comments