shadowitreport

package
v3.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCloudApplicationsExport

func CreateCloudApplicationsExport(ctx context.Context, service *zscaler.Service, exportRequest CloudApplicationsExport) (*http.Response, error)

Types

type ApplicationBulkUpdate

type ApplicationBulkUpdate struct {
	SanctionedState                string                           `json:"sanctionedState,omitempty"`
	ApplicationIDs                 []int                            `json:"applicationIds,omitempty"`
	CloudApplicationsAndCustomTags []CloudApplicationsAndCustomTags `json:"customTags,omitempty"`
}

func Update

Update sends a PUT request to perform bulk updates for cloud applications

type CertKeySize

type CertKeySize struct {
	Operation string   `json:"operation,omitempty"`
	Value     []string `json:"value,omitempty"`
}

type CloudApplicationsAndCustomTags

type CloudApplicationsAndCustomTags struct {
	// Unique identifier of the cloud application
	ID int `json:"id"`

	// The name of the cloud application
	Name string `json:"name,omitempty"`
}

func GetAllCloudAppsLite

func GetAllCloudAppsLite(ctx context.Context, service *zscaler.Service, pageNumber, limit *int) ([]CloudApplicationsAndCustomTags, error)

GetAllCloudAppsLite retrieves all cloud applications in lite format with optional pagination parameters

func GetAllCustomTags

func GetAllCustomTags(ctx context.Context, service *zscaler.Service) ([]CloudApplicationsAndCustomTags, error)

type CloudApplicationsExport

type CloudApplicationsExport struct {
	Duration                         string                   `json:"duration,omitempty"`
	Application                      []string                 `json:"application,omitempty"`
	AppName                          string                   `json:"appName,omitempty"`
	ApplicationCategory              []string                 `json:"applicationCategory,omitempty"`
	DataConsumed                     []common.DataConsumed    `json:"dataConsumed,omitempty"`
	RiskIndex                        []int                    `json:"riskIndex,omitempty"`
	Order                            *common.Order            `json:"order,omitempty"`
	SanctionedState                  []string                 `json:"sanctionedState,omitempty"`
	Employees                        []string                 `json:"employees,omitempty"`
	SupportedCertifications          *SupportedCertifications `json:"supportedCertifications,omitempty"`
	SourceIpRestriction              []string                 `json:"sourceIpRestriction,omitempty"`
	MfaSupport                       []string                 `json:"mfaSupport,omitempty"`
	AdminAuditLogs                   []string                 `json:"adminAuditLogs,omitempty"`
	HadBreachInLast3Years            []string                 `json:"hadBreachInLast3Years,omitempty"`
	HavePoorItemsOfService           []string                 `json:"havePoorItemsOfService,omitempty"`
	PasswordStrength                 []string                 `json:"passwordStrength,omitempty"`
	SslPinned                        []string                 `json:"sslPinned,omitempty"`
	Evasive                          []string                 `json:"evasive,omitempty"`
	HaveHTTPSecurityHeaderSupport    []string                 `json:"haveHTTPSecurityHeaderSupport,omitempty"`
	DnsCAAPolicy                     []string                 `json:"dnsCAAPolicy,omitempty"`
	HaveWeakCipherSupport            []string                 `json:"haveWeakCipherSupport,omitempty"`
	SslCertificationValidity         []string                 `json:"sslCertificationValidity,omitempty"`
	MalwareScanningContent           []string                 `json:"malwareScanningContent,omitempty"`
	FileSharing                      []string                 `json:"fileSharing,omitempty"`
	RemoteAccessScreenSharing        []string                 `json:"remoteAccessScreenSharing,omitempty"`
	SenderPolicyFramework            []string                 `json:"senderPolicyFramework,omitempty"`
	DomainKeysIdentifiedMail         []string                 `json:"domainKeysIdentifiedMail,omitempty"`
	DomainBasedMessageAuthentication []string                 `json:"domainBasedMessageAuthentication,omitempty"`
	VulnerableDisclosureProgram      []string                 `json:"vulnerableDisclosureProgram,omitempty"`
	WafSupport                       []string                 `json:"wafSupport,omitempty"`
	Vulnerability                    []string                 `json:"vulnerability,omitempty"`
	ValidSSLCertificate              []string                 `json:"validSSLCertificate,omitempty"`
	DataEncryptionInTransit          []string                 `json:"dataEncryptionInTransit,omitempty"`
	VulnerableToHeartBleed           []string                 `json:"vulnerableToHeartBleed,omitempty"`
	VulnerableToPoodle               []string                 `json:"vulnerableToPoodle,omitempty"`
	VulnerableToLogJam               []string                 `json:"vulnerableToLogJam,omitempty"`
	CertKeySize                      *CertKeySize             `json:"certKeySize,omitempty"`
}

type CloudApplicationsExportCSV

type CloudApplicationsExportCSV struct {
	Duration      string                `json:"duration,omitempty"`
	Application   []string              `json:"application,omitempty"`
	Order         *common.Order         `json:"order,omitempty"`
	DownloadBytes []common.DataConsumed `json:"downloadBytes,omitempty"`
	UploadBytes   []common.DataConsumed `json:"uploadBytes,omitempty"`
	DataConsumed  []common.DataConsumed `json:"dataConsumed,omitempty"`
	Users         []User                `json:"users,omitempty"`
	Locations     []Location            `json:"locations,omitempty"`
	Departments   []Department          `json:"departments,omitempty"`
}

func CreateCloudApplicationsExportCSV

func CreateCloudApplicationsExportCSV(ctx context.Context, service *zscaler.Service, entity string, appExport *CloudApplicationsExportCSV) (*CloudApplicationsExportCSV, *http.Response, error)

CreateCloudApplicationsExportCSV sends a POST request to create a new CloudApplicationsExportCSV

type Department

type Department struct {
	ID          int    `json:"id,omitempty"`
	PID         int    `json:"pid,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
	Deleted     bool   `json:"deleted,omitempty"`
	GetlID      int    `json:"getlId,omitempty"`
}

type Location

type Location struct {
	ID          int    `json:"id,omitempty"`
	PID         int    `json:"pid,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
	Deleted     bool   `json:"deleted,omitempty"`
	GetlID      int    `json:"getlId,omitempty"`
}

type SupportedCertifications

type SupportedCertifications struct {
	Operation string   `json:"operation,omitempty"`
	Value     []string `json:"value,omitempty"`
}

type User

type User struct {
	ID          int    `json:"id,omitempty"`
	PID         int    `json:"pid,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
	Deleted     bool   `json:"deleted,omitempty"`
	GetlID      int    `json:"getlId,omitempty"`
}

Jump to

Keyboard shortcuts

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