> For the complete documentation index, see [llms.txt](https://docs.halosecurity.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.halosecurity.com/docs/platform/automations/target-automations.md).

# Target Automations

{% hint style="info" %}
These rules and actions can used to configure your [automations](https://app.halosecurity.com/user/settings/automations/) with the **Target** type.
{% endhint %}

## Rules

Add rules too match targets based on the following criteria.

<details>

<summary>Rule Types</summary>

Each type has a variety of value options with details provided in the add rule modal.

* Risk Score
* Date
* Created Date
* Scan
* IP
* Domain
* Technology
* Technology Category
* Country
* Name
* Hostname
* Scan Frequency
* Issue Count
* Issue Id
* Issue Name
* Issue Severity
* Issue Department
* Service
* Port
* Has HTTP Redirect
* HTTP Location
* Tag
* Whois Organization
* Firewall Product
* Issue Name
* Issue Severity
* Issue Department
* Technology
* Technology Category
* HTTP Response Code

</details>

## Actions

The following actions are supported:

* **Tags - Sync**: Matching targets will have the selected tag(s) added. For targets that do not match the rules, the selected tag(s) will be removed.
* **Tags - Add**: Matching targets will have the selected tag(s) added.
* **Tags - Remove**: Matching targets will have the selected tag(s) removed.
* **Archive Target:** Matching targets will be [archived](/docs/platform/targets/managing-targets.md#archiving-targets).
* **Scan Policy**: Matching targets will have the selected [scan policy](/docs/platform/targets/scan-policies.md) applied.
* **Scan Frequency**: Matching targets will have the selected scan frequency applied.


---

# 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.halosecurity.com/docs/platform/automations/target-automations.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.
