Add missing docs for updated_script activity (#29803)

Work was done in a previous release but (probably due to a merge
conflict resolution) the activity list update was missed, so docs were
missing this.
This commit is contained in:
Ian Littman
2025-06-06 16:38:58 -06:00
committed by GitHub
parent d921e8d4ff
commit ecb1a51362
2 changed files with 21 additions and 1 deletions
+19
View File
@@ -1014,6 +1014,25 @@ This activity contains the following fields:
}
```
## updated_script
Generated when a script is updated.
This activity contains the following fields:
- "script_name": Name of the script.
- "team_id": The ID of the team that the script applies to, `null` if it applies to devices that are not in a team.
- "team_name": The name of the team that the script applies to, `null` if it applies to devices that are not in a team.
#### Example
```json
{
"script_name": "set-timezones.sh",
"team_id": 123,
"team_name": "Workstations"
}
```
## created_windows_profile
Generated when a user adds a new Windows profile to a team (or no team).
+2 -1
View File
@@ -158,7 +158,8 @@ var ActivityDetailsList = []ActivityDetails{
ActivityTypeRanScript{},
ActivityTypeAddedScript{},
ActivityTypeDeletedScript{},
ActivityTypeEditedScript{},
ActivityTypeEditedScript{}, // via GitOps
ActivityTypeUpdatedScript{}, // via individual script update endpoint
ActivityTypeCreatedWindowsProfile{},
ActivityTypeDeletedWindowsProfile{},