Geo Location in Alert Evidence breaks Json structure #3056
Labels
status:waiting-for-triage
An issue that is yet to be reviewed or assigned
type:bug
A broken experience
Describe the bug
When retrieving alerts from the Security endpoint. The following Security.ipEvidence breaks the Json Structure. As the longtitude contains a comma and is not quoted.
{
"@odata.type": "#microsoft.graph.security.ipEvidence",
"ipAddress": "52.163.67.31",
"countryLetterCode": "SG",
"location": {
"countryName": "Singapore",
"state": "Central Singapore",
"city": "Singapore",
"longitude": 1,038518E+07,
"latitude": 128795
},
Expected behavior
Quote the longitude value or handle longtitude as another data type
How to reproduce
Create a json alert object, including the following information
{
"@odata.type": "#microsoft.graph.security.ipEvidence",
"ipAddress": "52.163.67.31",
"countryLetterCode": "SG",
"location": {
"countryName": "Singapore",
"state": "Central Singapore",
"city": "Singapore",
"longitude": 1,038518E+07,
"latitude": 128795
},
SDK Version
Microsoft.Graph.Security 2
Latest version known to work for scenario above?
2.20.0 and 2.23.0
Known Workarounds
Replacing the Longtitude value manually if it exists
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: