Skip to main content

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: An pyawsopstoolkit.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: An pyawsopstoolkit.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.

Release files for pyawsopstoolkit-security 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pyawsopstoolkit-security 0.1.0
File Interpreter ABI Platform
pyawsopstoolkit_security-0.1.0-py3-none-any.whl Python 3 none any Details

Release files / pyawsopstoolkit_security-0.1.0-py3-none-any.whl

Download URL pyawsopstoolkit_security-0.1.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f136438e21e35b7b6cefab42367f5749fe1cf2a4f1113d742bc86be65f44648
BLAKE2b-256 checksum
How to use checksums
8454af985173474700b8c3764e2bf337b4b1a801d536b2b8a0878a5638dffc1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page