
AWS Log
#Network & Cloud#Cloud Security
Python library for building Docker images with advanced features.
Display the History and Changes of AWS Resource Configurations
Display the history and changes between different configuration versions of AWS resources. This utilizes AWS Config to retrieve the configuration history of resources, and it only functions with resources that are supported by AWS Config.
Installation Instructions
To install the package, run the following command:
pip install awslog
Usage:
Ensure that your AWS credentials are configured correctly.
You can verify this by using the AWS CLI with the command: aws sts get-caller-identity
Requirements:
1. Keep all technical terms and concepts exactly as they are.
2. Make the language clearer and more accessible.
3. Maintain the same content structure and format.
4. Do not add or remove any information.
5. Aim for a similar length; if the content is very short, feel free to add a little more.
Reporting Information About Your CLI Session
This tool should provide details about your current CLI session without generating any errors. Ensure that AWS Config is properly configured to log any changes in the configuration of your resources.
CLI usage:
awslog [-h] [--type TYPE] [--number NUMBER] [--before BEFORE] [--after AFTER] [--deleted] [--context CONTEXT] [--no-color] name
Positional arguments:
name
The name or ID of the resource you wish to query.
Optional arguments:
-h, --help
Display this help message and exit.
--type TYPE, -t TYPE
Specify the type of resource.
Types of Resources to Query
The type of resource you want to query.
Here is a list of supported resource types: https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html
--number NUMBER, -n NUMBER
Specifies the number of history items to display.
--before BEFORE, -b BEFORE
Displays changes that are more recent than the specified date and time.
--after AFTER, -a AFTER
Displays changes that are older than the specified date and time.
--deleted
Displays deleted resources.
--context CONTEXT
Displays the context of the changes.
--no-color
Disables color output.