> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# ICspDirective

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: interface
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/cspDirectives/index.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Content Security Policy directive of the organization.

**Signature:**

```typescript
export interface ICspDirective 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [id](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icspdirective/index.md#icspdirectiveid) |  | string | **_(ALPHA)_** Name of the directive, for example `script-src` or `img-src`. |
| [sources](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icspdirective/index.md#icspdirectivesources) |  | string[] | **_(ALPHA)_** Sources allowed by the directive, for example `'self'`, `https://example.com` or `*.example.com`. |

## Property details

### ICspDirective.id

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Name of the directive, for example `script-src` or `img-src`.

**Signature:**

```typescript
id: string;
```

### ICspDirective.sources

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Sources allowed by the directive, for example `'self'`, `https://example.com` or `*.example.com`.

**Signature:**

```typescript
sources: string[];
```
