-
Notifications
You must be signed in to change notification settings - Fork 4
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 #132 from okta/ulfat/terraformImplementationFrSudo…
…OKTA-707627 Add Sudo Commands Bundle
- Loading branch information
Showing
90 changed files
with
12,390 additions
and
1,048 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,40 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "oktapam_cloud_connection Data Source - terraform-provider-oktapam" | ||
subcategory: "" | ||
description: |- | ||
Returns an existing PAM Cloud Connection. For details, see Cloud Connection https://help.okta.com/okta_help.htm?type=oie&id=ext-pam-entitlement-aws-connect. | ||
--- | ||
|
||
# oktapam_cloud_connection (Data Source) | ||
|
||
Returns an existing PAM Cloud Connection. For details, see [Cloud Connection](https://help.okta.com/okta_help.htm?type=oie&id=ext-pam-entitlement-aws-connect). | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Read-Only | ||
|
||
- `cloud_connection_details` (List of Object) More data about the cloud connection to be able to connect to the cloud provider (see [below for nested schema](#nestedatt--cloud_connection_details)) | ||
- `id` (String) The ID of this resource. | ||
- `name` (String) The human-readable name of the resource. Values are case-sensitive. | ||
|
||
<a id="nestedatt--cloud_connection_details"></a> | ||
### Nested Schema for `cloud_connection_details` | ||
|
||
Read-Only: | ||
|
||
- `aws` (List of Object) (see [below for nested schema](#nestedobjatt--cloud_connection_details--aws)) | ||
|
||
<a id="nestedobjatt--cloud_connection_details--aws"></a> | ||
### Nested Schema for `cloud_connection_details.aws` | ||
|
||
Read-Only: | ||
|
||
- `account_id` (String) | ||
- `external_id` (String) | ||
- `role_arn` (String) | ||
|
||
|
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,27 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "oktapam_cloud_connections Data Source - terraform-provider-oktapam" | ||
subcategory: "" | ||
description: |- | ||
Returns a list of Cloud Connections. For details, see Cloud Connection https://help.okta.com/okta_help.htm?type=oie&id=ext-pam-entitlement-aws-connect. | ||
--- | ||
|
||
# oktapam_cloud_connections (Data Source) | ||
|
||
Returns a list of Cloud Connections. For details, see [Cloud Connection](https://help.okta.com/okta_help.htm?type=oie&id=ext-pam-entitlement-aws-connect). | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `name` (String) The name of the resource | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
- `ids` (List of String) | ||
|
||
|
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,41 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "oktapam_sudo_commands_bundle Data Source - terraform-provider-oktapam" | ||
subcategory: "" | ||
description: |- | ||
Returns an existing PAM Sudo Commands Bundle. For details, see Sudo Commands Bundle https://help.okta.com/okta_help.htm?type=oie&id=csh-pam-sudo-commands. | ||
--- | ||
|
||
# oktapam_sudo_commands_bundle (Data Source) | ||
|
||
Returns an existing PAM Sudo Commands Bundle. For details, see [Sudo Commands Bundle](https://help.okta.com/okta_help.htm?type=oie&id=csh-pam-sudo-commands). | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Read-Only | ||
|
||
- `add_env` (List of String) A list of environment variables to include when running sudo commands. See [the sudo documentation](https://www.sudo.ws/man/1.8.13/sudoers.man.html#Command_environment). | ||
- `id` (String) The ID of this resource. | ||
- `name` (String) The name of the Sudo Command bundle. This controls the ordering of all bundles within your Team. | ||
- `no_exec` (Boolean) Whether to allow commands to execute child processes | ||
- `no_passwd` (Boolean) Whether to require a password when sudo is run. This should generally not be used as Users don't require a password. | ||
- `run_as` (String) A non-root user account used to run the command | ||
- `set_env` (Boolean) Whether to allow overriding environment variables to commands | ||
- `structured_commands` (List of Object) A list of commands to allow (see [below for nested schema](#nestedatt--structured_commands)) | ||
- `sub_env` (List of String) A list of environment variables to ignore when running the commands. See [the sudo documentation](https://www.sudo.ws/man/1.8.13/sudoers.man.html#Command_environment). | ||
|
||
<a id="nestedatt--structured_commands"></a> | ||
### Nested Schema for `structured_commands` | ||
|
||
Read-Only: | ||
|
||
- `args` (String) | ||
- `args_type` (String) | ||
- `command` (String) | ||
- `command_type` (String) | ||
- `rendered_command` (String) | ||
|
||
|
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,27 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "oktapam_sudo_commands_bundles Data Source - terraform-provider-oktapam" | ||
subcategory: "" | ||
description: |- | ||
Returns a list of Sudo Commands Bundles. For details, see Sudo Commands Bundle https://help.okta.com/okta_help.htm?type=oie&id=csh-pam-sudo-commands. | ||
--- | ||
|
||
# oktapam_sudo_commands_bundles (Data Source) | ||
|
||
Returns a list of Sudo Commands Bundles. For details, see [Sudo Commands Bundle](https://help.okta.com/okta_help.htm?type=oie&id=csh-pam-sudo-commands). | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `name` (String) The name of the resource | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
- `ids` (List of String) | ||
|
||
|
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,43 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "oktapam_cloud_connection Resource - terraform-provider-oktapam" | ||
subcategory: "" | ||
description: |- | ||
A PAM construct that connects PAM with cloud providers. For details, see Cloud Connection https://help.okta.com/okta_help.htm?type=oie&id=ext-pam-entitlement-aws-connect. | ||
--- | ||
|
||
# oktapam_cloud_connection (Resource) | ||
|
||
A PAM construct that connects PAM with cloud providers. For details, see [Cloud Connection](https://help.okta.com/okta_help.htm?type=oie&id=ext-pam-entitlement-aws-connect). | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `cloud_connection_details` (Block List, Min: 1, Max: 1) More data about the cloud connection to be able to connect to the cloud provider (see [below for nested schema](#nestedblock--cloud_connection_details)) | ||
- `name` (String) The human-readable name of the resource. Values are case-sensitive. | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
<a id="nestedblock--cloud_connection_details"></a> | ||
### Nested Schema for `cloud_connection_details` | ||
|
||
Required: | ||
|
||
- `aws` (Block List, Min: 1, Max: 1) More data about the AWS cloud connection to be able to connect to the cloud provider (see [below for nested schema](#nestedblock--cloud_connection_details--aws)) | ||
|
||
<a id="nestedblock--cloud_connection_details--aws"></a> | ||
### Nested Schema for `cloud_connection_details.aws` | ||
|
||
Required: | ||
|
||
- `account_id` (String) | ||
- `external_id` (String) | ||
- `role_arn` (String) | ||
|
||
|
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,50 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "oktapam_sudo_commands_bundle Resource - terraform-provider-oktapam" | ||
subcategory: "" | ||
description: |- | ||
A PAM construct that allows fine grained access. For details, see Sudo Commands Bundle https://help.okta.com/okta_help.htm?type=oie&id=csh-pam-sudo-commands. | ||
--- | ||
|
||
# oktapam_sudo_commands_bundle (Resource) | ||
|
||
A PAM construct that allows fine grained access. For details, see [Sudo Commands Bundle](https://help.okta.com/okta_help.htm?type=oie&id=csh-pam-sudo-commands). | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) The human-readable name of the resource. Values are case-sensitive. | ||
- `structured_commands` (Block List, Min: 1, Max: 64) A list of commands to allow (see [below for nested schema](#nestedblock--structured_commands)) | ||
|
||
### Optional | ||
|
||
- `add_env` (List of String) | ||
- `no_exec` (Boolean) | ||
- `no_passwd` (Boolean) | ||
- `run_as` (String) | ||
- `set_env` (Boolean) | ||
- `sub_env` (List of String) | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
<a id="nestedblock--structured_commands"></a> | ||
### Nested Schema for `structured_commands` | ||
|
||
Required: | ||
|
||
- `command` (String) | ||
- `command_type` (String) | ||
|
||
Optional: | ||
|
||
- `args` (String) | ||
- `args_type` (String) | ||
- `rendered_command` (String) | ||
|
||
|
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
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
Oops, something went wrong.