curl --request PUT \
--url https://api.coralogix.com/mgmt/openapi/4/enrichment-rules/enrichment-rules/v1 \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"enrichmentFields": [
{
"enrichedFieldName": "<string>",
"fieldName": "<string>",
"selectedColumns": [
"<string>"
]
}
],
"enrichmentType": {
"geoIp": {
"withAsn": true
}
},
"requestEnrichments": [
{
"enrichmentType": {
"geoIp": {
"withAsn": true
}
},
"fieldName": "sourceIPs",
"enrichedFieldName": "<string>",
"selectedColumns": [
"<string>"
]
}
]
}
'