> 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 uma URL à lista de atribuição de site para zona de uma política de configuração do Windows no Intune, ou remove-a novamente. Essa lista coloca uma URL numa 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 da call4cloud](https://call4cloud.nl/2021/09/the-isencrypted-with-steve-zissou/). Isto atualmente requer o endpoint beta do Microsoft Graph.

### Localização

Organização → Geral → Adicionar ou Remover Site Confiável

**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 de aplicativo

* **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

Adicionar coloca a URL na política, Remover retira-a, Listar mostra as políticas e as respetivas entradas.

| Propriedade  | Valor      |
| ------------ | ---------- |
| Obrigatório  | verdadeiro |
| Valor padrão | 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 por http\:// ou https\://.

| Propriedade  | Valor |
| ------------ | ----- |
| Obrigatório  | falso |
| Valor padrão |       |
| Tipo         | Texto |

#### Zona

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

| Propriedade  | Valor |
| ------------ | ----- |
| Obrigatório  | falso |
| Valor padrão | 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 padrão     | Windows 10 - Sites confiáveis                           |
| Tipo             | Texto                                                   |
| Oculto no portal | sim (predefinido por meio da personalização do runbook) |

#### IntunePolicyName

Política a alterar. Deixe vazio para escolher uma automaticamente.

| Propriedade  | Valor |
| ------------ | ----- |
| Obrigatório  | falso |
| Valor padrão |       |
| Tipo         | Texto |

[Voltar à visão geral da referência do runbook](https://docs.realmjoin.com/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.
