-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #221 from JupiterOne/APP-15932
APP-15932 - Add resource permission set and collectionId for rule
- Loading branch information
Showing
16 changed files
with
1,162 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "jupiterone_resource_permission Resource - terraform-provider-jupiterone" | ||
subcategory: "" | ||
description: |- | ||
A set of resource based permissions. | ||
--- | ||
|
||
# jupiterone_resource_permission (Resource) | ||
|
||
A set of JupiterOne Resource Permissions. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "jupiterone_user_group" "standard_administrators" { | ||
name = "Administrators" | ||
} | ||
resource "jupiterone_resource_permission" "administrator_permissions" { | ||
subject_id = data.jupiterone_user_group.standard_administrators.id | ||
subject_type = "group" | ||
resource_area = "rule" | ||
resource_type = "*" | ||
resource_id = "*" | ||
can_create = true | ||
can_read = true | ||
can_update = true | ||
can_delete = true | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
|
||
## Schema | ||
|
||
### Required | ||
|
||
- `subject_id` (String) The ID of the subject that the resource permissions will be applied to (e.g. group ID). | ||
- `subject_type` (String) The type of the subject that the resource permissions will be applied to (e.g. group). | ||
- `resource_area` (String) The resource area that these permissions will be applied to (e.g. rule). | ||
- `resource_type` (String) The resource type that these permissions will be applied to (e.g. rule, rule_collection, \*). | ||
- `resource_id` (String) The resource ID that these permissions will be applied to (e.g. rule ID, rule_collection ID, \*). | ||
- `can_read` (Boolean) Whether the subject can read the resource. | ||
- `can_create` (Boolean) Whether the subject can create the resource. | ||
- `can_update` (Boolean) Whether the subject can update the resource. | ||
- `can_delete` (Boolean) Whether the subject can delete the resource. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.