cisagov / con-pca-api

API Docker Container for Con-PCA
Creative Commons Zero v1.0 Universal
7 stars 0 forks source link

Feature: Set dirty stats to true on initialize #833

Closed izzy64 closed 1 year ago

izzy64 commented 1 year ago

๐Ÿ—ฃ Description

Related to Jira Ticket: https://cset.atlassian.net/browse/CPD-986

On initialize, reset dirty stats to true, so that data can be recalculated to match with new processes.

๐Ÿ’ญ Motivation and context

Changes to the way the time intervals stats operate require them to be recalculated, otherwise the time intervals chart will not render for the cycle report.

๐Ÿงช Testing

Tested Locally.

โœ… Pre-approval checklist

lgtm-com[bot] commented 1 year ago

This pull request introduces 1 alert when merging 876b59309f362a830f3e8309f64c5372ac2cfa25 into 909e70e88cae15fc7f07158b2aa0655d87dd3ad8 - view on LGTM.com

new alerts:

Heads-up: LGTM.com's PR analysis will be disabled on the 5th of December, and LGTM.com will be shut down โป completely on the 16th of December 2022. Please enable GitHub code scanning, which uses the same CodeQL engine :gear: that powers LGTM.com. For more information, please check out our post on the GitHub blog.