Fix auto generated documentation CI checks in main (#30065)

Last week we had to revert some doc changes because codeowners were OOO.
This commit is contained in:
Lucas Manuel Rodriguez
2025-06-17 11:26:50 -03:00
committed by GitHub
parent 39982a3e83
commit 5251b99ca0
4 changed files with 16 additions and 12 deletions
@@ -55,6 +55,16 @@ SELECT
SELECT email FROM users
```
## conditional_access_microsoft_device_id
- Platforms: darwin
- Query:
```sql
SELECT * FROM (SELECT common_name AS device_id FROM certificates WHERE issuer LIKE '/DC=net+DC=windows+CN=MS-Organization-Access+OU%' LIMIT 1)
CROSS JOIN (SELECT label as user_principal_name FROM keychain_items WHERE account = 'com.microsoft.workplacejoin.registeredUserPrincipalName' LIMIT 1);
```
## disk_encryption_darwin
- Platforms: darwin
+3 -9
View File
@@ -69,15 +69,13 @@ Generated when creating policies.
This activity contains the following fields:
- "policy_id": the ID of the created policy.
- "policy_name": the name of the created policy.
- "fleet_maintained": whether the policy is maintained by Fleet (e.g. automatic install/patch).
#### Example
```json
{
"policy_id": 123,
"policy_name": "foo",
"fleet_maintained": false
"policy_name": "foo"
}
```
@@ -88,15 +86,13 @@ Generated when editing policies.
This activity contains the following fields:
- "policy_id": the ID of the edited policy.
- "policy_name": the name of the edited policy.
- "fleet_maintained": whether the policy is maintained by Fleet (e.g. automatic install/patch).
#### Example
```json
{
"policy_id": 123,
"policy_name": "foo",
"fleet_maintained": false
"policy_name": "foo"
}
```
@@ -107,15 +103,13 @@ Generated when deleting policies.
This activity contains the following fields:
- "policy_id": the ID of the deleted policy.
- "policy_name": the name of the deleted policy.
- "fleet_maintained": whether the policy is maintained by Fleet (e.g. automatic install/patch).
#### Example
```json
{
"policy_id": 123,
"policy_name": "foo",
"fleet_maintained": false
"policy_name": "foo"
}
```
+1 -1
View File
@@ -1,4 +1,4 @@
// Automatically generated by tools/osquery-agent-options for osquery 5.14.1. DO NOT EDIT!
// Automatically generated by tools/osquery-agent-options for osquery 5.17.0. DO NOT EDIT!
// To update flags for a new osquery version, update the osqueryVersion variable in
// "tools/osquery-agent-options/main.go" and run "cd server/fleet/ && go generate".
package fleet
+2 -2
View File
@@ -27,7 +27,7 @@ import (
var (
rxOption = regexp.MustCompile(`\-\-(\w+)\s`)
osqueryVersion = "5.14.1"
osqueryVersion = "5.17.0"
structTpl = template.Must(template.New("struct").Funcs(template.FuncMap{
"camelCase": camelCaseOptionName,
@@ -69,7 +69,7 @@ func main() {
if runtime.GOOS != "darwin" {
log.Fatal("Currently only supported on macOS")
}
urlStr := fmt.Sprintf("https://tuf.fleetctl.com/targets/osqueryd/macos-app/%s/osqueryd.app.tar.gz", osqueryVersion)
urlStr := fmt.Sprintf("https://updates.fleetdm.com/targets/osqueryd/macos-app/%s/osqueryd.app.tar.gz", osqueryVersion)
osqueryTUFURL, err := url.Parse(urlStr)
if err != nil {
log.Fatalf("parse osquery TUF URL: %q: %s", urlStr, err)