Security Requirements and Controls
API Stability Long-Term

The updateSharedDashboardsSecurityPolicies() GraphQL mutation is used to update the shared dashboards security policies for the organization. Updating the policies will update or delete all existing tokens that don't fit into the changes. For instance, enforcing an IP filter will set the IP filter on all shared dashboard tokens. Disabling shared dashboard tokens will delete them.

Syntax

Below is the syntax for the updateSharedDashboardsSecurityPolicies() mutation:

graphql
updateSharedDashboardsSecurityPolicies(
      input: SharedDashboardsSecurityPoliciesInput!
   ): Organization!

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  updateSharedDashboardsSecurityPolicies( input:
    {
      sharedDashboardsEnabled: true
    }
  )
  { id }
}
Example Responses
Show:
json
{
  "data": {
    "updateSharedDashboardsSecurityPolicies": {
      "id": "SINGLE_ORGANIZATION_ID"
    }
  }
}

Given Datatypes

The SharedDashboardsSecurityPoliciesInput has a couple of parameters. Below is a list of them and a description of each:

Table: SharedDashboardsSecurityPoliciesInput

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 19, 2024
enforceIpFilterIdstring   The IP filter that will be enforced on all shared dashboard tokens.
sharedDashboardsEnabledbooleanyes  Whether shared dashboard tokens should be enabled.

Returned Datatypes

As indicated by the syntax above, this mutation will return data using the datatype, Organization. Below is a list of the parameters of that datatype:

Table: Organization

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 27, 2024
cidstring  Short-TermThe CID corresponding to the organization.
configsOrganizationConfigsyes Short-TermOrganization configurations and settings. See OrganizationDetails.
createdAtlong  Short-TermDate organization was created.
defaultCachePolicyCachePolicy  PreviewThe default cache policy of the organization. See CachePolicy. This is a preview and subject to change.
descriptionstring  Short-TermThe description for the Organization. Can be null.
detailsOrganizationDetailsyes Short-TermAny additional details related to the organization. See OrganizationDetails.
externalGroupSynchronizationbooleanyes Short-TermWhether there is group synchronization.
externalPermissionsbooleanyes Short-TermWhether permissions are managed externally.
idstringyes Short-TermThe unique id for the Organization.
ingestUrlstring  Short-TermThe ingest URL for the organization.
isActionAllowedmultipleyes Short-TermCheck if user has a permission in organization. The datatype consists of (action: OrganizationAction): boolean. For OrganizationAction, give the action to check if a user is allowed to perform on the organization. See OrganizationAction.
limits[Limit]yes Short-TermLimits assigned to the organization. See Limit.
limitsV2[LimitV2]yes Short-TermLimits assigned to the organization. See LimitV2.
namestringyes Short-TermThe name for the Organization.
publicUrlstring  Short-TermThe public URL for the organization.
readonlyDashboardIPFilterstring  Short-TermIP filter for readonly dashboard links.
searchDomains[SearchDomain]yes Short-TermSearch domains within the organization. See SearchDomain.
statsOrganizationStatsyes Short-TermStatistics of the organization. See OrganizationStats.
trialStartedAtlong  Short-TermDate organization's trial started.