components: schemas: Account: additionalProperties: false properties: api_key: type: string api_key_created_at: format: date-time type: string effective_permissions: additionalProperties: enum: - none - view - edit type: string propertyNames: $ref: "#/components/schemas/AuthzResource" type: object user: $ref: "#/components/schemas/User" required: - user - effective_permissions type: object AccountMutation: additionalProperties: false properties: name: type: string password: type: string required: - name type: object ActivityEvent: additionalProperties: false properties: action: enum: - orbit_host_enrolled - osquery_host_enrolled - host_deleted - hosts_deleted - host_inventory_requested - host_primary_user_set - host_primary_user_cleared - policy_created - policy_updated - policy_deleted - policies_deleted - policy_remediation_requested - report_created - report_updated - report_deleted - reports_deleted - live_query_started - live_query_stopped type: string actor: $ref: "#/components/schemas/Actor" area: enum: - hosts - osquery type: string id: format: int64 type: integer occurred_at: format: date-time type: string subject: $ref: "#/components/schemas/Subject" required: - id - area - action - actor - subject - occurred_at type: object Actor: additionalProperties: false properties: email: format: email type: string kind: enum: - user - system type: string name: type: string user_id: format: int64 type: integer required: - kind - name type: object AgentSecret: additionalProperties: false properties: agent: enum: - orbit - munki - santa type: string created_at: format: date-time type: string id: format: int64 type: integer value: type: string required: - id - agent - value - created_at type: object AgentSecretCreate: additionalProperties: false properties: agent: enum: - orbit - munki - santa type: string value: minLength: 32 type: string required: - agent - value type: object AgentSecretMutation: additionalProperties: false properties: value: minLength: 32 type: string required: - value type: object AuthzResource: enum: - activity - users - groups - directory - hosts - labels - software - agents.secrets - munki.software - munki.packages - munki.distribution-points - munki.client-resources - osquery.overview - osquery.reports - osquery.policies - osquery.live-queries - osquery.remediations - santa.configurations - santa.events - santa.rules type: string CertificateName: additionalProperties: false properties: common_name: type: string country: type: string organization: type: string organizational_unit: type: string required: - country - organization - organizational_unit - common_name type: object Criteria: additionalProperties: false properties: attribute: enum: - user_department - directory_group - user type: string values: items: type: string type: array required: - attribute - values type: object Department: additionalProperties: false properties: value: type: string required: - value type: object ErrorDetail: additionalProperties: false properties: location: description: Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id' type: string message: description: Error message text type: string value: description: The value at the given location type: object ErrorModel: additionalProperties: false properties: detail: description: A human-readable explanation specific to this occurrence of the problem. examples: - Property foo is required but is missing. type: string errors: description: Optional list of individual error details items: $ref: "#/components/schemas/ErrorDetail" type: array instance: description: A URI reference that identifies the specific occurrence of the problem. examples: - https://example.com/error-log/abc123 format: uri type: string status: description: HTTP status code examples: - 400 format: int64 type: integer title: description: A short, human-readable summary of the problem type. This value should not change between occurrences of the error. examples: - Bad Request type: string type: default: about:blank description: A URI reference to human-readable documentation for the error. examples: - https://example.com/errors/example format: uri type: string type: object Group: additionalProperties: false properties: created_at: format: date-time type: string display_name: type: string external_id: type: string id: format: int64 type: integer mail_nickname: type: string member_count: format: int32 type: integer source: enum: - local - entra type: string updated_at: format: date-time type: string required: - id - source - external_id - display_name - member_count - created_at - updated_at type: object Heartbeat: additionalProperties: false properties: last_seen_at: format: date-time type: string remote_ip: format: ip type: string source: type: string user_agent: type: string required: - source - last_seen_at - user_agent type: object Host: additionalProperties: false properties: agents: $ref: "#/components/schemas/HostAgents" computer_name: type: string created_at: format: date-time type: string display_name: type: string enrollment: $ref: "#/components/schemas/HostEnrollment" hardware: $ref: "#/components/schemas/HostHardware" heartbeats: items: $ref: "#/components/schemas/Heartbeat" type: array hostname: type: string id: format: int64 type: integer inventory_refresh_requested: type: boolean inventory_updated_at: format: date-time type: string last_contact: format: date-time type: string last_restarted_at: format: date-time type: string network: $ref: "#/components/schemas/HostNetwork" os: $ref: "#/components/schemas/HostOS" primary_user: $ref: "#/components/schemas/HostPrimaryUser" primary_user_sources: items: $ref: "#/components/schemas/HostPrimaryUserSource" type: array public_ip: format: ip type: string public_ip_details: $ref: "#/components/schemas/PublicIPDetails" status: enum: - online - offline type: string storage: $ref: "#/components/schemas/HostStorage" updated_at: format: date-time type: string required: - id - display_name - status - hostname - computer_name - enrollment - hardware - os - storage - network - agents - heartbeats - primary_user_sources - created_at - updated_at - inventory_refresh_requested type: object HostAccount: additionalProperties: false properties: display_name: type: string filevault_unlock: type: - boolean - "null" home_directory: type: string is_admin: type: boolean is_hidden: type: boolean logged_in: type: boolean secure_token: type: - boolean - "null" shell: type: string uid: type: string username: type: string uuid: type: string volume_owner: type: - boolean - "null" required: - uid - username - uuid - display_name - home_directory - shell - is_admin - is_hidden - filevault_unlock - secure_token - volume_owner - logged_in type: object HostAgents: additionalProperties: false properties: munki: $ref: "#/components/schemas/HostMunkiAgent" orbit: $ref: "#/components/schemas/HostOrbitAgent" osquery: $ref: "#/components/schemas/HostOsqueryAgent" santa: $ref: "#/components/schemas/HostSantaAgent" required: - osquery - orbit - munki - santa type: object HostBattery: additionalProperties: false properties: chemistry: type: string current_capacity: format: int32 type: integer cycle_count: format: int32 type: integer designed_capacity: format: int32 type: integer health: type: string manufacturer: type: string max_capacity: format: int32 type: integer model: type: string percent_remaining: format: double type: number serial_number: type: string required: - serial_number - manufacturer - model - chemistry - health type: object HostBootVolume: additionalProperties: false properties: available_bytes: format: int64 type: integer total_bytes: format: int64 type: integer type: object HostCPU: additionalProperties: false properties: architecture: type: string brand: type: string logical_cores: format: int32 type: integer physical_cores: format: int32 type: integer subtype: type: string required: - architecture - subtype - brand - physical_cores - logical_cores type: object HostCertificate: additionalProperties: false properties: certificate_authority: type: boolean common_name: type: string id: format: int64 type: integer issuer: $ref: "#/components/schemas/CertificateName" key_algorithm: type: string key_strength: format: int32 type: integer key_usage: type: string not_valid_after: format: date-time type: string not_valid_before: format: date-time type: string serial: type: string signing_algorithm: type: string source: type: string subject: $ref: "#/components/schemas/CertificateName" username: type: string required: - id - common_name - subject - issuer - key_algorithm - key_usage - signing_algorithm - serial - certificate_authority - source - username type: object HostDetail: additionalProperties: false properties: accounts: items: $ref: "#/components/schemas/HostAccount" type: array agents: $ref: "#/components/schemas/HostAgents" batteries: items: $ref: "#/components/schemas/HostBattery" type: array certificates: items: $ref: "#/components/schemas/HostCertificate" type: array computer_name: type: string created_at: format: date-time type: string display_name: type: string enrollment: $ref: "#/components/schemas/HostEnrollment" hardware: $ref: "#/components/schemas/HostHardware" heartbeats: items: $ref: "#/components/schemas/Heartbeat" type: array hostname: type: string id: format: int64 type: integer inventory_refresh_requested: type: boolean inventory_updated_at: format: date-time type: string labels: items: $ref: "#/components/schemas/Label" type: array last_contact: format: date-time type: string last_restarted_at: format: date-time type: string network: $ref: "#/components/schemas/HostNetwork" os: $ref: "#/components/schemas/HostOS" primary_user: $ref: "#/components/schemas/HostPrimaryUser" primary_user_sources: items: $ref: "#/components/schemas/HostPrimaryUserSource" type: array public_ip: format: ip type: string public_ip_details: $ref: "#/components/schemas/PublicIPDetails" status: enum: - online - offline type: string storage: $ref: "#/components/schemas/HostStorage" updated_at: format: date-time type: string required: - labels - accounts - batteries - certificates - id - display_name - status - hostname - computer_name - enrollment - hardware - os - storage - network - agents - heartbeats - primary_user_sources - created_at - updated_at - inventory_refresh_requested type: object HostEnrollment: additionalProperties: false properties: agent: type: string enrolled_at: format: date-time type: string required: - agent type: object HostHardware: additionalProperties: false properties: cpu: $ref: "#/components/schemas/HostCPU" memory_bytes: format: int64 type: integer model_identifier: type: string serial: type: string uuid: type: string vendor: type: string required: - uuid - serial - vendor - model_identifier - memory_bytes - cpu type: object HostMunkiAgent: additionalProperties: false properties: version: type: string required: - version type: object HostNetwork: additionalProperties: false properties: primary_ip: format: ip type: string primary_mac: type: string required: - primary_mac type: object HostOS: additionalProperties: false properties: build: type: string kernel_version: type: string name: type: string platform: type: string version: type: string required: - platform - name - version - build - kernel_version type: object HostOrbitAgent: additionalProperties: false properties: scripts_enabled: type: boolean version: type: string required: - version type: object HostOsqueryAgent: additionalProperties: false properties: config_refresh_seconds: format: int32 type: integer distributed_interval_seconds: format: int32 type: integer version: type: string required: - version type: object HostPrimaryUser: additionalProperties: false properties: department: type: string email: type: string groups: items: type: string type: array name: type: string source: enum: - manual - orbit_profile type: string username: type: string required: - email - username - name - department - groups - source type: object HostPrimaryUserPutBody: additionalProperties: false properties: email: format: email minLength: 3 type: string required: - email type: object HostPrimaryUserSource: additionalProperties: false properties: email: type: string source: enum: - manual - orbit_profile type: string required: - email - source type: object HostSantaAgent: additionalProperties: false properties: version: type: string required: - version type: object HostSoftware: additionalProperties: false properties: extension_for: type: string id: format: int64 type: integer installed_versions: items: $ref: "#/components/schemas/HostSoftwareInstalledVersion" type: array name: type: string source: enum: - apps - homebrew_packages - chrome_extensions - firefox_addons - safari_extensions - npm_packages - vscode_extensions - jetbrains_plugins - go_binaries - python_packages type: string required: - id - name - source - extension_for - installed_versions type: object HostSoftwareInstalledVersion: additionalProperties: false properties: bundle_identifier: type: string last_opened_at: format: date-time type: string paths: items: $ref: "#/components/schemas/SoftwareInstalledPath" type: array version: type: string required: - version - bundle_identifier - paths type: object HostStorage: additionalProperties: false properties: boot_volume: $ref: "#/components/schemas/HostBootVolume" required: - boot_volume type: object Label: additionalProperties: false properties: builtin_key: enum: - all-hosts readOnly: true type: string created_at: format: date-time type: string criteria: $ref: "#/components/schemas/Criteria" description: type: string host_ids: items: format: int64 type: integer type: array hosts_count: format: int32 type: integer id: format: int64 type: integer label_membership_type: enum: - dynamic - manual - derived type: string label_type: enum: - builtin - regular type: string name: type: string query: type: string updated_at: format: date-time type: string required: - id - name - description - label_type - label_membership_type - hosts_count type: object LabelMutation: additionalProperties: false properties: criteria: $ref: "#/components/schemas/Criteria" description: type: string host_ids: items: format: int64 type: integer type: array label_membership_type: enum: - dynamic - manual - derived type: string name: minLength: 1 type: string query: type: string required: - name type: object LabelRef: additionalProperties: false properties: label_id: format: int64 minimum: 1 type: integer required: - label_id type: object MunkiBuilder: additionalProperties: false properties: banner_fit: enum: - height - cover type: string banner_focal_x: format: int64 maximum: 100 minimum: 0 type: integer banner_object_id: format: int64 type: integer footer_links: items: $ref: "#/components/schemas/MunkiLink" maxItems: 12 type: array footer_text: maxLength: 500 type: string links: items: $ref: "#/components/schemas/MunkiLink" maxItems: 12 type: array required: - banner_object_id - banner_fit - banner_focal_x - links - footer_text - footer_links type: object MunkiClientResources: additionalProperties: false properties: archive: $ref: "#/components/schemas/MunkiObjectView" builder: $ref: "#/components/schemas/MunkiClientResourcesBuilder" created_at: format: date-time type: string custom: type: boolean id: format: int64 type: integer updated_at: format: date-time type: string required: - id - archive - custom - created_at - updated_at type: object MunkiClientResourcesBuilder: additionalProperties: false properties: banner: $ref: "#/components/schemas/MunkiObjectView" banner_fit: enum: - height - cover type: string banner_focal_x: format: int64 maximum: 100 minimum: 0 type: integer footer_links: items: $ref: "#/components/schemas/MunkiLink" type: array footer_text: type: string links: items: $ref: "#/components/schemas/MunkiLink" type: array required: - banner - banner_fit - banner_focal_x - links - footer_text - footer_links type: object MunkiClientResourcesMutation: additionalProperties: false properties: archive_object_id: format: int64 minimum: 1 type: integer builder: $ref: "#/components/schemas/MunkiBuilder" type: object MunkiCreateMutation: additionalProperties: false properties: category: type: string description: type: string developer: type: string display_name: type: string icon_object_id: format: int64 minimum: 1 type: integer name: minLength: 1 type: string targets: $ref: "#/components/schemas/MunkiTargets" required: - name - targets type: object MunkiDistributionPoint: additionalProperties: false properties: client_base_url: type: string client_cidrs: items: type: string type: array created_at: format: date-time type: string enabled: type: boolean id: format: int64 type: integer name: type: string position: format: int32 type: integer updated_at: format: date-time type: string worker: $ref: "#/components/schemas/MunkiDistributionPointWorker" required: - id - name - enabled - position - client_cidrs - client_base_url - created_at - updated_at type: object MunkiDistributionPointDetail: additionalProperties: false properties: client_base_url: type: string client_cidrs: items: type: string type: array created_at: format: date-time type: string enabled: type: boolean id: format: int64 type: integer name: type: string packages: items: $ref: "#/components/schemas/MunkiPackageState" type: array position: format: int32 type: integer updated_at: format: date-time type: string worker: $ref: "#/components/schemas/MunkiDistributionPointWorker" required: - packages - id - name - enabled - position - client_cidrs - client_base_url - created_at - updated_at type: object MunkiDistributionPointKeyBody: additionalProperties: false properties: key: type: string required: - key type: object MunkiDistributionPointMutation: additionalProperties: false properties: client_base_url: format: uri type: string client_cidrs: items: type: string type: array enabled: type: boolean name: minLength: 1 type: string required: - name - enabled - client_cidrs - client_base_url type: object MunkiDistributionPointReorderBody: additionalProperties: false properties: ordered_ids: items: format: int64 type: integer type: array required: - ordered_ids type: object MunkiDistributionPointWorker: additionalProperties: false properties: build_version: type: string compatible: type: boolean protocol_version: format: int64 type: integer required: - compatible type: object MunkiHostManifestLatestPackage: additionalProperties: false properties: strategy: enum: - latest type: string required: - strategy type: object MunkiHostManifestSoftware: additionalProperties: false properties: actions: items: enum: - managed_installs - managed_uninstalls - managed_updates - optional_installs - optional_uninstalls - featured_items - default_installs type: string type: array observation: $ref: "#/components/schemas/MunkiHostManifestSoftwareObservation" package: discriminator: mapping: latest: "#/components/schemas/MunkiHostManifestLatestPackage" specific: "#/components/schemas/MunkiHostManifestSpecificPackage" propertyName: strategy oneOf: - $ref: "#/components/schemas/MunkiHostManifestLatestPackage" - $ref: "#/components/schemas/MunkiHostManifestSpecificPackage" software: $ref: "#/components/schemas/MunkiPackageSoftware" required: - software - package - actions type: object MunkiHostManifestSoftwareObservation: additionalProperties: false properties: display_name: type: string installed: type: boolean installed_version: type: string target_version: type: string required: - display_name - installed - installed_version - target_version type: object MunkiHostManifestSpecificPackage: additionalProperties: false properties: id: format: int64 minimum: 1 type: integer strategy: enum: - specific type: string version: minLength: 1 type: string required: - strategy - id - version type: object MunkiHostState: additionalProperties: false properties: errors: items: type: string type: array manifest_name: type: string problem_installs: items: type: string type: array run_at: format: date-time type: string version: type: string warnings: items: type: string type: array required: - version - manifest_name - errors - warnings - problem_installs type: object MunkiIconFile: additionalProperties: false properties: filename: type: string sha256: type: string size_bytes: format: int64 type: integer required: - filename - size_bytes - sha256 type: object MunkiInclude: additionalProperties: false properties: actions: items: enum: - managed_installs - managed_uninstalls - managed_updates - optional_installs - optional_uninstalls - featured_items - default_installs type: string minItems: 1 type: array label_id: format: int64 minimum: 1 type: integer package: $ref: "#/components/schemas/MunkiPackageSelector" required: - label_id - package - actions type: object MunkiInstallerFile: additionalProperties: false properties: filename: type: string installer_item_location: type: string sha256: type: string size_bytes: format: int64 type: integer required: - filename - installer_item_location - size_bytes - sha256 type: object MunkiLink: additionalProperties: false properties: label: maxLength: 80 type: string open_in_browser: type: boolean target: maxLength: 2048 type: string required: - label - target - open_in_browser type: object MunkiMultipartPartRequest: additionalProperties: false properties: crc64nvme: pattern: ^[0-9a-f]{16}$ type: string required: - crc64nvme type: object MunkiObjectMutation: additionalProperties: false properties: object_id: format: int64 minimum: 1 type: integer required: - object_id type: object MunkiObjectView: additionalProperties: false properties: content_type: type: string content_url: type: string filename: type: string id: format: int64 type: integer sha256: type: string size_bytes: format: int64 type: integer required: - id - filename - content_type - size_bytes - sha256 - content_url type: object MunkiPackage: additionalProperties: false properties: apple_item: type: boolean autoremove: type: boolean blocking_applications: items: type: string type: array blocking_applications_manual_quit_only: type: boolean blocking_applications_none: type: boolean blocking_applications_quit_script: type: string blocking_applications_with_launch_args: items: $ref: "#/components/schemas/MunkiPackageLaunchArguments" type: array created_at: format: date-time type: string custom_action_labels: $ref: "#/components/schemas/MunkiPackageActionLabels" download_on_low_data: enum: - auto - always - never type: string force_install_after_date: format: date-time type: string id: format: int64 type: integer installable_condition: type: string installcheck_script: type: string installed_size: format: int64 type: integer installer_choices_xml: items: $ref: "#/components/schemas/MunkiPackageInstallerChoice" type: array installer_environment: items: $ref: "#/components/schemas/MunkiPackageInstallerEnvironmentVariable" type: array installer_file: $ref: "#/components/schemas/MunkiInstallerFile" installer_object_id: format: int64 type: integer installer_type: enum: - pkg - nopkg - copy_from_dmg type: string installs: items: $ref: "#/components/schemas/MunkiPackageInstallItem" type: array items_to_copy: items: $ref: "#/components/schemas/MunkiPackageItemToCopy" type: array maximum_os_version: type: string minimum_munki_version: type: string minimum_os_version: type: string notes: type: string on_demand: type: boolean package_path: type: string postinstall_script: type: string postuninstall_script: type: string precache: type: boolean preinstall_alert: $ref: "#/components/schemas/MunkiPackageAlert" preinstall_script: type: string preuninstall_alert: $ref: "#/components/schemas/MunkiPackageAlert" preuninstall_script: type: string receipts: items: $ref: "#/components/schemas/MunkiPackageReceipt" type: array requires: items: $ref: "#/components/schemas/MunkiPackageReference" type: array restart_action: enum: - RequireLogout - RecommendRestart - RequireRestart - RequireShutdown type: string restart_action_for_uninstall: enum: - None - RequireLogout - RecommendRestart - RequireRestart - RequireShutdown type: string software: $ref: "#/components/schemas/MunkiPackageSoftware" supported_architectures: items: type: string type: array unattended_install: type: boolean unattended_uninstall: type: boolean uninstall_method: enum: - removepackages - remove_copied_items - uninstall_script type: string uninstall_script: type: string uninstallable: type: boolean uninstallcheck_script: type: string update_for: items: $ref: "#/components/schemas/MunkiPackageReference" type: array updated_at: format: date-time type: string version: type: string version_script: type: string required: - id - software - version - installer_type - unattended_install - unattended_uninstall - uninstallable - minimum_munki_version - minimum_os_version - maximum_os_version - supported_architectures - blocking_applications - blocking_applications_none - installable_condition - blocking_applications_manual_quit_only - blocking_applications_quit_script - blocking_applications_with_launch_args - download_on_low_data - custom_action_labels - requires - update_for - on_demand - precache - autoremove - apple_item - installed_size - package_path - installer_choices_xml - installer_environment - installs - receipts - items_to_copy - notes - installcheck_script - uninstallcheck_script - preinstall_script - postinstall_script - preuninstall_script - postuninstall_script - uninstall_script - version_script - preinstall_alert - preuninstall_alert - created_at - updated_at type: object MunkiPackageActionLabels: additionalProperties: false properties: install: type: string installed: type: string installing: type: string remove: type: string removing: type: string update: type: string type: object MunkiPackageAlert: additionalProperties: false properties: cancel_label: type: string detail: type: string enabled: type: boolean ok_label: type: string title: type: string required: - enabled type: object MunkiPackageCreateMutation: additionalProperties: false properties: apple_item: type: boolean autoremove: type: boolean blocking_applications: items: type: string type: array blocking_applications_manual_quit_only: type: boolean blocking_applications_none: type: boolean blocking_applications_quit_script: type: string blocking_applications_with_launch_args: items: $ref: "#/components/schemas/MunkiPackageLaunchArguments" type: array custom_action_labels: $ref: "#/components/schemas/MunkiPackageActionLabels" download_on_low_data: enum: - auto - always - never type: string force_install_after_date: format: date-time type: string installable_condition: type: string installcheck_script: type: string installed_size: format: int64 minimum: 0 type: integer installer_choices_xml: items: $ref: "#/components/schemas/MunkiPackageInstallerChoice" type: array installer_environment: items: $ref: "#/components/schemas/MunkiPackageInstallerEnvironmentVariable" type: array installer_object_id: format: int64 minimum: 1 type: integer installer_type: enum: - pkg - nopkg - copy_from_dmg type: string installs: items: $ref: "#/components/schemas/MunkiPackageInstallItem" type: array items_to_copy: items: $ref: "#/components/schemas/MunkiPackageItemToCopy" type: array maximum_os_version: type: string minimum_munki_version: type: string minimum_os_version: type: string notes: type: string on_demand: type: boolean package_path: type: string postinstall_script: type: string postuninstall_script: type: string precache: type: boolean preinstall_alert: $ref: "#/components/schemas/MunkiPackageAlert" preinstall_script: type: string preuninstall_alert: $ref: "#/components/schemas/MunkiPackageAlert" preuninstall_script: type: string receipts: items: $ref: "#/components/schemas/MunkiPackageReceipt" type: array requires: items: $ref: "#/components/schemas/MunkiPackageReferenceMutation" type: array restart_action: enum: - RequireLogout - RecommendRestart - RequireRestart - RequireShutdown type: string restart_action_for_uninstall: enum: - None - RequireLogout - RecommendRestart - RequireRestart - RequireShutdown type: string software_id: format: int64 minimum: 1 type: integer supported_architectures: items: type: string type: array unattended_install: type: boolean unattended_uninstall: type: boolean uninstall_method: enum: - removepackages - remove_copied_items - uninstall_script type: string uninstall_script: type: string uninstallable: type: boolean uninstallcheck_script: type: string update_for: items: $ref: "#/components/schemas/MunkiPackageReferenceMutation" type: array version: minLength: 1 type: string version_script: type: string required: - software_id - version type: object MunkiPackageInstallItem: additionalProperties: false properties: bundle_identifier: type: string bundle_name: type: string bundle_short_version: type: string bundle_version: type: string installer_item_location: type: string md5checksum: type: string minimum_os_version: type: string minimum_update_version: type: string path: minLength: 1 type: string type: enum: - application - bundle - plist - file type: string version_comparison_key: type: string required: - type - path type: object MunkiPackageInstallerChoice: additionalProperties: false properties: attribute_setting: format: int32 type: integer choice_attribute: type: string choice_identifier: minLength: 1 type: string required: - attribute_setting type: object MunkiPackageInstallerEnvironmentVariable: additionalProperties: false properties: name: minLength: 1 type: string value: type: string required: - name - value type: object MunkiPackageItemToCopy: additionalProperties: false properties: destination_item: type: string destination_path: minLength: 1 type: string group: type: string mode: type: string source_item: minLength: 1 type: string user: type: string required: - source_item - destination_path type: object MunkiPackageLaunchArguments: additionalProperties: false properties: application: minLength: 1 type: string arguments: items: type: string type: array required: - application - arguments type: object MunkiPackageMutation: additionalProperties: false properties: apple_item: type: boolean autoremove: type: boolean blocking_applications: items: type: string type: array blocking_applications_manual_quit_only: type: boolean blocking_applications_none: type: boolean blocking_applications_quit_script: type: string blocking_applications_with_launch_args: items: $ref: "#/components/schemas/MunkiPackageLaunchArguments" type: array custom_action_labels: $ref: "#/components/schemas/MunkiPackageActionLabels" download_on_low_data: enum: - auto - always - never type: string force_install_after_date: format: date-time type: string installable_condition: type: string installcheck_script: type: string installed_size: format: int64 minimum: 0 type: integer installer_choices_xml: items: $ref: "#/components/schemas/MunkiPackageInstallerChoice" type: array installer_environment: items: $ref: "#/components/schemas/MunkiPackageInstallerEnvironmentVariable" type: array installer_object_id: format: int64 minimum: 1 type: integer installer_type: enum: - pkg - nopkg - copy_from_dmg type: string installs: items: $ref: "#/components/schemas/MunkiPackageInstallItem" type: array items_to_copy: items: $ref: "#/components/schemas/MunkiPackageItemToCopy" type: array maximum_os_version: type: string minimum_munki_version: type: string minimum_os_version: type: string notes: type: string on_demand: type: boolean package_path: type: string postinstall_script: type: string postuninstall_script: type: string precache: type: boolean preinstall_alert: $ref: "#/components/schemas/MunkiPackageAlert" preinstall_script: type: string preuninstall_alert: $ref: "#/components/schemas/MunkiPackageAlert" preuninstall_script: type: string receipts: items: $ref: "#/components/schemas/MunkiPackageReceipt" type: array requires: items: $ref: "#/components/schemas/MunkiPackageReferenceMutation" type: array restart_action: enum: - RequireLogout - RecommendRestart - RequireRestart - RequireShutdown type: string restart_action_for_uninstall: enum: - None - RequireLogout - RecommendRestart - RequireRestart - RequireShutdown type: string supported_architectures: items: type: string type: array unattended_install: type: boolean unattended_uninstall: type: boolean uninstall_method: enum: - removepackages - remove_copied_items - uninstall_script type: string uninstall_script: type: string uninstallable: type: boolean uninstallcheck_script: type: string update_for: items: $ref: "#/components/schemas/MunkiPackageReferenceMutation" type: array version: minLength: 1 type: string version_script: type: string required: - version type: object MunkiPackageReceipt: additionalProperties: false properties: installed_size: format: int64 minimum: 0 type: integer name: type: string optional: type: boolean package_id: minLength: 1 type: string version: type: string required: - package_id type: object MunkiPackageReference: additionalProperties: false properties: package_id: format: int64 minimum: 0 type: integer package_version: type: string software_id: format: int64 minimum: 1 type: integer software_name: type: string required: - software_id - software_name type: object MunkiPackageReferenceMutation: additionalProperties: false properties: package_id: format: int64 minimum: 0 type: integer software_id: format: int64 minimum: 1 type: integer required: - software_id type: object MunkiPackageSelector: additionalProperties: false properties: package_id: format: int64 minimum: 1 type: integer strategy: enum: - latest - specific type: string required: - strategy type: object MunkiPackageSoftware: additionalProperties: false properties: category: type: string description: type: string developer: type: string display_name: type: string icon_url: type: string id: format: int64 type: integer name: type: string required: - id - name - description - category - developer type: object MunkiPackageState: additionalProperties: false properties: error: type: string name: type: string package_id: format: int64 type: integer software_icon_url: type: string software_id: format: int64 type: integer status: enum: - pending - syncing - current - error type: string version: type: string required: - package_id - software_id - name - version - status type: object MunkiRevealedDistributionPoint: additionalProperties: false properties: client_base_url: type: string client_cidrs: items: type: string type: array created_at: format: date-time type: string enabled: type: boolean id: format: int64 type: integer key: type: string name: type: string position: format: int32 type: integer updated_at: format: date-time type: string worker: $ref: "#/components/schemas/MunkiDistributionPointWorker" required: - key - id - name - enabled - position - client_cidrs - client_base_url - created_at - updated_at type: object MunkiSoftware: additionalProperties: false properties: category: type: string created_at: format: date-time type: string description: type: string developer: type: string display_name: type: string icon_file: $ref: "#/components/schemas/MunkiIconFile" icon_object_id: format: int64 type: integer icon_url: type: string id: format: int64 type: integer name: type: string updated_at: format: date-time type: string required: - id - name - description - category - developer - created_at - updated_at type: object MunkiSoftwareDetail: additionalProperties: false properties: category: type: string created_at: format: date-time type: string description: type: string developer: type: string display_name: type: string icon_file: $ref: "#/components/schemas/MunkiIconFile" icon_object_id: format: int64 type: integer icon_url: type: string id: format: int64 type: integer name: type: string packages: items: $ref: "#/components/schemas/MunkiPackage" type: array targets: $ref: "#/components/schemas/MunkiTargets" updated_at: format: date-time type: string required: - packages - targets - id - name - description - category - developer - created_at - updated_at type: object MunkiTargets: additionalProperties: false properties: exclude: items: $ref: "#/components/schemas/LabelRef" type: array include: items: $ref: "#/components/schemas/MunkiInclude" type: array required: - include - exclude type: object MunkiUpdateMutation: additionalProperties: false properties: category: type: string description: type: string developer: type: string display_name: type: string icon_object_id: format: int64 minimum: 1 type: integer targets: $ref: "#/components/schemas/MunkiTargets" required: - targets type: object MunkiUploadRequest: additionalProperties: false properties: crc64nvme: pattern: ^[0-9a-f]{16}$ type: string filename: type: string sha256: pattern: ^[0-9a-f]{64}$ type: string size_bytes: format: int64 minimum: 0 type: integer required: - filename - size_bytes - sha256 - crc64nvme type: object MunkiUploadTarget: additionalProperties: false properties: object_id: format: int64 type: integer upload: oneOf: - additionalProperties: false properties: strategy: enum: - direct-put type: string target: $ref: "#/components/schemas/UploadTarget" required: - strategy - target type: object - additionalProperties: false properties: strategy: enum: - multipart type: string required: - strategy type: object required: - object_id - upload type: object OsqueryHandle: additionalProperties: false properties: id: format: int64 type: integer resolved_host_count: format: int32 type: integer sql: type: string started_at: format: date-time type: string required: - id - sql - started_at - resolved_host_count type: object OsqueryHostStatusPoint: additionalProperties: false properties: bucket: format: date-time type: string offline_count: format: int32 type: integer online_count: format: int32 type: integer required: - bucket - online_count - offline_count type: object OsqueryLiveQueryCompletedEvent: additionalProperties: false properties: type: enum: - completed type: string required: - type type: object OsqueryLiveQueryCreateBody: additionalProperties: false properties: selected: $ref: "#/components/schemas/OsqueryLiveQuerySelectedBody" sql: type: string required: - sql type: object OsqueryLiveQueryPingEvent: additionalProperties: false properties: type: enum: - ping type: string required: - type type: object OsqueryLiveQuerySelectedBody: additionalProperties: false properties: hosts: items: format: int64 type: integer type: array labels: items: format: int64 type: integer type: array type: object OsqueryLiveQuerySnapshotEvent: additionalProperties: false properties: error: type: string host_id: format: int64 type: integer host_name: type: string rows: items: additionalProperties: type: string type: object type: array status: enum: - pending - collected - error - stopped type: string type: enum: - snapshot type: string updated_at: format: date-time type: string required: - type - host_id - host_name - status - rows - updated_at type: object OsqueryLiveQueryTargetCountBody: additionalProperties: false properties: selected: $ref: "#/components/schemas/OsqueryLiveQuerySelectedBody" type: object OsqueryLiveQueryTargetCountOutputBody: additionalProperties: false properties: targets_count: format: int32 type: integer targets_offline: format: int32 type: integer targets_online: format: int32 type: integer required: - targets_count - targets_online - targets_offline type: object OsqueryPolicy: additionalProperties: false properties: created_at: format: date-time type: string created_by: $ref: "#/components/schemas/UserSummary" description: type: string error_host_count: format: int32 type: integer failing_host_count: format: int32 type: integer id: format: int64 type: integer name: type: string passing_host_count: format: int32 type: integer pending_host_count: format: int32 type: integer query: type: string remediation: $ref: "#/components/schemas/OsqueryPolicyRemediationSummary" resolution: type: string targets: $ref: "#/components/schemas/OsqueryPolicyTargets" updated_at: format: date-time type: string required: - id - name - description - resolution - query - targets - remediation - passing_host_count - failing_host_count - error_host_count - pending_host_count - created_at - updated_at type: object OsqueryPolicyHostStatus: additionalProperties: false properties: error: type: string host_id: format: int64 type: integer host_name: type: string policy_id: format: int64 type: integer policy_name: type: string remediation: $ref: "#/components/schemas/OsqueryPolicyRemediationRunSummary" status: enum: - pending - pass - fail - error type: string updated_at: format: date-time type: string required: - policy_id - policy_name - host_id - host_name - status type: object OsqueryPolicyMutation: additionalProperties: false properties: description: type: string name: minLength: 1 type: string query: minLength: 1 type: string remediation: $ref: "#/components/schemas/OsqueryPolicyRemediationMutation" resolution: type: string targets: $ref: "#/components/schemas/OsqueryPolicyTargets" required: - name - query - targets type: object OsqueryPolicyRemediationBatchSummary: additionalProperties: false properties: queued: format: int64 type: integer skipped: format: int64 type: integer required: - queued - skipped type: object OsqueryPolicyRemediationMutation: additionalProperties: false properties: automatic: type: boolean script: minLength: 1 type: string required: - script - automatic type: object OsqueryPolicyRemediationRun: additionalProperties: false properties: automatic: type: boolean exit_code: format: int64 type: integer output: type: string runtime_seconds: format: int64 type: integer status: enum: - queued - succeeded - failed type: string required: - output - status - automatic type: object OsqueryPolicyRemediationRunSummary: additionalProperties: false properties: automatic: type: boolean status: enum: - queued - succeeded - failed type: string required: - status - automatic type: object OsqueryPolicyRemediationSource: additionalProperties: false properties: script: type: string required: - script type: object OsqueryPolicyRemediationSummary: additionalProperties: false properties: automatic: type: boolean configured: type: boolean required: - configured - automatic type: object OsqueryPolicyStatusPoint: additionalProperties: false properties: bucket: format: date-time type: string error_count: format: int32 type: integer fail_count: format: int32 type: integer pass_count: format: int32 type: integer pending_count: format: int32 type: integer required: - bucket - pass_count - fail_count - error_count - pending_count type: object OsqueryPolicyTargets: additionalProperties: false properties: exclude: items: $ref: "#/components/schemas/LabelRef" type: array include: items: $ref: "#/components/schemas/LabelRef" type: array required: - include - exclude type: object OsqueryReport: additionalProperties: false properties: collected_host_count: format: int32 type: integer created_at: format: date-time type: string created_by: $ref: "#/components/schemas/UserSummary" description: type: string error_host_count: format: int32 type: integer id: format: int64 type: integer min_osquery_version: type: string name: type: string pending_host_count: format: int32 type: integer query: type: string schedule_interval: format: int32 type: integer targets: $ref: "#/components/schemas/OsqueryReportTargets" updated_at: format: date-time type: string required: - id - name - description - query - schedule_interval - targets - collected_host_count - error_host_count - pending_host_count - created_at - updated_at type: object OsqueryReportMutation: additionalProperties: false properties: description: type: string min_osquery_version: pattern: ^(0|[1-9][0-9]*)[.](0|[1-9][0-9]*)[.](0|[1-9][0-9]*)$ type: string name: minLength: 1 type: string query: minLength: 1 type: string schedule_interval: format: int32 type: integer targets: $ref: "#/components/schemas/OsqueryReportTargets" required: - name - query - targets type: object OsqueryReportSnapshot: additionalProperties: false properties: error: type: string host_id: format: int64 type: integer host_name: type: string report_description: type: string report_id: format: int64 type: integer report_name: type: string reported_at: format: date-time type: string result_row_count: format: int32 type: integer returned_row_count: format: int32 type: integer rows: items: additionalProperties: type: string type: object type: array status: enum: - collected - error - pending type: string required: - report_id - report_name - host_id - host_name - status - result_row_count - returned_row_count - rows type: object OsqueryReportTargets: additionalProperties: false properties: exclude: items: $ref: "#/components/schemas/LabelRef" type: array include: items: $ref: "#/components/schemas/LabelRef" type: array required: - include - exclude type: object PageActivityEvent: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/ActivityEvent" type: array required: - items - count type: object PageConfiguration: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/SantaConfiguration" type: array required: - items - count type: object PageDepartment: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/Department" type: array required: - items - count type: object PageDistributionPoint: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/MunkiDistributionPoint" type: array required: - items - count type: object PageExecutionEvent: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/SantaExecutionEvent" type: array required: - items - count type: object PageFileAccessEvent: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/SantaFileAccessEvent" type: array required: - items - count type: object PageGroup: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/Group" type: array required: - items - count type: object PageHost: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/Host" type: array required: - items - count type: object PageHostManifestSoftware: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/MunkiHostManifestSoftware" type: array required: - items - count type: object PageHostSoftware: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/HostSoftware" type: array required: - items - count type: object PageLabel: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/Label" type: array required: - items - count type: object PageMunkiClientResources: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/MunkiClientResources" type: array required: - items - count type: object PageMunkiObjectView: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/MunkiObjectView" type: array required: - items - count type: object PagePackage: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/MunkiPackage" type: array required: - items - count type: object PagePolicy: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/OsqueryPolicy" type: array required: - items - count type: object PagePolicyHostStatus: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/OsqueryPolicyHostStatus" type: array required: - items - count type: object PageReport: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/OsqueryReport" type: array required: - items - count type: object PageReportSnapshot: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/OsqueryReportSnapshot" type: array required: - items - count type: object PageRule: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/SantaRule" type: array required: - items - count type: object PageRuleStatus: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/SantaRuleStatus" type: array required: - items - count type: object PageSoftware: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/MunkiSoftware" type: array required: - items - count type: object PageSoftwareTitle: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/SoftwareTitle" type: array required: - items - count type: object PageUser: additionalProperties: false properties: count: format: int64 type: integer items: items: $ref: "#/components/schemas/User" type: array required: - items - count type: object Principal: additionalProperties: false properties: email: format: email type: string id: format: int64 type: integer name: type: string required: - id - email - name type: object PublicIPDetails: additionalProperties: false properties: asn: format: int32 minimum: 0 type: integer city: type: string country: type: string country_code: type: string distribution_point: $ref: "#/components/schemas/PublicIPDistributionPoint" latitude: format: double type: number longitude: format: double type: number organization: type: string region: type: string type: object PublicIPDistributionPoint: additionalProperties: false properties: id: format: int64 type: integer name: type: string required: - id - name type: object SantaConfiguration: additionalProperties: false properties: allowed_path_regex: type: string batch_size: format: int32 maximum: 100 minimum: 5 type: integer blocked_path_regex: type: string client_mode: enum: - monitor - lockdown - standalone type: string created_at: format: date-time type: string description: type: string disable_unknown_event_upload: type: boolean enable_all_event_upload: type: boolean enable_bundles: type: boolean enable_transitive_rules: type: boolean encrypted_removable_media_policy: $ref: "#/components/schemas/SantaRemovableMediaPolicy" event_detail_text: type: string event_detail_url: format: uri type: string full_sync_interval_seconds: format: int32 minimum: 60 type: integer id: format: int64 type: integer name: type: string override_file_access_action: enum: - none - audit_only - disable type: string position: format: int32 type: integer removable_media_policy: $ref: "#/components/schemas/SantaRemovableMediaPolicy" targets: $ref: "#/components/schemas/SantaConfigurationTargets" updated_at: format: date-time type: string required: - id - name - description - position - targets - created_at - updated_at - client_mode - enable_bundles - enable_transitive_rules - enable_all_event_upload - disable_unknown_event_upload - override_file_access_action - full_sync_interval_seconds - batch_size type: object SantaConfigurationMatch: additionalProperties: false properties: allowed_path_regex: type: string batch_size: format: int32 maximum: 100 minimum: 5 type: integer blocked_path_regex: type: string client_mode: enum: - monitor - lockdown - standalone type: string created_at: format: date-time type: string description: type: string disable_unknown_event_upload: type: boolean enable_all_event_upload: type: boolean enable_bundles: type: boolean enable_transitive_rules: type: boolean encrypted_removable_media_policy: $ref: "#/components/schemas/SantaRemovableMediaPolicy" event_detail_text: type: string event_detail_url: format: uri type: string full_sync_interval_seconds: format: int32 minimum: 60 type: integer id: format: int64 type: integer matched_via_label: $ref: "#/components/schemas/SantaLabelMatch" name: type: string override_file_access_action: enum: - none - audit_only - disable type: string position: format: int32 type: integer removable_media_policy: $ref: "#/components/schemas/SantaRemovableMediaPolicy" targets: $ref: "#/components/schemas/SantaConfigurationTargets" updated_at: format: date-time type: string required: - id - name - description - position - targets - created_at - updated_at - client_mode - enable_bundles - enable_transitive_rules - enable_all_event_upload - disable_unknown_event_upload - override_file_access_action - full_sync_interval_seconds - batch_size type: object SantaConfigurationMutation: additionalProperties: false properties: allowed_path_regex: type: string batch_size: format: int32 maximum: 100 minimum: 5 type: integer blocked_path_regex: type: string client_mode: enum: - monitor - lockdown - standalone type: string description: type: string disable_unknown_event_upload: type: boolean enable_all_event_upload: type: boolean enable_bundles: type: boolean enable_transitive_rules: type: boolean encrypted_removable_media_policy: $ref: "#/components/schemas/SantaRemovableMediaPolicy" event_detail_text: type: string event_detail_url: format: uri type: string full_sync_interval_seconds: format: int32 minimum: 60 type: integer name: minLength: 1 type: string override_file_access_action: enum: - none - audit_only - disable type: string removable_media_policy: $ref: "#/components/schemas/SantaRemovableMediaPolicy" targets: $ref: "#/components/schemas/SantaConfigurationTargets" required: - name - targets - client_mode - enable_bundles - enable_transitive_rules - enable_all_event_upload - disable_unknown_event_upload - override_file_access_action - full_sync_interval_seconds - batch_size type: object SantaConfigurationReorderBody: additionalProperties: false properties: ordered_ids: items: format: int64 type: integer type: array required: - ordered_ids type: object SantaConfigurationTargets: additionalProperties: false properties: exclude: items: $ref: "#/components/schemas/LabelRef" type: array include: items: $ref: "#/components/schemas/LabelRef" type: array required: - include - exclude type: object SantaExecutable: additionalProperties: false properties: cdhash: type: string codesigning_flags: format: uint32 minimum: 0 type: integer entitlements: {} file_bundle_binary_count: format: uint32 minimum: 0 type: integer file_bundle_executable_rel_path: type: string file_bundle_hash: type: string file_bundle_hash_millis: format: uint32 minimum: 0 type: integer file_bundle_id: type: string file_bundle_name: type: string file_bundle_path: type: string file_bundle_version: type: string file_bundle_version_string: type: string file_name: type: string id: format: int64 type: integer secure_signing_time: format: date-time type: string sha256: type: string signing_chain: items: $ref: "#/components/schemas/SantaSigningChainEntry" type: array signing_id: type: string signing_status: enum: - unspecified - unsigned - invalid - adhoc - development - production type: string signing_time: format: date-time type: string team_id: type: string required: - id - sha256 - file_name - file_bundle_id - file_bundle_path - file_bundle_executable_rel_path - file_bundle_name - file_bundle_version - file_bundle_version_string - file_bundle_hash - file_bundle_hash_millis - file_bundle_binary_count - signing_id - team_id - cdhash - codesigning_flags - signing_status type: object SantaExecutionEvent: additionalProperties: false properties: current_sessions: items: type: string type: array decision: enum: - unknown - allow_unknown - allow_binary - allow_certificate - allow_scope - allow_teamid - allow_signingid - allow_cdhash - block_unknown - block_binary - block_certificate - block_scope - block_teamid - block_signingid - block_cdhash - bundle_binary - block_binary_mismatch - allow_platform type: string executable: $ref: "#/components/schemas/SantaExecutable" executing_user: type: string file_path: type: string host: $ref: "#/components/schemas/SantaHostSummary" host_id: format: int64 type: integer id: format: int64 type: integer ingested_at: format: date-time type: string logged_in_users: items: type: string type: array occurred_at: format: date-time type: string parent_name: type: string pid: format: int32 type: integer ppid: format: int32 type: integer static_rule: type: boolean required: - id - host_id - host - executable - file_path - executing_user - pid - ppid - parent_name - logged_in_users - current_sessions - decision - static_rule - occurred_at - ingested_at type: object SantaFileAccessEvent: additionalProperties: false properties: decision: enum: - unknown - denied - denied_invalid_signature - audit_only type: string host: $ref: "#/components/schemas/SantaHostSummary" host_id: format: int64 type: integer id: format: int64 type: integer ingested_at: format: date-time type: string occurred_at: format: date-time type: string primary_process: $ref: "#/components/schemas/SantaProcess" process_chain: items: $ref: "#/components/schemas/SantaProcess" type: array rule_name: type: string rule_version: type: string target: type: string required: - id - host_id - host - rule_version - rule_name - target - decision - primary_process - occurred_at - ingested_at type: object SantaHostState: additionalProperties: false properties: client_mode_reported: enum: - unknown - monitor - lockdown - standalone type: string configuration: $ref: "#/components/schemas/SantaConfigurationMatch" rule_sync: $ref: "#/components/schemas/SantaRuleSyncSummary" version: type: string required: - version - client_mode_reported - rule_sync type: object SantaHostSummary: additionalProperties: false properties: computer_name: type: string display_name: type: string hardware: $ref: "#/components/schemas/SantaHostSummaryHardware" hostname: type: string id: format: int64 type: integer santa_client_mode: enum: - unknown - monitor - lockdown - standalone type: string santa_machine_id: type: string santa_version: type: string required: - id - display_name - hostname - computer_name - hardware - santa_machine_id - santa_version - santa_client_mode type: object SantaHostSummaryHardware: additionalProperties: false properties: model_identifier: type: string serial: type: string required: - serial - model_identifier type: object SantaLabelMatch: additionalProperties: false properties: id: format: int64 type: integer name: type: string required: - id - name type: object SantaProcess: additionalProperties: false properties: cdhash: type: string file_name: type: string file_path: type: string file_sha256: type: string pid: format: int32 type: integer signing_chain: items: $ref: "#/components/schemas/SantaSigningChainEntry" type: array signing_id: type: string team_id: type: string required: - pid - file_path - file_name - file_sha256 - signing_id - team_id - cdhash type: object SantaRemovableMediaPolicy: additionalProperties: false properties: action: enum: - allow - block - remount type: string remount_flags: description: Mount flags required when action is remount. items: enum: - rdonly - noexec - nosuid - nobrowse - noowners - nodev - -j - async type: string type: array required: - action type: object SantaRule: additionalProperties: false properties: created_at: format: date-time type: string custom_message: type: string custom_url: type: string description: type: string id: format: int64 type: integer identifier: type: string name: type: string rule_type: enum: - binary - certificate - teamid - signingid - cdhash - bundle type: string targets: $ref: "#/components/schemas/SantaRuleTargets" updated_at: format: date-time type: string required: - id - rule_type - identifier - name - description - custom_message - custom_url - targets - created_at - updated_at type: object SantaRuleInclude: additionalProperties: false properties: cel_expression: type: string label_id: format: int64 minimum: 1 type: integer policy: enum: - allowlist - allowlist_compiler - blocklist - silent_blocklist - silent_gui_blocklist - silent_tty_blocklist - cel type: string required: - policy - label_id type: object SantaRuleMutation: additionalProperties: false properties: custom_message: type: string custom_url: format: uri type: string description: type: string identifier: minLength: 1 type: string name: minLength: 1 type: string rule_type: enum: - binary - certificate - teamid - signingid - cdhash - bundle type: string targets: $ref: "#/components/schemas/SantaRuleTargets" required: - rule_type - identifier - name - targets type: object SantaRuleStatus: additionalProperties: false properties: applied: type: boolean cel_expression: type: string custom_message: type: string custom_url: type: string description: type: string identifier: type: string name: type: string notification_app_name: type: string policy: enum: - allowlist - allowlist_compiler - blocklist - silent_blocklist - silent_gui_blocklist - silent_tty_blocklist - cel type: string rule_id: format: int64 type: integer rule_type: enum: - binary - certificate - teamid - signingid - cdhash - bundle type: string required: - applied - rule_id - rule_type - identifier - name - description - policy type: object SantaRuleSyncSummary: additionalProperties: false properties: applied_count: format: int32 type: integer desired_count: format: int32 type: integer last_clean_sync_at: format: date-time type: string required: - desired_count - applied_count type: object SantaRuleTargets: additionalProperties: false properties: exclude: items: $ref: "#/components/schemas/LabelRef" type: array include: items: $ref: "#/components/schemas/SantaRuleInclude" type: array required: - include - exclude type: object SantaSigningChainEntry: additionalProperties: false properties: common_name: type: string organization: type: string organizational_unit: type: string sha256: type: string valid_from: format: date-time type: string valid_until: format: date-time type: string required: - sha256 type: object SessionBody: additionalProperties: false properties: sso_enabled: type: boolean user: $ref: "#/components/schemas/Principal" required: - sso_enabled type: object SessionCreateInputBody: additionalProperties: false properties: email: format: email type: string password: type: string required: - email - password type: object SoftwareCodeSignature: additionalProperties: false properties: authority: type: string cdhash: type: string identifier: type: string signed: type: boolean team_identifier: type: string required: - signed - identifier - authority - team_identifier - cdhash type: object SoftwareInstalledPath: additionalProperties: false properties: executable_path: type: string executable_sha256: type: string path: type: string signature: $ref: "#/components/schemas/SoftwareCodeSignature" required: - path - executable_sha256 - executable_path type: object SoftwareSigningIdentity: additionalProperties: false properties: authority: type: string developer_name: type: string hosts_count: format: int32 type: integer identifier: type: string signing_identifier: type: string team_identifier: type: string required: - identifier - signing_identifier - team_identifier - developer_name - authority - hosts_count type: object SoftwareSigningIdentityList: additionalProperties: false properties: count: format: int32 type: integer items: items: $ref: "#/components/schemas/SoftwareSigningIdentity" type: array required: - items - count type: object SoftwareTitle: additionalProperties: false properties: bundle_identifier: type: string extension_for: type: string hosts_count: format: int32 type: integer id: format: int64 type: integer name: type: string signing_identities: $ref: "#/components/schemas/SoftwareSigningIdentityList" source: enum: - apps - homebrew_packages - chrome_extensions - firefox_addons - safari_extensions - npm_packages - vscode_extensions - jetbrains_plugins - go_binaries - python_packages type: string versions: $ref: "#/components/schemas/SoftwareVersionList" required: - id - name - source - extension_for - hosts_count - versions - signing_identities type: object SoftwareVersion: additionalProperties: false properties: bundle_identifier: type: string hosts_count: format: int32 type: integer id: format: int64 type: integer version: type: string required: - id - version - hosts_count type: object SoftwareVersionList: additionalProperties: false properties: count: format: int32 type: integer items: items: $ref: "#/components/schemas/SoftwareVersion" type: array required: - items - count type: object Subject: additionalProperties: false properties: id: format: int64 type: integer name: type: string type: type: string required: - type - name type: object SyncRun: additionalProperties: false properties: duration_ms: format: int64 type: integer error: type: string finished_at: format: date-time type: string groups: format: int64 type: integer id: format: int64 type: integer outcome: enum: - succeeded - failed type: string queued_at: format: date-time type: string started_at: format: date-time type: string trigger: enum: - scheduled - manual type: string users: format: int64 type: integer required: - id - trigger - queued_at type: object SyncStatus: additionalProperties: false properties: activity: enum: - idle - queued - running type: string current_run: $ref: "#/components/schemas/SyncRun" enabled: type: boolean last_run: $ref: "#/components/schemas/SyncRun" required: - enabled - activity type: object UploadTarget: additionalProperties: false properties: headers: additionalProperties: type: string type: object method: enum: - PUT type: string url: type: string required: - url - method type: object User: additionalProperties: false properties: created_at: format: date-time type: string deleted_at: format: date-time type: string department: type: string email: format: email type: string enabled: type: boolean external_id: type: string family_name: type: string given_name: type: string id: format: int64 type: integer mail_nickname: type: string name: type: string role: enum: - admin - viewer type: string source: enum: - local - entra type: string updated_at: format: date-time type: string user_principal_name: type: string required: - id - email - name - source - enabled - created_at - updated_at type: object UserCreate: additionalProperties: false properties: email: format: email type: string name: type: string password: minLength: 12 type: string role: enum: - admin - viewer type: string required: - email - role - password type: object UserMutation: additionalProperties: false properties: name: type: string password: type: string role: enum: - admin - viewer type: string required: - name type: object UserSummary: additionalProperties: false properties: email: format: email type: string id: format: int64 type: integer name: type: string required: - id - email - name type: object securitySchemes: bearerAuth: bearerFormat: API key scheme: bearer type: http cookieAuth: in: cookie name: woodstar_session type: apiKey info: license: name: Apache-2.0 title: API version: 0.0.0-dev openapi: 3.1.0 paths: /api/account: get: operationId: get-account responses: "200": content: application/json: schema: $ref: "#/components/schemas/Account" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get account tags: - Account put: operationId: update-account requestBody: content: application/json: schema: $ref: "#/components/schemas/AccountMutation" required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/Account" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Update account tags: - Account /api/account/api-key: delete: operationId: revoke-account-api-key responses: "200": content: application/json: schema: $ref: "#/components/schemas/Account" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Revoke API key tags: - Account post: operationId: rotate-account-api-key responses: "201": content: application/json: schema: $ref: "#/components/schemas/Account" description: Created "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Rotate API key tags: - Account /api/activity: get: operationId: list-activity parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - explode: false in: query name: area schema: enum: - hosts - osquery type: string - explode: false in: query name: actor_kind schema: enum: - user - system type: string - explode: false in: query name: action schema: enum: - orbit_host_enrolled - osquery_host_enrolled - host_deleted - hosts_deleted - host_inventory_requested - host_primary_user_set - host_primary_user_cleared - policy_created - policy_updated - policy_deleted - policies_deleted - policy_remediation_requested - report_created - report_updated - report_deleted - reports_deleted - live_query_started - live_query_stopped type: string - explode: false in: query name: since schema: format: date-time type: string - explode: false in: query name: before schema: format: date-time type: string - explode: false in: query name: subject_type schema: type: string - explode: false in: query name: subject_id schema: format: int64 minimum: 1 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageActivityEvent" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: List activity tags: - Activity x-authz: access: view resource: activity /api/agent-secrets: get: operationId: list-agent-secrets responses: "200": content: application/json: schema: items: $ref: "#/components/schemas/AgentSecret" type: array description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: List agent secrets tags: - Agent secrets x-authz: access: edit resource: agents.secrets post: operationId: create-agent-secret requestBody: content: application/json: schema: $ref: "#/components/schemas/AgentSecretCreate" required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/AgentSecret" description: Created "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Create an agent secret tags: - Agent secrets x-authz: access: edit resource: agents.secrets /api/agent-secrets/{id}: delete: operationId: delete-agent-secret parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "204": description: No Content "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete an agent secret tags: - Agent secrets x-authz: access: edit resource: agents.secrets put: operationId: update-agent-secret parameters: - in: path name: id required: true schema: format: int64 type: integer requestBody: content: application/json: schema: $ref: "#/components/schemas/AgentSecretMutation" required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/AgentSecret" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Update an agent secret tags: - Agent secrets x-authz: access: edit resource: agents.secrets /api/directory/sync: get: operationId: get-directory-sync responses: "200": content: application/json: schema: $ref: "#/components/schemas/SyncStatus" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: Get directory sync status tags: - Directory sync x-authz: access: view resource: directory post: operationId: trigger-directory-sync responses: "202": content: application/json: schema: $ref: "#/components/schemas/SyncStatus" description: Accepted "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Trigger a directory sync tags: - Directory sync x-authz: access: edit resource: directory /api/groups: get: operationId: list-groups parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - explode: false in: query name: values schema: items: type: string type: array responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageGroup" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: List groups tags: - Directory groups x-authz: access: view resource: groups /api/groups/{id}: get: operationId: get-group parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/Group" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get a group tags: - Directory groups x-authz: access: view resource: groups /api/hosts: delete: operationId: bulk-delete-hosts parameters: - explode: false in: query name: ids required: true schema: items: format: int64 type: integer minItems: 1 type: array responses: "204": description: No Content "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete hosts tags: - Hosts x-authz: access: edit resource: hosts get: operationId: list-hosts parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - explode: false in: query name: status schema: enum: - online - offline type: string - explode: false in: query name: label_id schema: format: int64 type: integer - explode: false in: query name: software_title_id schema: format: int64 type: integer - explode: false in: query name: software_id schema: format: int64 type: integer - explode: false in: query name: ids schema: items: format: int64 type: integer type: array responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageHost" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: List hosts tags: - Hosts x-authz: access: view resource: hosts /api/hosts/{id}: delete: operationId: delete-host parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "204": description: No Content "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete a host tags: - Hosts x-authz: access: edit resource: hosts get: operationId: get-host parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/HostDetail" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get a host tags: - Hosts x-authz: access: view resource: hosts /api/hosts/{id}/inventory-refresh: post: operationId: request-host-inventory-refresh parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "202": description: Accepted "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Request host inventory refresh tags: - Hosts x-authz: access: edit resource: hosts /api/hosts/{id}/munki: get: operationId: get-host-munki-state parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/MunkiHostState" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get Munki state for a host tags: - Hosts x-authz: access: view resource: munki.software /api/hosts/{id}/munki/software: get: operationId: list-host-munki-software parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageHostManifestSoftware" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: List Munki software for a host tags: - Hosts x-authz: access: view resource: munki.software /api/hosts/{id}/osquery/policies: get: operationId: list-host-osquery-policies parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - in: path name: id required: true schema: format: int64 type: integer - explode: false in: query name: status schema: items: enum: - pending - pass - fail - error type: string type: array responses: "200": content: application/json: schema: $ref: "#/components/schemas/PagePolicyHostStatus" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: List policies for a host tags: - Hosts x-authz: access: view resource: osquery.policies /api/hosts/{id}/osquery/reports: get: operationId: list-host-osquery-reports parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - in: path name: id required: true schema: format: int64 type: integer - explode: false in: query name: status schema: enum: - collected - error - pending type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageReportSnapshot" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: List reports for a host tags: - Hosts x-authz: access: view resource: osquery.reports /api/hosts/{id}/primary-user: delete: operationId: clear-host-primary-user parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/HostDetail" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Clear primary user for a host tags: - Hosts x-authz: access: edit resource: hosts put: operationId: set-host-primary-user parameters: - in: path name: id required: true schema: format: int64 type: integer requestBody: content: application/json: schema: $ref: "#/components/schemas/HostPrimaryUserPutBody" required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/HostDetail" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Set primary user for a host tags: - Hosts x-authz: access: edit resource: hosts /api/hosts/{id}/santa: get: operationId: get-host-santa-state parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/SantaHostState" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get Santa state for a host tags: - Hosts x-authz: access: view resource: santa.configurations /api/hosts/{id}/santa/rules: get: operationId: list-host-santa-rules parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageRuleStatus" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: List Santa rules for a host tags: - Hosts x-authz: access: view resource: santa.rules /api/hosts/{id}/software: get: operationId: list-host-software parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - in: path name: id required: true schema: format: int64 type: integer - explode: false in: query name: source schema: items: enum: - apps - homebrew_packages - chrome_extensions - firefox_addons - safari_extensions - npm_packages - vscode_extensions - jetbrains_plugins - go_binaries - python_packages type: string type: array responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageHostSoftware" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: List software for a host tags: - Hosts x-authz: access: view resource: software /api/labels: get: operationId: list-labels parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - explode: false in: query name: label_type schema: enum: - builtin - regular type: string - explode: false in: query name: label_membership_type schema: items: enum: - dynamic - manual - derived type: string type: array responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageLabel" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: List labels tags: - Labels x-authz: access: view resource: labels post: operationId: create-label requestBody: content: application/json: schema: $ref: "#/components/schemas/LabelMutation" required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/Label" description: Created "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Create a label tags: - Labels x-authz: access: edit resource: labels /api/labels/{id}: delete: operationId: delete-label parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "204": description: No Content "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete a label tags: - Labels x-authz: access: edit resource: labels get: operationId: get-label parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/Label" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get a label tags: - Labels x-authz: access: view resource: labels put: operationId: update-label parameters: - in: path name: id required: true schema: format: int64 type: integer requestBody: content: application/json: schema: $ref: "#/components/schemas/LabelMutation" required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/Label" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Update a label tags: - Labels x-authz: access: edit resource: labels /api/munki/client-resources: get: operationId: list-munki-client-resources parameters: - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageMunkiClientResources" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: List client resources tags: - Munki client resources x-authz: access: view resource: munki.client-resources post: operationId: create-munki-client-resources requestBody: content: application/json: schema: $ref: "#/components/schemas/MunkiClientResourcesMutation" required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/MunkiClientResources" description: Created "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Create client resources tags: - Munki client resources x-authz: access: edit resource: munki.client-resources /api/munki/client-resources/archive-uploads: post: operationId: create-munki-client-resources-archive-upload requestBody: content: application/json: schema: $ref: "#/components/schemas/MunkiUploadRequest" required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/MunkiUploadTarget" description: Created "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Create a client resources archive upload tags: - Munki client resources x-authz: access: edit resource: munki.client-resources /api/munki/client-resources/archive-uploads/{id}: delete: operationId: delete-munki-client-resources-archive-upload parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "204": description: No Content "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete a client resources archive upload tags: - Munki client resources x-authz: access: edit resource: munki.client-resources /api/munki/client-resources/banner-uploads: post: operationId: create-munki-client-resources-banner-upload requestBody: content: application/json: schema: $ref: "#/components/schemas/MunkiUploadRequest" required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/MunkiUploadTarget" description: Created "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Create a banner upload tags: - Munki client resources x-authz: access: edit resource: munki.client-resources /api/munki/client-resources/banner-uploads/{id}: delete: operationId: delete-munki-client-resources-banner-upload parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "204": description: No Content "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete a banner upload tags: - Munki client resources x-authz: access: edit resource: munki.client-resources /api/munki/client-resources/{id}: delete: operationId: delete-munki-client-resources parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "204": description: No Content "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete client resources tags: - Munki client resources x-authz: access: edit resource: munki.client-resources get: operationId: get-munki-client-resources parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/MunkiClientResources" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get client resources tags: - Munki client resources x-authz: access: view resource: munki.client-resources put: operationId: update-munki-client-resources parameters: - in: path name: id required: true schema: format: int64 type: integer requestBody: content: application/json: schema: $ref: "#/components/schemas/MunkiClientResourcesMutation" required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/MunkiClientResources" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Update client resources tags: - Munki client resources x-authz: access: edit resource: munki.client-resources /api/munki/distribution-points: get: operationId: list-munki-distribution-points parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageDistributionPoint" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: List distribution points tags: - Munki distribution points x-authz: access: view resource: munki.distribution-points post: operationId: create-munki-distribution-point requestBody: content: application/json: schema: $ref: "#/components/schemas/MunkiDistributionPointMutation" required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/MunkiRevealedDistributionPoint" description: Created "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Create a distribution point tags: - Munki distribution points x-authz: access: edit resource: munki.distribution-points /api/munki/distribution-points/order: put: operationId: reorder-munki-distribution-points requestBody: content: application/json: schema: $ref: "#/components/schemas/MunkiDistributionPointReorderBody" required: true responses: "204": description: No Content "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Reorder distribution points tags: - Munki distribution points x-authz: access: edit resource: munki.distribution-points /api/munki/distribution-points/{id}: delete: operationId: delete-munki-distribution-point parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "204": description: No Content "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete a distribution point tags: - Munki distribution points x-authz: access: edit resource: munki.distribution-points get: operationId: get-munki-distribution-point parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/MunkiDistributionPointDetail" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get a distribution point tags: - Munki distribution points x-authz: access: view resource: munki.distribution-points put: operationId: update-munki-distribution-point parameters: - in: path name: id required: true schema: format: int64 type: integer requestBody: content: application/json: schema: $ref: "#/components/schemas/MunkiDistributionPointMutation" required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/MunkiDistributionPointDetail" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Update a distribution point tags: - Munki distribution points x-authz: access: edit resource: munki.distribution-points /api/munki/distribution-points/{id}/key: post: operationId: rotate-munki-distribution-point-key parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/MunkiDistributionPointKeyBody" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Rotate a distribution point key tags: - Munki distribution points x-authz: access: edit resource: munki.distribution-points /api/munki/icons: get: operationId: list-munki-icons parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageMunkiObjectView" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: List icons tags: - Munki icons x-authz: access: view resource: munki.software post: operationId: create-munki-icon-upload requestBody: content: application/json: schema: $ref: "#/components/schemas/MunkiUploadRequest" required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/MunkiUploadTarget" description: Created "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Create an icon upload tags: - Munki icons x-authz: access: edit resource: munki.software /api/munki/package-installers: post: operationId: create-munki-package-installer-upload requestBody: content: application/json: schema: $ref: "#/components/schemas/MunkiUploadRequest" required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/MunkiUploadTarget" description: Created "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Create a package installer upload tags: - Munki package installers x-authz: access: edit resource: munki.packages /api/munki/package-installers/{id}: delete: operationId: delete-munki-package-installer-upload parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "204": description: No Content "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete a package installer upload tags: - Munki package installers x-authz: access: edit resource: munki.packages put: operationId: complete-munki-package-installer-upload parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/MunkiObjectView" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Complete a package installer upload tags: - Munki package installers x-authz: access: edit resource: munki.packages /api/munki/package-installers/{id}/multipart/parts/{part_number}: post: operationId: sign-munki-package-installer-part parameters: - in: path name: id required: true schema: format: int64 type: integer - in: path name: part_number required: true schema: format: int32 maximum: 10000 minimum: 1 type: integer requestBody: content: application/json: schema: $ref: "#/components/schemas/MunkiMultipartPartRequest" required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/UploadTarget" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Sign a multipart upload part tags: - Munki package installers x-authz: access: edit resource: munki.packages /api/munki/packages: delete: operationId: bulk-delete-munki-packages parameters: - explode: false in: query name: ids required: true schema: items: format: int64 type: integer minItems: 1 type: array responses: "204": description: No Content "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete packages tags: - Munki packages x-authz: access: edit resource: munki.packages get: operationId: list-munki-packages parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - explode: false in: query name: type schema: items: enum: - pkg - nopkg - copy_from_dmg type: string type: array - explode: false in: query name: software_id schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/PagePackage" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: List packages tags: - Munki packages x-authz: access: view resource: munki.packages post: operationId: create-munki-package requestBody: content: application/json: schema: $ref: "#/components/schemas/MunkiPackageCreateMutation" required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/MunkiPackage" description: Created "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Create a package tags: - Munki packages x-authz: access: edit resource: munki.packages /api/munki/packages/{id}: get: operationId: get-munki-package parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/MunkiPackage" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get a package tags: - Munki packages x-authz: access: view resource: munki.packages patch: operationId: patch-munki-package parameters: - in: path name: id required: true schema: format: int64 type: integer requestBody: content: application/json: schema: additionalProperties: false properties: apple_item: type: boolean autoremove: type: boolean blocking_applications: items: type: string type: array blocking_applications_manual_quit_only: type: boolean blocking_applications_none: type: boolean blocking_applications_quit_script: type: - string - "null" blocking_applications_with_launch_args: items: additionalProperties: false properties: application: minLength: 1 type: string arguments: items: type: string type: array required: - application - arguments type: object type: array custom_action_labels: additionalProperties: false properties: install: type: - string - "null" installed: type: - string - "null" installing: type: - string - "null" remove: type: - string - "null" removing: type: - string - "null" update: type: - string - "null" type: object download_on_low_data: enum: - auto - always - never type: string force_install_after_date: format: date-time type: - string - "null" installable_condition: type: - string - "null" installcheck_script: type: - string - "null" installed_size: format: int64 minimum: 0 type: integer installer_choices_xml: items: additionalProperties: false properties: attribute_setting: format: int32 type: integer choice_attribute: type: - string - "null" choice_identifier: minLength: 1 type: string required: - attribute_setting type: object type: array installer_environment: items: additionalProperties: false properties: name: minLength: 1 type: string value: type: - string - "null" required: - name - value type: object type: array installer_object_id: format: int64 minimum: 1 type: - integer - "null" installer_type: enum: - pkg - nopkg - copy_from_dmg type: string installs: items: additionalProperties: false properties: bundle_identifier: type: - string - "null" bundle_name: type: - string - "null" bundle_short_version: type: - string - "null" bundle_version: type: - string - "null" installer_item_location: type: - string - "null" md5checksum: type: - string - "null" minimum_os_version: type: - string - "null" minimum_update_version: type: - string - "null" path: minLength: 1 type: string type: enum: - application - bundle - plist - file type: string version_comparison_key: type: - string - "null" required: - type - path type: object type: array items_to_copy: items: additionalProperties: false properties: destination_item: type: - string - "null" destination_path: minLength: 1 type: string group: type: - string - "null" mode: type: - string - "null" source_item: minLength: 1 type: string user: type: - string - "null" required: - source_item - destination_path type: object type: array maximum_os_version: type: - string - "null" minimum_munki_version: type: - string - "null" minimum_os_version: type: - string - "null" notes: type: - string - "null" on_demand: type: boolean package_path: type: - string - "null" postinstall_script: type: - string - "null" postuninstall_script: type: - string - "null" precache: type: boolean preinstall_alert: additionalProperties: false properties: cancel_label: type: - string - "null" detail: type: - string - "null" enabled: type: boolean ok_label: type: - string - "null" title: type: - string - "null" type: object preinstall_script: type: - string - "null" preuninstall_alert: additionalProperties: false properties: cancel_label: type: - string - "null" detail: type: - string - "null" enabled: type: boolean ok_label: type: - string - "null" title: type: - string - "null" type: object preuninstall_script: type: - string - "null" receipts: items: additionalProperties: false properties: installed_size: format: int64 minimum: 0 type: integer name: type: - string - "null" optional: type: boolean package_id: minLength: 1 type: string version: type: - string - "null" required: - package_id type: object type: array requires: items: additionalProperties: false properties: package_id: format: int64 minimum: 0 type: integer software_id: format: int64 minimum: 1 type: integer required: - software_id type: object type: array restart_action: enum: - RequireLogout - RecommendRestart - RequireRestart - RequireShutdown - null type: - string - "null" restart_action_for_uninstall: enum: - None - RequireLogout - RecommendRestart - RequireRestart - RequireShutdown - null type: - string - "null" supported_architectures: items: type: string type: array unattended_install: type: boolean unattended_uninstall: type: boolean uninstall_method: enum: - removepackages - remove_copied_items - uninstall_script - null type: - string - "null" uninstall_script: type: - string - "null" uninstallable: type: boolean uninstallcheck_script: type: - string - "null" update_for: items: additionalProperties: false properties: package_id: format: int64 minimum: 0 type: integer software_id: format: int64 minimum: 1 type: integer required: - software_id type: object type: array version: minLength: 1 type: string version_script: type: - string - "null" type: object required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/MunkiPackage" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Partially update a package tags: - Munki packages x-authz: access: edit resource: munki.packages put: operationId: update-munki-package parameters: - in: path name: id required: true schema: format: int64 type: integer requestBody: content: application/json: schema: $ref: "#/components/schemas/MunkiPackageMutation" required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/MunkiPackage" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Update a package tags: - Munki packages x-authz: access: edit resource: munki.packages /api/munki/software: delete: operationId: bulk-delete-munki-software parameters: - explode: false in: query name: ids required: true schema: items: format: int64 type: integer minItems: 1 type: array responses: "204": description: No Content "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete software titles tags: - Munki software x-authz: access: edit resource: munki.software get: operationId: list-munki-software parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageSoftware" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: List software titles tags: - Munki software x-authz: access: view resource: munki.software post: operationId: create-munki-software requestBody: content: application/json: schema: $ref: "#/components/schemas/MunkiCreateMutation" required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/MunkiSoftwareDetail" description: Created "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Create a software title tags: - Munki software x-authz: access: edit resource: munki.software /api/munki/software/{id}: delete: operationId: delete-munki-software parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "204": description: No Content "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete a software title tags: - Munki software x-authz: access: edit resource: munki.software get: operationId: get-munki-software parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/MunkiSoftwareDetail" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get a software title tags: - Munki software x-authz: access: view resource: munki.software patch: operationId: patch-munki-software parameters: - in: path name: id required: true schema: format: int64 type: integer requestBody: content: application/json: schema: additionalProperties: false properties: category: type: - string - "null" description: type: - string - "null" developer: type: - string - "null" display_name: type: - string - "null" icon_object_id: format: int64 minimum: 1 type: - integer - "null" targets: additionalProperties: false properties: exclude: items: additionalProperties: false properties: label_id: format: int64 minimum: 1 type: integer required: - label_id type: object type: array include: items: additionalProperties: false properties: actions: items: enum: - managed_installs - managed_uninstalls - managed_updates - optional_installs - optional_uninstalls - featured_items - default_installs type: string minItems: 1 type: array label_id: format: int64 minimum: 1 type: integer package: additionalProperties: false properties: package_id: format: int64 minimum: 1 type: - integer - "null" strategy: enum: - latest - specific type: string required: - strategy type: object required: - label_id - package - actions type: object type: array type: object type: object required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/MunkiSoftwareDetail" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Partially update a software title tags: - Munki software x-authz: access: edit resource: munki.software put: operationId: update-munki-software parameters: - in: path name: id required: true schema: format: int64 type: integer requestBody: content: application/json: schema: $ref: "#/components/schemas/MunkiUpdateMutation" required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/MunkiSoftwareDetail" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Update a software title tags: - Munki software x-authz: access: edit resource: munki.software /api/munki/software/{id}/icon: put: operationId: set-munki-software-icon parameters: - in: path name: id required: true schema: format: int64 type: integer requestBody: content: application/json: schema: $ref: "#/components/schemas/MunkiObjectMutation" required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/MunkiObjectView" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Set a software icon tags: - Munki icons x-authz: access: edit resource: munki.software /api/osquery/host-status-history: get: operationId: list-osquery-host-status-history parameters: - explode: false in: query name: since schema: format: date-time type: string responses: "200": content: application/json: schema: items: $ref: "#/components/schemas/OsqueryHostStatusPoint" type: array description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: List host status history tags: - Osquery overview x-authz: access: view resource: osquery.overview /api/osquery/live-queries: post: operationId: create-live-query requestBody: content: application/json: schema: $ref: "#/components/schemas/OsqueryLiveQueryCreateBody" required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/OsqueryHandle" description: Created "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Create a live query tags: - Osquery live queries x-authz: access: edit resource: osquery.live-queries /api/osquery/live-queries/target-count: post: operationId: count-live-query-targets requestBody: content: application/json: schema: $ref: "#/components/schemas/OsqueryLiveQueryTargetCountBody" required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/OsqueryLiveQueryTargetCountOutputBody" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Count live query targets tags: - Osquery live queries x-authz: access: edit resource: osquery.live-queries /api/osquery/live-queries/{id}: delete: operationId: delete-live-query parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "204": description: No Content "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete a live query tags: - Osquery live queries x-authz: access: edit resource: osquery.live-queries /api/osquery/live-queries/{id}/stream: get: operationId: stream-live-query parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: text/event-stream: schema: description: One payload per event. oneOf: - $ref: "#/components/schemas/OsqueryLiveQueryPingEvent" - $ref: "#/components/schemas/OsqueryLiveQuerySnapshotEvent" - $ref: "#/components/schemas/OsqueryLiveQueryCompletedEvent" title: Live query events description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Stream live query results tags: - Osquery live queries x-authz: access: view resource: osquery.live-queries /api/osquery/policies: delete: operationId: bulk-delete-osquery-policies parameters: - explode: false in: query name: ids required: true schema: items: format: int64 type: integer minItems: 1 type: array responses: "204": description: No Content "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete policies tags: - Osquery policies x-authz: access: edit resource: osquery.policies get: operationId: list-osquery-policies parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/PagePolicy" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: List policies tags: - Osquery policies x-authz: access: view resource: osquery.policies post: operationId: create-osquery-policy requestBody: content: application/json: schema: $ref: "#/components/schemas/OsqueryPolicyMutation" required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/OsqueryPolicy" description: Created "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Create a policy tags: - Osquery policies x-authz: access: edit resource: osquery.policies /api/osquery/policies/{id}: delete: operationId: delete-osquery-policy parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "204": description: No Content "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete a policy tags: - Osquery policies x-authz: access: edit resource: osquery.policies get: operationId: get-osquery-policy parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/OsqueryPolicy" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get a policy tags: - Osquery policies x-authz: access: view resource: osquery.policies put: operationId: update-osquery-policy parameters: - in: path name: id required: true schema: format: int64 type: integer requestBody: content: application/json: schema: $ref: "#/components/schemas/OsqueryPolicyMutation" required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/OsqueryPolicy" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Update a policy tags: - Osquery policies x-authz: access: edit resource: osquery.policies /api/osquery/policies/{id}/hosts/{host_id}/remediation: get: operationId: get-osquery-policy-remediation-run parameters: - in: path name: id required: true schema: format: int64 type: integer - in: path name: host_id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/OsqueryPolicyRemediationRun" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get current policy remediation run tags: - Osquery policies x-authz: access: view resource: osquery.remediations /api/osquery/policies/{id}/remediation: get: operationId: get-osquery-policy-remediation-source parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/OsqueryPolicyRemediationSource" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get policy remediation source tags: - Osquery policies x-authz: access: view resource: osquery.remediations post: operationId: run-osquery-policy-remediations parameters: - in: path name: id required: true schema: format: int64 type: integer - explode: false in: query name: host_ids schema: items: format: int64 type: integer type: array - explode: false in: query name: all_failures schema: type: boolean responses: "202": content: application/json: schema: $ref: "#/components/schemas/OsqueryPolicyRemediationBatchSummary" description: Accepted "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Run policy remediations tags: - Osquery policies x-authz: access: edit resource: osquery.remediations /api/osquery/policies/{id}/results: get: operationId: list-osquery-policy-results parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - in: path name: id required: true schema: format: int64 type: integer - explode: false in: query name: status schema: items: enum: - pending - pass - fail - error type: string type: array - explode: false in: query name: remediation schema: items: enum: - not_run - queued - succeeded - failed type: string type: array responses: "200": content: application/json: schema: $ref: "#/components/schemas/PagePolicyHostStatus" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: List policy results tags: - Osquery policies x-authz: access: view resource: osquery.policies /api/osquery/policies/{id}/status-history: get: operationId: list-osquery-policy-status-history parameters: - in: path name: id required: true schema: format: int64 type: integer - explode: false in: query name: since schema: format: date-time type: string responses: "200": content: application/json: schema: items: $ref: "#/components/schemas/OsqueryPolicyStatusPoint" type: array description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: List policy status history tags: - Osquery policies x-authz: access: view resource: osquery.overview /api/osquery/reports: delete: operationId: bulk-delete-osquery-reports parameters: - explode: false in: query name: ids required: true schema: items: format: int64 type: integer minItems: 1 type: array responses: "204": description: No Content "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete reports tags: - Osquery reports x-authz: access: edit resource: osquery.reports get: operationId: list-osquery-reports parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageReport" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: List reports tags: - Osquery reports x-authz: access: view resource: osquery.reports post: operationId: create-osquery-report requestBody: content: application/json: schema: $ref: "#/components/schemas/OsqueryReportMutation" required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/OsqueryReport" description: Created "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Create a report tags: - Osquery reports x-authz: access: edit resource: osquery.reports /api/osquery/reports/{id}: delete: operationId: delete-osquery-report parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "204": description: No Content "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete a report tags: - Osquery reports x-authz: access: edit resource: osquery.reports get: operationId: get-osquery-report parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/OsqueryReport" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get a report tags: - Osquery reports x-authz: access: view resource: osquery.reports put: operationId: update-osquery-report parameters: - in: path name: id required: true schema: format: int64 type: integer requestBody: content: application/json: schema: $ref: "#/components/schemas/OsqueryReportMutation" required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/OsqueryReport" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Update a report tags: - Osquery reports x-authz: access: edit resource: osquery.reports /api/osquery/reports/{id}/snapshots: get: operationId: list-osquery-report-snapshots parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - in: path name: id required: true schema: format: int64 type: integer - explode: false in: query name: status schema: enum: - collected - error - pending type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageReportSnapshot" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: List report snapshots tags: - Osquery reports x-authz: access: view resource: osquery.reports /api/santa/configurations: delete: operationId: bulk-delete-santa-configurations parameters: - explode: false in: query name: ids required: true schema: items: format: int64 type: integer minItems: 1 type: array responses: "204": description: No Content "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete configurations tags: - Santa configurations x-authz: access: edit resource: santa.configurations get: operationId: list-santa-configurations parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageConfiguration" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: List configurations tags: - Santa configurations x-authz: access: view resource: santa.configurations post: operationId: create-santa-configuration requestBody: content: application/json: schema: $ref: "#/components/schemas/SantaConfigurationMutation" required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/SantaConfiguration" description: Created "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Create a configuration tags: - Santa configurations x-authz: access: edit resource: santa.configurations /api/santa/configurations/order: put: operationId: reorder-santa-configurations requestBody: content: application/json: schema: $ref: "#/components/schemas/SantaConfigurationReorderBody" required: true responses: "204": description: No Content "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Reorder configurations tags: - Santa configurations x-authz: access: edit resource: santa.configurations /api/santa/configurations/{id}: delete: operationId: delete-santa-configuration parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "204": description: No Content "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete a configuration tags: - Santa configurations x-authz: access: edit resource: santa.configurations get: operationId: get-santa-configuration parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/SantaConfiguration" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get a configuration tags: - Santa configurations x-authz: access: view resource: santa.configurations put: operationId: update-santa-configuration parameters: - in: path name: id required: true schema: format: int64 type: integer requestBody: content: application/json: schema: $ref: "#/components/schemas/SantaConfigurationMutation" required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/SantaConfiguration" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Update a configuration tags: - Santa configurations x-authz: access: edit resource: santa.configurations /api/santa/events: get: operationId: list-santa-events parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - explode: false in: query name: host_id schema: format: int64 type: integer - explode: false in: query name: decisions schema: items: enum: - allowed - blocked - unknown - allow_unknown - allow_binary - allow_certificate - allow_scope - allow_teamid - allow_signingid - allow_cdhash - block_unknown - block_binary - block_certificate - block_scope - block_teamid - block_signingid - block_cdhash - bundle_binary - block_binary_mismatch - allow_platform type: string type: array - explode: false in: query name: since schema: format: date-time type: string - explode: false in: query name: user schema: type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageExecutionEvent" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: List execution events tags: - Santa events x-authz: access: view resource: santa.events /api/santa/events/{id}: get: operationId: get-santa-event parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/SantaExecutionEvent" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get an execution event tags: - Santa events x-authz: access: view resource: santa.events /api/santa/file-access-events: get: operationId: list-santa-file-access-events parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - explode: false in: query name: host_id schema: format: int64 type: integer - explode: false in: query name: decisions schema: items: enum: - unknown - denied - denied_invalid_signature - audit_only type: string type: array - explode: false in: query name: since schema: format: date-time type: string responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageFileAccessEvent" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: List file access events tags: - Santa events x-authz: access: view resource: santa.events /api/santa/file-access-events/{id}: get: operationId: get-santa-file-access-event parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/SantaFileAccessEvent" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get a file access event tags: - Santa events x-authz: access: view resource: santa.events /api/santa/rules: delete: operationId: bulk-delete-santa-rules parameters: - explode: false in: query name: ids required: true schema: items: format: int64 type: integer minItems: 1 type: array responses: "204": description: No Content "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete rules tags: - Santa rules x-authz: access: edit resource: santa.rules get: operationId: list-santa-rules parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - explode: false in: query name: rule_type schema: items: enum: - binary - certificate - teamid - signingid - cdhash - bundle type: string type: array responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageRule" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: List rules tags: - Santa rules x-authz: access: view resource: santa.rules post: operationId: create-santa-rule requestBody: content: application/json: schema: $ref: "#/components/schemas/SantaRuleMutation" required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/SantaRule" description: Created "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Create a rule tags: - Santa rules x-authz: access: edit resource: santa.rules /api/santa/rules/{id}: delete: operationId: delete-santa-rule parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "204": description: No Content "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete a rule tags: - Santa rules x-authz: access: edit resource: santa.rules get: operationId: get-santa-rule parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/SantaRule" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get a rule tags: - Santa rules x-authz: access: view resource: santa.rules put: operationId: update-santa-rule parameters: - in: path name: id required: true schema: format: int64 type: integer requestBody: content: application/json: schema: $ref: "#/components/schemas/SantaRuleMutation" required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/SantaRule" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Update a rule tags: - Santa rules x-authz: access: edit resource: santa.rules /api/session: delete: operationId: delete-session responses: "204": description: No Content default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error summary: Delete session tags: - Session get: operationId: get-session responses: "200": content: application/json: schema: $ref: "#/components/schemas/SessionBody" description: OK default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error summary: Get session tags: - Session post: operationId: create-session requestBody: content: application/json: schema: $ref: "#/components/schemas/SessionCreateInputBody" required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/Principal" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "429": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Too Many Requests headers: Retry-After: description: Seconds before another login attempt required: true schema: type: integer "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error summary: Create a session tags: - Session /api/software: get: operationId: list-software parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - explode: false in: query name: source schema: items: enum: - apps - homebrew_packages - chrome_extensions - firefox_addons - safari_extensions - npm_packages - vscode_extensions - jetbrains_plugins - go_binaries - python_packages type: string type: array responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageSoftwareTitle" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: List software titles tags: - Software x-authz: access: view resource: software /api/software/{id}: get: operationId: get-software parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/SoftwareTitle" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get a software title tags: - Software x-authz: access: view resource: software /api/users: get: operationId: list-users parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - explode: false in: query name: values schema: items: type: string type: array - explode: false in: query name: role schema: items: enum: - admin - viewer - none type: string type: array - explode: false in: query name: source schema: enum: - local - entra type: string - explode: false in: query name: group_id schema: format: int64 minimum: 1 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageUser" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: List users tags: - Directory users x-authz: access: view resource: users post: operationId: create-user requestBody: content: application/json: schema: $ref: "#/components/schemas/UserCreate" required: true responses: "201": content: application/json: schema: $ref: "#/components/schemas/User" description: Created "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Create a user tags: - Directory users x-authz: access: edit resource: users /api/users/departments: get: operationId: list-user-departments parameters: - explode: false in: query name: q schema: type: string - explode: false in: query name: page schema: format: int32 minimum: 1 type: integer - explode: false in: query name: per_page schema: format: int32 maximum: 1000 minimum: 1 type: integer - explode: false in: query name: sort schema: type: string - explode: false in: query name: values schema: items: type: string type: array responses: "200": content: application/json: schema: $ref: "#/components/schemas/PageDepartment" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden default: content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Error security: - cookieAuth: [] - bearerAuth: [] summary: List user departments tags: - Directory users x-authz: access: view resource: users /api/users/{id}: delete: operationId: delete-user parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "204": description: No Content "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Delete a user tags: - Directory users x-authz: access: edit resource: users get: operationId: get-user parameters: - in: path name: id required: true schema: format: int64 type: integer responses: "200": content: application/json: schema: $ref: "#/components/schemas/User" description: OK "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Get a user tags: - Directory users x-authz: access: view resource: users put: operationId: update-user parameters: - in: path name: id required: true schema: format: int64 type: integer requestBody: content: application/json: schema: $ref: "#/components/schemas/UserMutation" required: true responses: "200": content: application/json: schema: $ref: "#/components/schemas/User" description: OK "400": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Bad Request "401": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unauthorized "403": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Forbidden "404": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Not Found "409": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Conflict "422": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Unprocessable Entity "500": content: application/problem+json: schema: $ref: "#/components/schemas/ErrorModel" description: Internal Server Error security: - cookieAuth: [] - bearerAuth: [] summary: Update a user tags: - Directory users x-authz: access: edit resource: users tags: - name: Account x-displayName: Account - name: Activity x-displayName: Activity - name: Agent secrets x-displayName: Agent secrets - name: Directory groups x-displayName: Groups - name: Directory sync x-displayName: Sync - name: Directory users x-displayName: Users - name: Hosts x-displayName: Hosts - name: Labels x-displayName: Labels - name: Munki client resources x-displayName: Client resources - name: Munki distribution points x-displayName: Distribution points - name: Munki icons x-displayName: Icons - name: Munki package installers x-displayName: Package installers - name: Munki packages x-displayName: Packages - name: Munki software x-displayName: Software - name: Osquery overview x-displayName: Overview - name: Osquery policies x-displayName: Policies - name: Osquery live queries x-displayName: Live queries - name: Osquery reports x-displayName: Reports - name: Santa configurations x-displayName: Configurations - name: Santa events x-displayName: Events - name: Santa rules x-displayName: Rules - name: Session x-displayName: Session - name: Software x-displayName: Software x-tagGroups: - name: Account tags: - Account - name: Activity tags: - Activity - name: Agent secrets tags: - Agent secrets - name: Directory tags: - Directory sync - Directory groups - Directory users - name: Hosts tags: - Hosts - name: Labels tags: - Labels - name: Munki tags: - Munki client resources - Munki distribution points - Munki icons - Munki package installers - Munki packages - Munki software - name: Osquery tags: - Osquery overview - Osquery policies - Osquery live queries - Osquery reports - name: Santa tags: - Santa configurations - Santa events - Santa rules - name: Session tags: - Session - name: Software tags: - Software