diff --git a/docs/resources/report_graph_query.md b/docs/resources/report_graph_query.md new file mode 100644 index 0000000..b6de226 --- /dev/null +++ b/docs/resources/report_graph_query.md @@ -0,0 +1,77 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "wiz_report_graph_query Resource - terraform-provider-wiz" +subcategory: "" +description: |- + TBD. +--- + +# wiz_report_graph_query (Resource) + +TBD. + +## Example Usage + +```terraform +# A simple example +resource "wiz_report_graph_query" "foo" { + name = "foo" + project_id = "2c38b8fa-c315-57ea-9de4-e3a19592d796" + query = < +## Schema + +### Required + +- `name` (String) Name of the Report. +- `project_id` (String) The ID of the project that this report belongs to. +- `query` (String) The query that the report will run. Required by the GRAPH_QUERY report type. + +### Optional + +- `run_interval_hours` (Number) Run interval for scheduled reports (in hours). +- `run_starts_at` (String) String representing the time and date when the scheduling should start (required when run_interval_hours is set). Must be in the following format: 2006-01-02 15:04:05 +0000 UTC + +### Read-Only + +- `id` (String) The ID of this resource. diff --git a/examples/resources/wiz_report_graph_query/resource.tf b/examples/resources/wiz_report_graph_query/resource.tf new file mode 100644 index 0000000..11c8846 --- /dev/null +++ b/examples/resources/wiz_report_graph_query/resource.tf @@ -0,0 +1,43 @@ +# A simple example +resource "wiz_report_graph_query" "foo" { + name = "foo" + project_id = "2c38b8fa-c315-57ea-9de4-e3a19592d796" + query = <