share_dashboards_outside_organization
Creates, updates, deletes, gets or lists a share_dashboards_outside_organization
resource.
Overview
Name | share_dashboards_outside_organization |
Type | Resource |
Id | sumologic.policies.share_dashboards_outside_organization |
Fields
The following fields are returned by SELECT
queries:
- getShareDashboardsOutsideOrganizationPolicy
The Share Dashboards Outside Organization policy.
Name | Datatype | Description |
---|---|---|
enabled | boolean | Whether the Share Dashboards Outside Organization policy is enabled. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getShareDashboardsOutsideOrganizationPolicy | select | region | Get the Share Dashboards Outside Organization policy. This policy allows users to share the dashboard with view only privileges outside of the organization (capability must be enabled from the Roles page). Disabling this policy will disable all dashboards that have been shared outside of the organization. Learn More | |
setShareDashboardsOutsideOrganizationPolicy | exec | region , enabled | Set the Share Dashboards Outside Organization policy. This policy allows users to share the dashboard with view only privileges outside of the organization (capability must be enabled from the Roles page). Disabling this policy will disable all dashboards that have been shared outside of the organization. Learn More |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
SELECT
examples
- getShareDashboardsOutsideOrganizationPolicy
Get the Share Dashboards Outside Organization policy. This policy allows users to share the dashboard with view only privileges outside of the organization (capability must be enabled from the Roles page). Disabling this policy will disable all dashboards that have been shared outside of the organization. Learn More
SELECT
enabled
FROM sumologic.policies.share_dashboards_outside_organization
WHERE region = '{{ region }}' -- required
;
Lifecycle Methods
- setShareDashboardsOutsideOrganizationPolicy
Set the Share Dashboards Outside Organization policy. This policy allows users to share the dashboard with view only privileges outside of the organization (capability must be enabled from the Roles page). Disabling this policy will disable all dashboards that have been shared outside of the organization. Learn More
EXEC sumologic.policies.share_dashboards_outside_organization.setShareDashboardsOutsideOrganizationPolicy
@region='{{ region }}' --required
@@json=
'{
"enabled": {{ enabled }}
}'
;