Lambda that updates slack and a target step function
This function's sole purpose is to format the results of the LDAP Query function combined with this project's step function task token into an actionable message.
No requirements.
Name |
Description |
Type |
Default |
Required |
artifacts_bucket_name |
Name of the artifacts bucket |
string |
n/a |
yes |
invoke_base_url |
Base URL of the api gateway endpoint to pass to slack for approve/deny actions |
string |
n/a |
yes |
sfn_activity_arn |
ARN of the state machine activity to query for a taskToken |
string |
n/a |
yes |
slack_api_token |
API token used by the slack client |
string |
n/a |
yes |
slack_channel_id |
Channel that the slack notifier will post to |
string |
n/a |
yes |
days_since_pwdlastset |
Number of days since the pwdLastSet ldap attribute has been updated. This metric is used to disable the target ldap object. |
number |
120 |
no |
filter_prefixes |
(Optional) List of three letter user name prefixes to filter out of the user search results |
list(string) |
[] |
no |
log_level |
(Optional) Log level of the lambda output, one of: Debug, Info, Warning, Error, or Critical |
string |
"Info" |
no |
project_name |
Name of the project |
string |
"ldap-maintainer" |
no |
tags |
Map of tags to assign to this module's resources |
map(string) |
{} |
no |
timezone |
(Optional)Timezone that the slack notifications will be timestamped with |
string |
"US/Eastern" |
no |