跳到主要内容
版本:1.8.7

PHP Agent

配置文件

参数表

参数名说明类型可选参数预设值
dongtai.project.name设置项目名称String名称保证唯一DemoPHPProject
dongtai.project.version设置项目版本String应用版本号V1.0.0
dongtai.project.auto_create自动创建项目Boolean0, 10
dongtai.iast.server.token切换 Agent 所属用户String洞态 IAST 用户 Token
dongtai.iast.server.url洞态 IAST 服务部署地址StringURL 格式
dongtai.iast.service.report.intervalAgent 存活心跳,数据上报间隔时间Integer5 - 120 (秒)15
dongtai.engine.nameAgent 名称StringAgent 名称dongtai-agent-php
dongtai.debug调试模式Boolean0, 10
dongtai.log.path指定日志文件所在目录String任意有读写权限的目录/var/log/dongtai_agent_php.log

用例

dongtai_agent_php.ini
extension=dongtai_agent_php.so

dongtai.debug=0
dongtai.iast.server.url=https://iast-test.huoxian.cn/openapi
dongtai.iast.server.token=926e831c8a6effa03eaee90d2caa6d336fb5a7dc
dongtai.iast.service.report.interval=15
dongtai.engine.name=61862e3851934b9d96f34808e6354a5a
dongtai.project.name=DemoPHPProject
dongtai.project.version=v1.0
dongtai.project.auto_create=0
dongtai.policy.path="/tmp/dongtai_agent_php-policy.json"
dongtai.log.path="/var/log/dongtai_agent_php.log"