Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail on not utilizing NoEcho for Password in AWS::DirectoryService::MicrosoftAD #235

Merged

Conversation

phelewski
Copy link
Contributor

This takes care of Issue #66

This creates a new Failing rule whenever the Password for Directory Service Microsoft Active Directory is set in plaintext either in the resource itself, or as a default from a parameter. If Password for Directory Service Microsoft Active Directory is specified, then it needs to be set as a parameter with NoEcho.

F36 DirectoryService::MicrosoftAD password must be Ref to NoEcho Parameter. Default credentials are not recommended

# Rule class to fail on DirectoryService::MicrosoftAD password in template
class DirectoryServiceMicrosoftADPasswordRule < BaseRule
def rule_text
'DirectoryService::MicrosoftAD password must be Ref to NoEcho Parameter. ' \
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment as for DMS

@jesseadams jesseadams merged commit 19b4a29 into master Jun 24, 2019
@jesseadams jesseadams deleted the feature/check_for_password_on_directory_service_microsoft_ad branch June 24, 2019 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants