Skip to content

Commit bbf97ba

Browse files
committed
another round
1 parent fc8c999 commit bbf97ba

146 files changed

Lines changed: 477 additions & 756 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

tracer/test/snapshots/Iast.CommandInjection.AspNetMvc5.IastDisabled.verified.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
http.useragent: Mistake Not...,
1818
language: dotnet,
1919
runtime-id: Guid_1,
20-
span.kind: server,
21-
_dd.tags.process: VALUE
20+
span.kind: server
2221
},
2322
Metrics: {
2423
process_id: 0,

tracer/test/snapshots/Iast.CommandInjection.AspNetMvc5.IastEnabled.verified.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
"location": {
2929
"spanId": XXX,
3030
"path": "Samples.Security.AspNetCore5.Controllers.IastController",
31-
"method": "ExecuteCommandInternal",
32-
_dd.tags.process: VALUE
31+
"method": "ExecuteCommandInternal"
3332
},
3433
"evidence": {
3534
"valueParts": [

tracer/test/snapshots/Iast.CookieTainting.AspNetMvc5.IastDisabled.verified.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
http.useragent: Mistake Not...,
1818
language: dotnet,
1919
runtime-id: Guid_1,
20-
span.kind: server,
21-
_dd.tags.process: VALUE
20+
span.kind: server
2221
},
2322
Metrics: {
2423
process_id: 0,

tracer/test/snapshots/Iast.CookieTainting.AspNetMvc5.IastEnabled.verified.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
"location": {
2929
"spanId": XXX,
3030
"path": "Samples.Security.AspNetCore5.Controllers.IastController",
31-
"method": "ExecuteCommandInternal",
32-
_dd.tags.process: VALUE
31+
"method": "ExecuteCommandInternal"
3332
},
3433
"evidence": {
3534
"valueParts": [

tracer/test/snapshots/Iast.EmailHtmlInjection.AspNetMvc5.IastDisabled.verified.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
http.useragent: Mistake Not...,
1818
language: dotnet,
1919
runtime-id: Guid_1,
20-
span.kind: server,
21-
_dd.tags.process: VALUE
20+
span.kind: server
2221
},
2322
Metrics: {
2423
process_id: 0,
@@ -47,7 +46,8 @@
4746
http.url: http://localhost:00000/Iast/SendEmail?email=alice@aliceland.com&name=Alice&lastname=Stevens&escape=false,
4847
http.useragent: Mistake Not...,
4948
language: dotnet,
50-
span.kind: server
49+
span.kind: server,
50+
_dd.tags.process: VALUE
5151
}
5252
}
5353
]

tracer/test/snapshots/Iast.EmailHtmlInjection.AspNetMvc5.IastEnabled.verified.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
"location": {
2929
"spanId": XXX,
3030
"path": "Samples.Security.AspNetCore5.Controllers.IastController",
31-
"method": "SendMailAux",
32-
_dd.tags.process: VALUE
31+
"method": "SendMailAux"
3332
},
3433
"evidence": {
3534
"valueParts": [
@@ -95,7 +94,8 @@
9594
http.url: http://localhost:00000/Iast/SendEmail?email=alice@aliceland.com&name=Alice&lastname=Stevens&escape=false,
9695
http.useragent: Mistake Not...,
9796
language: dotnet,
98-
span.kind: server
97+
span.kind: server,
98+
_dd.tags.process: VALUE
9999
}
100100
}
101101
]

tracer/test/snapshots/Iast.ExecuteCommandFromHeader.AspNetMvc5.IastDisabled.verified.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
http.useragent: Mistake Not...,
1818
language: dotnet,
1919
runtime-id: Guid_1,
20-
span.kind: server,
21-
_dd.tags.process: VALUE
20+
span.kind: server
2221
},
2322
Metrics: {
2423
process_id: 0,

tracer/test/snapshots/Iast.ExecuteCommandFromHeader.AspNetMvc5.IastEnabled.verified.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
"location": {
2929
"spanId": XXX,
3030
"path": "Samples.Security.AspNetCore5.Controllers.IastController",
31-
"method": "ExecuteCommandInternal",
32-
_dd.tags.process: VALUE
31+
"method": "ExecuteCommandInternal"
3332
},
3433
"evidence": {
3534
"valueParts": [

tracer/test/snapshots/Iast.HeaderInjection.AspNetMvc.NotVuln.origin.verified.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
language: dotnet,
1919
runtime-id: Guid_1,
2020
span.kind: server,
21-
_dd.iast.enabled: 1,
22-
_dd.tags.process: VALUE
21+
_dd.iast.enabled: 1
2322
},
2423
Metrics: {
2524
process_id: 0,
@@ -48,7 +47,8 @@
4847
http.url: http://localhost:00000/Iast/HeaderInjection?useValueFromOriginHeader=True,
4948
http.useragent: Mistake Not...,
5049
language: dotnet,
51-
span.kind: server
50+
span.kind: server,
51+
_dd.tags.process: VALUE
5252
}
5353
}
5454
]

tracer/test/snapshots/Iast.HeaderInjection.AspNetMvc.NotVuln.verified.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
language: dotnet,
1919
runtime-id: Guid_1,
2020
span.kind: server,
21-
_dd.iast.enabled: 1,
22-
_dd.tags.process: VALUE
21+
_dd.iast.enabled: 1
2322
},
2423
Metrics: {
2524
process_id: 0,
@@ -48,7 +47,8 @@
4847
http.url: http://localhost:00000/Iast/HeaderInjection?useValueFromOriginHeader=False,
4948
http.useragent: Mistake Not...,
5049
language: dotnet,
51-
span.kind: server
50+
span.kind: server,
51+
_dd.tags.process: VALUE
5252
}
5353
}
5454
]

0 commit comments

Comments
 (0)