> For the complete documentation index, see [llms.txt](https://docs.reveald.com/technical-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.reveald.com/technical-documentation/admin-guides/epiphany-validation-engine-users-guide/chapter-3-eve-platform/navigation-tabs/emulation-control/custom-threats/new-custom-threat-create-a-script-in-the-platform.md).

# New Custom Threat: Create a script in the Platform

Before creating a new custom threat make sure the user have met the requirements for  the Custom Threats Module. See Requirements for the Custom Threat Module.&#x20;

To create a script directly in the platform, follow this process:&#x20;

1. In the Custom Threat tab select the <mark style="color:orange;">"New Custom Threat"</mark> button on the top right. &#x20;
2. A New Script creation wizard will open.&#x20;
3. Click <mark style="color:orange;">“Code Editor"</mark> This option allows the user to write a script on the platform. &#x20;
4. Give the script a name and select The code Editor Language. (Mandatory)&#x20;
5. Write the script on the edi&#x20;
6. Add a Description to the selected script (Mandatory).&#x20;
7. The user can add Execution Parameters if needed on the Optional parameters configuration field.&#x20;
8. Click <mark style="color:orange;">“Save Script”</mark>.&#x20;


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.reveald.com/technical-documentation/admin-guides/epiphany-validation-engine-users-guide/chapter-3-eve-platform/navigation-tabs/emulation-control/custom-threats/new-custom-threat-create-a-script-in-the-platform.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
