config/sysinv/sysinv/sysinv/sysinv/cert_alarm
Karla Felix cea00af70d Alarm 500.200 "expiring soon" not updating after change
This issue was been caused because when renewing the certificate
it wasn't updating fields, like "Reason Text". To fix it,
this change will delete the expiring soon alarm and replace it by
with the info of the new certificate, if it is necessary raising a new
expiring soon alarm.

Test Plan:

PASS: Renew a certificate with "expiring soon" alarm, and verify if the
      time registered in 'cert-alarm.log' and "Reason Text" in fm-alarm
      list match with the time "Not After" in the certificate
      information.
PASS: Renew a expired certificate with a certificate with less than 3
      days to expire and verify if the expired alarm is deleted
      and replaced by the "expiring soon" alarm.
PASS: Delete the certificate of the "expiring soon" alarm and check if
      the alarm is deleted.

Closes-Bug: 1997037
Change-Id: I0f724566de10e66ab95f6ba862836f1fc4e49f32
Signed-off-by: Karla Felix <karla.karolinenogueirafelix@windriver.com>
2022-11-18 18:01:24 +00:00
..
__init__.py Add cert-alarm service 2021-07-22 08:29:23 -04:00
audit.py Alarm 500.200 "expiring soon" not updating after change 2022-11-18 18:01:24 +00:00
certificate_alarm_manager.py Cert-Alarm audit 2021-09-24 11:44:40 -04:00
fm.py Refactor code to update entity_id in cert-alarm 2021-11-18 10:36:38 -05:00
service.py update license statements 2022-06-28 13:56:11 +00:00
utils.py Eliminate references to old cert manager versions 2022-04-25 15:58:58 -04:00