Skip to content

Commit

Permalink
have the right version
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-git committed Mar 11, 2024
1 parent 13fdd2e commit 7f31f2c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tracer/src/Datadog.Trace/AppSec/Security.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,11 @@ private ApplyDetails[] UpdateFromRcm(Dictionary<string, List<RemoteConfiguration
_configurationStatus.ApplyStoredFiles();
InitWafAndInstrumentations(true);
rcmUpdateError = _wafInitResult?.ErrorMessage;
if (_wafInitResult?.RuleFileVersion is not null)
{
WafRuleFileVersion = _wafInitResult.RuleFileVersion;
}

_configurationStatus.IncomingUpdateState.SecurityStateChange = false;
}
}
Expand Down

0 comments on commit 7f31f2c

Please sign in to comment.