ssh-restrict | SSH ForceCommand with argument support | SSH Utils library
kandi X-RAY | ssh-restrict Summary
kandi X-RAY | ssh-restrict Summary
SSH ForceCommand with argument support
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ssh-restrict
ssh-restrict Key Features
ssh-restrict Examples and Code Snippets
Community Discussions
Trending Discussions on ssh-restrict
QUESTION
If I enable ssh-restricted rule in AWSConfig with remediation.
Can I close the ports with auto remediation and also send a email to the owner of the resource based on the tag information?
...ANSWER
Answered 2020-Aug-30 at 08:40When an AWS Config rule is determined as non compliant you can have CloudWatch Events/EventBridge perform an action such as trigger an SNS topic or invoke a Lambda.
If you have it trigger a Lambda, you will receive an event containing the resource(s) that are no longer compliant.
The Lambda function could access these resources tags via the AWS SDK which would grant the meta data over whom the email should be sent to. You could then take this information and send an email using a SMTP library to an external service (such as Amazon SES).
This Lambda could also remediate any issues via the AWS SDK.
Take a look at the How can I be notified when an AWS resource is non-compliant using AWS Config? page for some guidance on setting up the event part of this flow.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ssh-restrict
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page