Skip to content

Commit

Permalink
Update docs and explain what region is for
Browse files Browse the repository at this point in the history
  • Loading branch information
i5o committed Aug 9, 2023
1 parent 62a27f7 commit bd588da
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ provider "jupiterone" {

- `account_id` (String) JupiterOne account ID to create resources in
- `api_key` (String, Sensitive) API Key used to make requests to the JupiterOne APIs
- `region` (String)
- `region` (String) region used for generating the GraphQL endpoint url. If not provided defaults to 'us'
2 changes: 0 additions & 2 deletions docs/resources/framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,3 @@ resource "jupiterone_frameworkitem" "change_control" {
### Read-Only

- `id` (String) The ID of this resource.


2 changes: 0 additions & 2 deletions docs/resources/frameworkitem.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,3 @@ A FrameworkItem (Requirement in the web UI) is a control that is part of a frame
### Read-Only

- `id` (String) The ID of this resource.


2 changes: 0 additions & 2 deletions docs/resources/group.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,3 @@ Refer to the resource_framework docs for example usage
### Read-Only

- `id` (String) The ID of this resource.


2 changes: 0 additions & 2 deletions docs/resources/libraryitem.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,3 @@ resource "jupiterone_libraryitem" "change_control" {
### Read-Only

- `id` (String) The ID of this resource.


4 changes: 1 addition & 3 deletions docs/resources/question.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ resource "jupiterone_question" "unencrypted_critical_data_stores" {
- `compliance` (Block List) (see [below for nested schema](#nestedblock--compliance))
- `polling_interval` (String) Frequency of automated question evaluation. Defaults to ONE_DAY.
- `query` (Block List) (see [below for nested schema](#nestedblock--query))
- `show_trend` (Boolean) Whether to enable trend data collection. Defaults to false.
- `show_trend` (Boolean) Whether to enable daily trend data collection. Defaults to false.
- `tags` (List of String)

### Read-Only
Expand Down Expand Up @@ -72,5 +72,3 @@ Optional:
- `include_deleted` (Boolean)
- `name` (String)
- `results_are` (String) Defaults to INFORMATIVE.


4 changes: 1 addition & 3 deletions docs/resources/rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ resource "jupiterone_rule" "users_without_mfa" {
- `polling_interval` (String) Frequency of automated rule evaluation. Defaults to ONE_DAY.
- `question` (Block List) Contains properties related to queries used in the rule evaluation. (see [below for nested schema](#nestedblock--question))
- `question_id` (String) Specifies the ID of a question to be used in rule evaluation.
- `question_name` (String, Deprecated) Specifies the name of a question to be used in rule evaluation.
- `spec_version` (Number) Rule evaluation specification version in the case of breaking changes.
- `tags` (List of String) Comma separated list of tags to apply to the rule.
- `templates` (Map of String) Optional key/value pairs of template name to template
- `trigger_on_new_only` (Boolean)

### Read-Only

Expand Down Expand Up @@ -155,5 +155,3 @@ Optional:

- `include_deleted` (Boolean)
- `name` (String)


3 changes: 2 additions & 1 deletion jupiterone/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ func (*JupiterOneProvider) Schema(ctx context.Context, req provider.SchemaReques
Description: "JupiterOne account ID to create resources in",
},
"region": schema.StringAttribute{
Optional: true,
Optional: true,
Description: "region used for generating the GraphQL endpoint url. If not provided defaults to 'us'",
},
},
}
Expand Down

0 comments on commit bd588da

Please sign in to comment.