This package offers a comprehensive array of features designed to identify security risks and vulnerabilities associated
Project description
pyawsopstoolkit_security
The pyawsopstoolkit_security package offers a comprehensive array of features designed to identify security risks and vulnerabilities associated with AWS (Amazon Web Services), such as IAM roles without permissions boundaries. Meticulously engineered, these features are finely tuned to meet the unique demands of the expansive AWS ecosystem, encompassing a diverse spectrum of aspects.
Getting Started
Ready to supercharge your AWS operations? Let's get started with pyawsopstoolkit_security!
Installation
Install pyawsopstoolkit_security via pip:
pip install pyawsopstoolkit_security
Documentation
iam
This pyawsopstoolkit_security.iam subpackage offers features designed to identify security risks and vulnerabilities associated with AWS (Amazon Web Services) Identity and Access Management (IAM).
Role
A class representing security risks and vulnerabilities related to IAM roles.
Constructors
Role(session: Session) -> None
: Initializes a new Role object.
Methods
roles_without_permissions_boundary() -> list
: Retrieves a list of IAM roles lacking associated permissions boundaries, facilitating targeted risk assessment and mitigation.
Properties
session
: Anpyawsopstoolkit.session.Session
object providing access to AWS services.
Usage
from pyawsopstoolkit.session import Session
from pyawsopstoolkit_security.iam import Role
# Create a session using default profile
session = Session(profile_name='default')
# Initialize IAM Role object
role_object = Role(session=session)
# Retrieve IAM roles without permissions boundaries
roles_without_boundaries = role_object.roles_without_permissions_boundary()
# Print the list of roles without permissions boundaries
print(roles_without_boundaries)
References
User
A class representing security risks and vulnerabilities related to IAM users.
Constructors
User(session: Session) -> None
: Initializes a new User object.
Methods
users_without_permissions_boundary() -> list
: Retrieves a list of IAM users lacking associated permissions boundaries, facilitating targeted risk assessment and mitigation.
Properties
session
: Anpyawsopstoolkit.session.Session
object providing access to AWS services.
Usage
from pyawsopstoolkit.session import Session
from pyawsopstoolkit_security.iam import User
# Create a session using default profile
session = Session(profile_name='default')
# Initialize IAM User object
user_object = User(session=session)
# Retrieve IAM users without permissions boundaries
users_without_boundaries = user_object.users_without_permissions_boundary()
# Print the list of users without permissions boundaries
print(users_without_boundaries)
References
License
Please refer to the MIT License within the project for more information.
Contributing
We welcome contributions from the community! Whether you have ideas for new features, bug fixes, or enhancements, feel free to open an issue or submit a pull request on GitHub.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file pyawsopstoolkit_security-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pyawsopstoolkit_security-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f136438e21e35b7b6cefab42367f5749fe1cf2a4f1113d742bc86be65f44648 |
|
MD5 | 2692318e32929314d500e74c8c028580 |
|
BLAKE2b-256 | 8454af985173474700b8c3764e2bf337b4b1a801d536b2b8a0878a5638dffc1b |