Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ability to disable subject fields for VaaS #116

Merged
merged 4 commits into from May 17, 2022

Conversation

rvelaVenafi
Copy link
Contributor

The following fields can now be disabled when creating a Policy Specification on VaaS:

  • organization
  • organizational units
  • localities
  • states
  • countries

To do so, an array with an empty string must be passedd to the attribute, e.g.:
{
"subject": {
"orgs": [
""
],
"orgUnits": [
""
],
"localities": [
"sample_locality"
]
}
}

The following fields can now be disabled when creating a Policy Specification on VaaS:
* organization
* organizational units
* localities
* states
* countries

To do so, an array with an empty string must be passedd to the attribute, e.g.:
{
    "subject": {
        "orgs": [
            ""
        ],
        "orgUnits": [
            ""
        ],
        "localities": [
            "sample_locality"
        ]
    }
}
Updated test_pm.TestParsers.test_json_parsing test to match the changes in /test/resources/policy_specification.json file
Updated test_pm.TestParsers.test_yaml_12_parsing test to match the changes in /test/resources/policy_specification.yaml file
@rvelaVenafi rvelaVenafi merged commit 2a316a7 into master May 17, 2022
@rvelaVenafi rvelaVenafi deleted the disable_subject branch May 17, 2022 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants