Closed alfredomagallon closed 1 year ago
az sentinel data-connector list -g <rg-name> -w <workspace-name>
...
{
"dataTypes": {
"indicators": {
"state": "enabled"
}
},
"etag": "<etag>",
"id": "/subscriptions/<sub-id>/resourceGroups/<rg-name>/providers/Microsoft.OperationalInsights/workspaces/<workspace-name>/providers/Microsoft.SecurityInsights/dataConnectors/threat_intelligence_connector",
"kind": "ThreatIntelligence",
"name": "threat_intelligence_connector",
"resourceGroup": "<rg-name>",
"tenantId": "<tenant-id>",
**"tipLookbackPeriod": "1/1/0001 12:00:00 AM +00:00",**
"type": "Microsoft.SecurityInsights/dataConnectors"
},
Hi @alfredomagallon, sorry for my late reply.
It is because it get a date not well formatted, there is an issue on azure-rest-api-specs
(https://github.com/Azure/azure-rest-api-specs/issues/21487).
For any further questions, please leave comments.
Thanks.
Hi @alfredomagallon
A PR (#20390) has been submitted to add workaround for this, once it merged & released it will be available.
Thanks!
This functionality has been released in v3.43.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.1.5
AzureRM Provider Version
3.35.0
Affected Resource(s)/Data Source(s)
azurerm_sentinel_data_connector_threat_intelligence
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
As the data connector is already setup and running, the terraform code should have just pass without doing nothing.
Actual Behaviour
It errored with the message above
Steps to Reproduce
Seems like the problem is that the field
tipLookbackPeriod
in the data connector changed from valuenull
to value1/1/0001 12:00:00 AM +00:00
and the provider is not able to cope with that value.We reproduce it with any of our sentinels that have this Data Connector connected with the simple code above (that creates the resource if it does not exist and just should pass when it already exists)
Important Factoids
No response
References
No response