> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/pt/automatizacao/runbooks/runbook-references/org/general/add-or-remove-trusted-site.md).

# Adicionar ou remover site fidedigno

Adicionar um URL à lista de sites fidedignos do Intune ou removê-lo

### Descrição

Adiciona um URL à lista de atribuição de site para zona de uma política de configuração do Windows no Intune, ou o remove novamente. Essa lista coloca um URL em uma zona de segurança do Internet Explorer, como Sites confiáveis. Também pode listar todas as políticas de Sites confiáveis com as respetivas entradas.

### Notas de implementação

O runbook desencripta o `omaSettings` da política de configuração personalizada usando a abordagem descrita em [este artigo do call4cloud](https://call4cloud.nl/2021/09/the-isencrypted-with-steve-zissou/). Isto requer atualmente o endpoint beta do Microsoft Graph.

### Localização

Organization → General → Add Or Remove Trusted Site

**Nome completo do Runbook**

rjgit-org\_general\_add-or-remove-trusted-site

### Detalhes

| Propriedade         | Valor                               |
| ------------------- | ----------------------------------- |
| Versão              | 1.0.1                               |
| Módulos necessários | RealmJoin.RunbookHelper (>= 0.8.10) |
| Agendável           | não                                 |

### Permissões

#### Permissões da aplicação

* **Tipo**: Microsoft Graph
  * DeviceManagementConfiguration.ReadWrite.All
    * *Lê e atualiza a política de atribuição de Site para Zona, incluindo definições OMA secretas*

### Parâmetros

#### Ação

Add coloca o URL na política, Remove o retira, List mostra as políticas e as respetivas entradas.

| Propriedade       | Valor      |
| ----------------- | ---------- |
| Obrigatório       | verdadeiro |
| Valor predefinido | 2          |
| Tipo              | Int32      |

**Opções do portal**

| Opção do portal                               | Valor |
| --------------------------------------------- | ----- |
| Adicionar URL a Sites confiáveis              | 0     |
| Remover URL de Sites confiáveis               | 1     |
| Listar todas as políticas de Sites confiáveis | 2     |

#### Url

Endereço a adicionar ou remover, começando com http\:// ou https\://.

| Propriedade       | Valor                |
| ----------------- | -------------------- |
| Obrigatório       | falso                |
| Valor predefinido |                      |
| Tipo              | Cadeia de caracteres |

#### Zona

Zona de segurança à qual o URL está atribuído: Meu computador (0), Intranet local (1), Sites confiáveis (2), Internet (3) ou Sites restritos (4).

| Propriedade       | Valor |
| ----------------- | ----- |
| Obrigatório       | falso |
| Valor predefinido | 1     |
| Tipo              | Int32 |

**Opções do portal**

| Opção do portal      | Valor |
| -------------------- | ----- |
| Meu computador (0)   | 0     |
| Intranet local (1)   | 1     |
| Sites confiáveis (2) | 2     |
| Internet (3)         | 3     |
| Sites restritos (4)  | 4     |

#### DefaultPolicyName

Política usada quando existem várias políticas de Sites confiáveis e nenhuma tem nome.

| Propriedade       | Valor                                                  |
| ----------------- | ------------------------------------------------------ |
| Obrigatório       | falso                                                  |
| Valor predefinido | Windows 10 - Trusted Sites                             |
| Tipo              | Cadeia de caracteres                                   |
| Oculto no portal  | sim (predefinido através da personalização do runbook) |

#### IntunePolicyName

Política a alterar. Deixe em branco para escolher uma automaticamente.

| Propriedade       | Valor                |
| ----------------- | -------------------- |
| Obrigatório       | falso                |
| Valor predefinido |                      |
| Tipo              | Cadeia de caracteres |

[Voltar à visão geral da referência do Runbook](/pt/automatizacao/runbooks/runbook-references.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmjoin.com/pt/automatizacao/runbooks/runbook-references/org/general/add-or-remove-trusted-site.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
