model

package
v0.0.84 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckProductHealthyRequest

type CheckProductHealthyRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	Body *ProductInfo `json:"body,omitempty"`
}

Request Object

func (CheckProductHealthyRequest) String

type CheckProductHealthyResponse

type CheckProductHealthyResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CheckProductHealthyResponse) String

type Compliance

type Compliance struct {
	CheckitemId *string `json:"checkitem_id,omitempty"`

	CheckpointId *string `json:"checkpoint_id,omitempty"`

	SpecId *string `json:"spec_id,omitempty"`

	Status string `json:"status"`

	Properties *string `json:"properties,omitempty"`
}

func (Compliance) String

func (o Compliance) String() string

type DataSource

type DataSource struct {
	Type int32 `json:"type"`

	DomainId string `json:"domain_id"`

	ProjectId *string `json:"project_id,omitempty"`

	RegionId *string `json:"region_id,omitempty"`

	CompanyName string `json:"company_name"`

	ProductName string `json:"product_name"`

	ProductFeature string `json:"product_feature"`
}

func (DataSource) String

func (o DataSource) String() string

type Environment

type Environment struct {
	Type *string `json:"type,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	RegionId *string `json:"region_id,omitempty"`
}

func (Environment) String

func (o Environment) String() string

type Event

type Event struct {
	Version string `json:"version"`

	Environment *Environment `json:"environment"`

	DataSource *DataSource `json:"data_source"`

	FirstObservedTime string `json:"first_observed_time"`

	LastObservedTime *string `json:"last_observed_time,omitempty"`

	CreateTime string `json:"create_time"`

	ArriveTime string `json:"arrive_time"`

	EventId string `json:"event_id"`

	Title string `json:"title"`

	Description string `json:"description"`

	SourceUrl *string `json:"source_url,omitempty"`

	Count int32 `json:"count"`

	Confidence *int32 `json:"confidence,omitempty"`

	Severity *Severity `json:"severity"`

	Criticality *int32 `json:"criticality,omitempty"`

	Type *Type `json:"type"`

	Compliance *Compliance `json:"compliance,omitempty"`

	Network *Network `json:"network,omitempty"`

	VulnerabilityPatch *VulnerabilityPatch `json:"vulnerability_patch,omitempty"`

	Malware *Malware `json:"malware,omitempty"`

	ThreatIntel *ThreatIntel `json:"threat_intel,omitempty"`

	Resource *Resource `json:"resource"`

	Remediation *Remediation `json:"remediation,omitempty"`

	DataSourceFields *interface{} `json:"data_source_fields,omitempty"`

	VerificationState string `json:"verification_state"`

	HandleStatus string `json:"handle_status"`

	Phase *string `json:"phase,omitempty"`

	Sla *int32 `json:"sla,omitempty"`
}

event

func (Event) String

func (o Event) String() string

type Events

type Events struct {
	Events *[]Event `json:"events,omitempty"`
}

func (Events) String

func (o Events) String() string

type Geo

type Geo struct {
	Latitude float32 `json:"latitude,omitempty"`

	Longitude float32 `json:"longitude,omitempty"`

	CityCode *string `json:"city_code,omitempty"`

	CountryCode *string `json:"country_code,omitempty"`
}

func (Geo) String

func (o Geo) String() string

type ImportEventsRequest

type ImportEventsRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	Body *Events `json:"body,omitempty"`
}

Request Object

func (ImportEventsRequest) String

func (o ImportEventsRequest) String() string

type ImportEventsResponse

type ImportEventsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (ImportEventsResponse) String

func (o ImportEventsResponse) String() string

type Malware

type Malware struct {
	Name string `json:"name"`

	Sha256 *string `json:"sha256,omitempty"`

	Type string `json:"type"`

	Path *string `json:"path,omitempty"`

	State *string `json:"state,omitempty"`

	Properties *MalwareProperties `json:"properties,omitempty"`
}

func (Malware) String

func (o Malware) String() string

type MalwareProperties

type MalwareProperties struct {
	Pid *string `json:"pid,omitempty"`

	User *string `json:"user,omitempty"`

	Mod *string `json:"mod,omitempty"`

	StartTime *string `json:"start_time,omitempty"`
}

func (MalwareProperties) String

func (o MalwareProperties) String() string

type Network

type Network struct {
	Direction *string `json:"direction,omitempty"`

	Protocol *string `json:"protocol,omitempty"`

	SrcIp *string `json:"src_ip,omitempty"`

	SrcPort *int32 `json:"src_port,omitempty"`

	SrcDomain *string `json:"src_domain,omitempty"`

	SrcGeo *Geo `json:"src_geo,omitempty"`

	DestcIp *string `json:"destc_ip,omitempty"`

	DestPort *int32 `json:"dest_port,omitempty"`

	DestDomain *string `json:"dest_domain,omitempty"`

	DestGeo *Geo `json:"dest_geo,omitempty"`
}

func (Network) String

func (o Network) String() string

type ProductInfo

type ProductInfo struct {
	DomainId *string `json:"domain_id,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	Region *string `json:"region,omitempty"`

	CompanyName *string `json:"company_name,omitempty"`

	ProductName *string `json:"product_name,omitempty"`
}

func (ProductInfo) String

func (o ProductInfo) String() string

type Remediation

type Remediation struct {
	Recommendation string `json:"recommendation"`

	Url *string `json:"url,omitempty"`
}

func (Remediation) String

func (o Remediation) String() string

type Resource

type Resource struct {
	Id string `json:"id"`

	Name string `json:"name"`

	Type string `json:"type"`

	Provider string `json:"provider"`

	RegionId *string `json:"region_id,omitempty"`

	DomainId string `json:"domain_id"`

	ProjectId *string `json:"project_id,omitempty"`

	EpId *string `json:"ep_id,omitempty"`

	EpName *string `json:"ep_name,omitempty"`

	Tags *interface{} `json:"tags,omitempty"`
}

func (Resource) String

func (o Resource) String() string

type Severity

type Severity struct {
	Label string `json:"label"`

	NormalizeScore *int32 `json:"normalize_score,omitempty"`

	OriginalScore *int32 `json:"original_score,omitempty"`
}

func (Severity) String

func (o Severity) String() string

type ThreatIntel

type ThreatIntel struct {
	Id string `json:"id"`

	IndicatorType *string `json:"indicator_type,omitempty"`

	Labels *string `json:"labels,omitempty"`

	Confidence *int32 `json:"confidence,omitempty"`

	InformationSource string `json:"information_source"`

	Severity *int32 `json:"severity,omitempty"`

	Description string `json:"description"`

	Modified *string `json:"modified,omitempty"`

	ValidFrom *string `json:"valid_from,omitempty"`

	ValidUntil *string `json:"valid_until,omitempty"`

	Properties *ThreatIntelProperties `json:"properties,omitempty"`
}

func (ThreatIntel) String

func (o ThreatIntel) String() string

type ThreatIntelProperties

type ThreatIntelProperties struct {
	FileMd5 *string `json:"file_md5,omitempty"`

	FileSha1 *string `json:"file_sha1,omitempty"`

	FileSha256 *string `json:"file_sha256,omitempty"`

	FileName *string `json:"file_name,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	FileClass *string `json:"file_class,omitempty"`

	FileFamily *string `json:"file_family,omitempty"`

	FileMaltype *string `json:"file_maltype,omitempty"`

	IpResolvesToRefs *string `json:"ip_resolves_to_refs,omitempty"`

	BelongsToRefs *string `json:"belongs_to_refs,omitempty"`

	IpLocation *string `json:"ip_location,omitempty"`

	DomainFamily *string `json:"domain_family,omitempty"`

	DomainResolvesToRefs *string `json:"domain_resolves_to_refs,omitempty"`

	DomainDnsType *string `json:"domain_dns_type,omitempty"`

	UrlHost *string `json:"url_host,omitempty"`

	UrlResolvesToRefs *string `json:"url_resolves_to_refs,omitempty"`

	DisplayName *string `json:"display_name,omitempty"`

	UrlBelongsToRef *string `json:"url_belongs_to_ref,omitempty"`
}

func (ThreatIntelProperties) String

func (o ThreatIntelProperties) String() string

type Type

type Type struct {
	Business *string `json:"business,omitempty"`

	Category *string `json:"category,omitempty"`

	Classifier *string `json:"classifier,omitempty"`

	TechDomain *string `json:"tech_domain,omitempty"`

	Properties *TypeProperties `json:"properties,omitempty"`
}

func (Type) String

func (o Type) String() string

type TypeProperties

type TypeProperties struct {
	Killchain *string `json:"killchain,omitempty"`

	Ttps *string `json:"ttps,omitempty"`

	Effects *string `json:"effects,omitempty"`
}

func (TypeProperties) String

func (o TypeProperties) String() string

type VulnerabilityPatch

type VulnerabilityPatch struct {
	PatchId *string `json:"patch_id,omitempty"`

	PatchName *string `json:"patch_name,omitempty"`

	Type *string `json:"type,omitempty"`

	MajorLevel *string `json:"major_level,omitempty"`

	Status *string `json:"status,omitempty"`

	RepairCmd *string `json:"repair_cmd,omitempty"`

	RepairNecessity *string `json:"repair_necessity,omitempty"`

	ReleaseTime *string `json:"release_time,omitempty"`

	ReferenceUrl *string `json:"reference_url,omitempty"`

	VendorName *string `json:"vendor_name,omitempty"`

	VulnerablePackage *string `json:"vulnerable_package,omitempty"`
}

func (VulnerabilityPatch) String

func (o VulnerabilityPatch) String() string

Jump to

Keyboard shortcuts

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