File tree Expand file tree Collapse file tree 16 files changed +32
-37
lines changed
java/io/dongtai/iast/agent
src/main/java/io/dongtai/api
src/main/java/io/dongtai/iast/core/utils Expand file tree Collapse file tree 16 files changed +32
-37
lines changed Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >io.dongtai.iast</groupId >
99 <artifactId >iast</artifactId >
10- <version >1.7.2 </version >
10+ <version >1.7.4 </version >
1111 </parent >
1212 <artifactId >dongtai-agent</artifactId >
1313 <name >dongtai-agent</name >
4848 <dependency >
4949 <groupId >io.dongtai.iast</groupId >
5050 <artifactId >dongtai-log</artifactId >
51- <version >1.7.2 </version >
51+ <version >${dongtai.version} </version >
5252 </dependency >
5353 <dependency >
5454 <groupId >io.dongtai.iast</groupId >
Original file line number Diff line number Diff line change 4455 */
66public class Constant {
7- public static final String AGENT_VERSION_VALUE = "v1.7.2 " ;
7+ public static final String AGENT_VERSION_VALUE = "v1.7.4 " ;
88 public static final String LANGUAGE = "JAVA" ;
99
1010 public final static String API_AGENT_REGISTER = "/api/v1/agent/register" ;
Original file line number Diff line number Diff line change 1- iast.name =dongtai-Enterprise 1.7.2
1+ iast.name =dongtai-Enterprise 1.7.4
22iast.response.name =dongtai
3- iast.response.value =1.7.2
3+ iast.response.value =1.7.4
44iast.server.url =https://iast.io/openapi
55iast.server.token =39133a96f5735c253edd908078846c1051824edc
66iast.allhook.enable =false
Original file line number Diff line number Diff line change 11# iast.properties file example
2- iast.name=dongtai-Enterprise 1.7.2
2+ iast.name=dongtai-Enterprise 1.7.4
33iast.response.name=dongtai
4- iast.response.value=1.7.2
4+ iast.response.value=1.7.4
55iast.server.url=https://iast.io/openapi
66iast.server.token=39133a96f5735c253edd908078846c1051824edc
77iast.allhook.enable=false
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >iast</artifactId >
77 <groupId >io.dongtai.iast</groupId >
8- <version >1.7.2 </version >
8+ <version >1.7.4 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
3939 <dependency >
4040 <groupId >cn.huoxian.iast</groupId >
4141 <artifactId >dongtai-spring-api</artifactId >
42- <version >1.7.2 </version >
42+ <version >${dongtai.version} </version >
4343 </dependency >
4444 <dependency >
4545 <groupId >io.dongtai.iast</groupId >
4646 <artifactId >dongtai-log</artifactId >
47- <version >1.7.2 </version >
47+ <version >${dongtai.version} </version >
4848 </dependency >
4949 </dependencies >
5050
Original file line number Diff line number Diff line change 99
1010import java .io .IOException ;
1111import java .io .PrintWriter ;
12- import java .util .Collection ;
13- import java .util .HashMap ;
14- import java .util .Map ;
12+ import java .util .*;
1513
1614/**
1715 * @author owefsad
@@ -23,7 +21,7 @@ public class JakartaResponseWrapper extends HttpServletResponseWrapper implement
2321
2422 public JakartaResponseWrapper (HttpServletResponse response ) {
2523 super (response );
26- response .addHeader ("DongTai" , "v1.7.2 " );
24+ response .addHeader ("DongTai" , "v1.7.4 " );
2725 }
2826
2927 @ Override
Original file line number Diff line number Diff line change 66import javax .servlet .ServletOutputStream ;
77import javax .servlet .http .HttpServletResponse ;
88import javax .servlet .http .HttpServletResponseWrapper ;
9- import java .io .IOException ;
10- import java .io .OutputStreamWriter ;
11- import java .io .PrintWriter ;
12- import java .util .Collection ;
13- import java .util .HashMap ;
14- import java .util .Map ;
9+ import java .io .*;
10+ import java .util .*;
1511
1612public class ServletResponseWrapper extends HttpServletResponseWrapper implements DongTaiResponse {
1713
@@ -21,7 +17,7 @@ public class ServletResponseWrapper extends HttpServletResponseWrapper implement
2117
2218 public ServletResponseWrapper (HttpServletResponse response ) {
2319 super (response );
24- response .addHeader ("DongTai" , "v1.7.2 " );
20+ response .addHeader ("DongTai" , "v1.7.4 " );
2521 }
2622
2723 private String getLine () {
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >iast</artifactId >
77 <groupId >io.dongtai.iast</groupId >
8- <version >1.7.2 </version >
8+ <version >1.7.4 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >io.dongtai.iast</groupId >
99 <artifactId >iast</artifactId >
10- <version >1.7.2 </version >
10+ <version >1.7.4 </version >
1111 </parent >
1212 <artifactId >dongtai-core</artifactId >
1313 <name >dongtai-core</name >
159159 <dependency >
160160 <groupId >io.dongtai.iast</groupId >
161161 <artifactId >dongtai-spy</artifactId >
162- <version >1.7.2 </version >
162+ <version >${dongtai.version} </version >
163163 <scope >provided</scope >
164164 </dependency >
165165
224224 <dependency >
225225 <groupId >io.dongtai.iast</groupId >
226226 <artifactId >dongtai-log</artifactId >
227- <version >1.7.2 </version >
227+ <version >${dongtai.version} </version >
228228 </dependency >
229229 <dependency >
230230 <groupId >io.dongtai.iast</groupId >
Original file line number Diff line number Diff line change 4455 */
66public class Constants {
7- public static final String AGENT_VERSION_VALUE = "v1.7.2 " ;
7+ public static final String AGENT_VERSION_VALUE = "v1.7.4 " ;
88 public final static String API_REPORT_UPLOAD = "/api/v1/report/upload" ;
99 public final static String SERVER_ADDRESS = "/api/v1/agent/update" ;
1010 public final static String API_HOOK_PROFILE = "/api/v1/profiles" ;
You can’t perform that action at this time.
0 commit comments