Skip to content

Commit 5b8c05b

Browse files
committed
update readme to reflect that LAST_USED_AGE is optional
1 parent 6c97bab commit 5b8c05b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Sleuth runs periodically, normally once a day in the middle of business hours. S
1414

1515
- Inspect each Access Key based on:
1616
- set creation age threshold (default 90 days)
17-
- set last accessed age threshold (default 30 days)
17+
- set last accessed age threshold (optional, set to creation age threshold as default)
1818
- If Access Key is approaching threshold will ping user with a reminder to cycle key
1919
- If key age is at or over threshold will disable Access Key along with a final notice
2020

@@ -106,7 +106,7 @@ The behavior can be configured by environment variables.
106106
| ENABLE_AUTO_EXPIRE | Must be set to `true` for key disable action |
107107
| EXPIRATION_AGE | Age of key creation (in days) to disable a AWS key |
108108
| WARNING_AGE | Age of key creation (in days) to send notifications, must be lower than EXPIRATION_AGE |
109-
| LAST_USED_AGE | Age of last key usage (in days) to send notifications, must be lower than or equal to EXPIRATION_AGE |
109+
| LAST_USED_AGE | OPTIONAL, defaults to EXPIRATION_AGE, Age of last key usage (in days) to send notifications, must be lower than or equal to EXPIRATION_AGE |
110110
| MSG_TITLE | Title of the notification message |
111111
| MSG_TEXT | Instructions on key rotation |
112112
| SLACK_URL | Incoming webhook to send notifications to |

0 commit comments

Comments
 (0)