> 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/de/automatisierung/runbooks/naming-conventions.md).

# Namenskonventionen für Runbooks

## Dateinamen in GitHub

Wir erwarten eine bestimmte Datei- und Namensstruktur im [gemeinsamen Runbook-Repository](https://github.com/realmjoin/realmjoin-runbooks). RealmJoin wird diese Ordner und Dateien aus GitHub in das Azure Automation-Konto des Kunden importieren.

Bindestriche ("-") werden in Leerzeichen umgewandelt. Ordner werden verwendet, um Runbooks in "Kontext" und "Kategorie" zu trennen, z. B. `user\general`. Dateinamen sollten den Zweck des Skripts beschreiben.

Alle importierten Runbooks haben das Präfix `rjgit-`, gefolgt vom Kontext, entweder `org`, `Gruppe`, `Benutzer` dann der Kategorie, zum Beispiel `_general_`, `_security_`, `_mail_` und dem Namen des Skripts selbst, wie `add-additional-alias`.

### Beispiel:

Ein Runbook in GitHub in `user\general` mit dem Namen `add-additional-alias.ps1` wird angezeigt als:

* `rjgit-user_general_add-additional-alias` im Azure Automation-Konto
* "Add Additional Alias" im RealmJoin-Portal auf einem Benutzerobjekt in der Runbook-Kategorie "General".

Gängige Kategorien

* Allgemein
* Sicherheitsgruppe
* E-Mail
* Benutzerinfo

Sie können zusätzliche Kategorien definieren, aber keine Kontexte.

### Wozu dient das?

Dadurch können die Runbooks im RealmJoin-Portal automatisch ausgefüllt und benannt werden. Außerdem ermöglicht das `rjgit-` Präfix, Namenskonflikte mit lokalen/kundenspezifischen Runbooks zu vermeiden. Runbooks ohne dieses Präfix werden von der Importlogik von RealmJoin nicht angetastet.

## Private / kundenspezifische Runbooks

Sie können private (lokale) Runbooks in Ihrem Azure Automation-Konto hosten. Diese Runbooks werden im RealmJoin-Portal genau wie die gemeinsam genutzten Runbooks angezeigt. Lokale Runbooks werden von unserem Synchronisierungsprozess nicht angetastet und sind für andere Kunden nicht sichtbar.

Um ein lokales Runbook zu erstellen, entfernen Sie das `rjgit-` Präfix aus der Namenskonvention, während Sie den Rest der Namensstruktur beibehalten.

Beispiel: Sie möchten ein Runbook "Private Runbook" im Kontext von Azure AD-Gruppen und der Kategorie "Allgemein" anbieten. Sie würden es nennen `group_general_private-runbook` in Ihrem Azure Automation-Konto.

So sieht das in Azure Automation aus:

![Runbook-Namen in GitHub / Azure Automation](/files/ce531080e9f0a29aa1db5e73724fbe9e3c96429a)

Im RealmJoin-Portal wird es wie folgt angezeigt:

![Runbook-Namen im RealmJoin-Portal](/files/13ad38d3dab00206b90adcf1d30fa110448aba21)


---

# 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.realmjoin.com/de/automatisierung/runbooks/naming-conventions.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.
