Skip to content
This repository was archived by the owner on Dec 4, 2018. It is now read-only.
This repository was archived by the owner on Dec 4, 2018. It is now read-only.

Lack of key rotation false positive #81

@henshin

Description

@henshin

While using Scout2 I noticed that it reported that all my users lacked the key rotation enabled. I began dig a little, and it seems that the conditions that trigger this warning are:

  • account being active
  • the date difference between today's date and the date of the creation of the last key is higher than 90 days

However for one specific user I had this info:

Information
Creation date: 2016-02-16 00:30:42+00:00
(...)
Access Keys: 1
<key-ID-here>, Active, created on 2016-02-17 00:09:33+00:00

I ran the script on February 25th and Scout2 still reported this user as lack of key rotation.

It seems to be a bug, however I checked the code on ListAll.py file and the check between the dates seems to be correct, so I couldn't pinpoint the problem...

Is this a bug?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions