policyuniverse | Parse and Process AWS IAM Policies, Statements, ARNs, and wildcards | Identity Management library

 by   Netflix-Skunkworks Python Version: 1.5.1.20231109 License: Apache-2.0

kandi X-RAY | policyuniverse Summary

kandi X-RAY | policyuniverse Summary

policyuniverse is a Python library typically used in Security, Identity Management applications. policyuniverse has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has high support. You can install using 'pip install policyuniverse' or download it from GitHub, PyPI.

This package provides classes to parse AWS IAM and Resource Policies. Additionally, this package can expand wildcards in AWS Policies using permissions obtained from the AWS Policy Generator. See the Service and Permissions data. This package can also minify an AWS policy to help you stay under policy size limits. Avoid doing this if possible, as it creates ugly policies. .
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              policyuniverse has a highly active ecosystem.
              It has 370 star(s) with 55 fork(s). There are 122 watchers for this library.
              There were 1 major release(s) in the last 12 months.
              There are 8 open issues and 23 have been closed. On average issues are closed in 148 days. There are 5 open pull requests and 0 closed requests.
              OutlinedDot
              It has a negative sentiment in the developer community.
              The latest version of policyuniverse is 1.5.1.20231109

            kandi-Quality Quality

              policyuniverse has 0 bugs and 34 code smells.

            kandi-Security Security

              policyuniverse has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              policyuniverse code analysis shows 0 unresolved vulnerabilities.
              There are 9 security hotspots that need review.

            kandi-License License

              policyuniverse is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              policyuniverse releases are not available. You will need to build from source code and install.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              policyuniverse saves you 799 person hours of effort in developing the same functionality from scratch.
              It has 2169 lines of code, 152 functions and 25 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed policyuniverse and discovered the below as its top functions. This is intended to give you an instant insight into policyuniverse implemented functionality, and help decide if they suit your requirements.
            • Checks if the rule is internet accessible
            • Check if the condition is internet accessible
            • Return whether the condition entry is internet accessible
            • Determine if the ARN is valid
            • Minimize a policy
            • Return a set of all denied prefixes from the desired actions
            • Check if a permission is shorter than minchars
            • Minimize the given Statement
            • Gather data from the console
            • Get the signin token
            • Call phantomjs
            • Get AWS credentials
            • Serialize the response to JSON
            • Calculate action groups
            • Parse service data
            • Parse service action data
            • Return a list of condition entries
            • Return True if obj is an array
            • Return a set of principal principals
            • Add or extend value to structure
            • Check if a service is available
            • Prints updated actions
            • Builds the action category from the service data
            • Build permissions from service data
            • The set of resources in the statement
            • Return the set of Action s actions
            Get all kandi verified functions for this library.

            policyuniverse Key Features

            No Key Features are available at this moment for policyuniverse.

            policyuniverse Examples and Code Snippets

            No Code Snippets are available at this moment for policyuniverse.

            Community Discussions

            QUESTION

            AWS policy statement returning no conditions when explicit conditions are set
            Asked 2020-Jan-04 at 00:53

            I created a policy out of a policy document json and I'm trying to get the condition_entries from each statement. In the following example I only have one statement and one condition, but for some reasons I'm getting an empty list returned. What am I doing wrong?

            ...

            ANSWER

            Answered 2020-Jan-04 at 00:53

            It looks like iam:ResourceTag/status is not working.

            The following does not work:

            Source https://stackoverflow.com/questions/59586253

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install policyuniverse

            You can install using 'pip install policyuniverse' or download it from GitHub, PyPI.
            You can use policyuniverse like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install policyuniverse

          • CLONE
          • HTTPS

            https://github.com/Netflix-Skunkworks/policyuniverse.git

          • CLI

            gh repo clone Netflix-Skunkworks/policyuniverse

          • sshUrl

            git@github.com:Netflix-Skunkworks/policyuniverse.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Identity Management Libraries

            vault

            by hashicorp

            k9s

            by derailed

            keepassxc

            by keepassxreboot

            keycloak

            by keycloak

            uuid

            by uuidjs

            Try Top Libraries by Netflix-Skunkworks

            Scumblr

            by Netflix-SkunkworksRuby

            stethoscope

            by Netflix-SkunkworksPython

            sleepy-puppy

            by Netflix-SkunkworksJavaScript

            sketchy

            by Netflix-SkunkworksJavaScript

            diffy

            by Netflix-SkunkworksPython