inventory

package
v2.72.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetSoftwareFilters

type GetSoftwareFilters struct {
	common.GetFromToFilters
	// The Zscaler location (ID). You can add multiple location IDs.
	Loc []int `json:"loc,omitempty" url:"loc,omitempty"`
	// The department (ID). You can add multiple department IDs.
	Dept []int `json:"dept,omitempty" url:"dept,omitempty"`
	// The active geolocation (ID). You can add multiple active geolocation IDs.
	Geo []string `json:"geo,omitempty" url:"geo,omitempty"`
	// User IDs filter
	UserIDs []int `json:"userids,omitempty" url:"userids,omitempty"`
	// Device IDs filter
	DeviceIDs []int `json:"deviceids,omitempty" url:"deviceids,omitempty"`
	// Software Key (required for softwareKeyEndpoint)
	SoftwareKey string `json:"software_key,omitempty" url:"software_key,omitempty"`
}

type SoftwareKeyResponse

type SoftwareKeyResponse struct {
	Software   []SoftwareUserList `json:"software"`
	NextOffset string             `json:"next_offset,omitempty"`
}

type SoftwareOverview

type SoftwareOverview struct {
	SoftwareKey         string `json:"software_key,omitempty"`
	SoftwareName        string `json:"software_name,omitempty"`
	Vendor              string `json:"vendor,omitempty"`
	SoftwareGroup       string `json:"software_group,omitempty"`
	SoftwareInstallType string `json:"sw_install_type,omitempty"`
	UserTotal           int    `json:"user_total,omitempty"`
	DeviceTotal         int    `json:"device_total,omitempty"`
}

func GetSoftware

func GetSoftware(service *services.Service, filters GetSoftwareFilters) ([]SoftwareOverview, string, *http.Response, error)

type SoftwareOverviewResponse

type SoftwareOverviewResponse struct {
	Software   []SoftwareOverview `json:"software"`
	NextOffset string             `json:"next_offset,omitempty"`
}

type SoftwareUserList

type SoftwareUserList struct {
	SoftwareKey     string `json:"software_key,omitempty"`
	SoftwareName    string `json:"software_name,omitempty"`
	SoftwareVersion string `json:"software_version,omitempty"`
	SoftwareGroup   string `json:"software_group,omitempty"`
	OS              string `json:"os,omitempty"`
	Vendor          string `json:"vendor,omitempty"`
	UserID          int    `json:"user_id,omitempty"`
	DeviceID        int    `json:"device_id,omitempty"`
	Hostname        string `json:"hostname,omitempty"`
	Username        string `json:"username,omitempty"`
	InstallDate     string `json:"install_date,omitempty"`
}

func GetSoftwareKey

func GetSoftwareKey(service *services.Service, softwareKey string, filters GetSoftwareFilters) ([]SoftwareUserList, string, *http.Response, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL