Documentation ¶
Index ¶
- type AddResourceEntry
- type AddResources
- type Attributes
- type ComplianceStatus
- type DeleteEntry
- type DeleteResources
- type Deleted
- type Error
- type IntegrationID
- type IntegrationType
- type LastModified
- type OrgOverview
- type Paging
- type Resource
- type ResourceID
- type ResourceList
- type ResourceType
- type ResourceTypeSummary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddResourceEntry ¶
type AddResourceEntry struct { // attributes // Required: true Attributes Attributes `json:"attributes"` // id // Required: true ID ResourceID `json:"id"` // integration Id // Required: true IntegrationID IntegrationID `json:"integrationId"` // integration type // Required: true IntegrationType IntegrationType `json:"integrationType"` // type // Required: true Type ResourceType `json:"type"` }
AddResourceEntry add resource entry
swagger:model AddResourceEntry
func (*AddResourceEntry) MarshalBinary ¶
func (m *AddResourceEntry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddResourceEntry) UnmarshalBinary ¶
func (m *AddResourceEntry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddResources ¶
type AddResources struct { // resources // Required: true // Max Items: 500 // Min Items: 1 Resources []*AddResourceEntry `json:"resources"` }
AddResources add resources
swagger:model AddResources
func (*AddResources) MarshalBinary ¶
func (m *AddResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddResources) UnmarshalBinary ¶
func (m *AddResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Attributes ¶
type Attributes interface{}
Attributes Resource attributes
swagger:model attributes
type ComplianceStatus ¶
type ComplianceStatus string
ComplianceStatus Pass/fail compliance status
swagger:model complianceStatus
const ( // ComplianceStatusERROR captures enum value "ERROR" ComplianceStatusERROR ComplianceStatus = "ERROR" // ComplianceStatusFAIL captures enum value "FAIL" ComplianceStatusFAIL ComplianceStatus = "FAIL" // ComplianceStatusPASS captures enum value "PASS" ComplianceStatusPASS ComplianceStatus = "PASS" )
type DeleteEntry ¶
type DeleteEntry struct { // id // Required: true ID ResourceID `json:"id"` }
DeleteEntry delete entry
swagger:model DeleteEntry
func (*DeleteEntry) MarshalBinary ¶
func (m *DeleteEntry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteEntry) UnmarshalBinary ¶
func (m *DeleteEntry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteResources ¶
type DeleteResources struct { // resources // Required: true // Max Items: 1000 // Min Items: 1 // Unique: true Resources []*DeleteEntry `json:"resources"` }
DeleteResources delete resources
swagger:model DeleteResources
func (*DeleteResources) MarshalBinary ¶
func (m *DeleteResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteResources) UnmarshalBinary ¶
func (m *DeleteResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Deleted ¶
type Deleted bool
Deleted True if the resource has been deleted
swagger:model deleted
type Error ¶
type Error struct { // Error message // Required: true Message *string `json:"message"` }
Error error
swagger:model Error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type IntegrationID ¶
type IntegrationID string
IntegrationID Resource is from this source integration
swagger:model integrationId
type IntegrationType ¶
type IntegrationType string
IntegrationType Resource lives in this type of account
swagger:model integrationType
const ( // IntegrationTypeAws captures enum value "aws" IntegrationTypeAws IntegrationType = "aws" )
type LastModified ¶
LastModified When the resource state was last updated in the Panther database
swagger:model lastModified
func (*LastModified) MarshalBinary ¶
func (m *LastModified) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (LastModified) MarshalJSON ¶
func (m LastModified) MarshalJSON() ([]byte, error)
MarshalJSON retrieves a LastModified value as JSON output
func (*LastModified) UnmarshalBinary ¶
func (m *LastModified) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*LastModified) UnmarshalJSON ¶
func (m *LastModified) UnmarshalJSON(b []byte) error
UnmarshalJSON sets a LastModified value from JSON input
type OrgOverview ¶
type OrgOverview struct { // resources // Required: true Resources []*ResourceTypeSummary `json:"resources"` }
OrgOverview org overview
swagger:model OrgOverview
func (*OrgOverview) MarshalBinary ¶
func (m *OrgOverview) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgOverview) UnmarshalBinary ¶
func (m *OrgOverview) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Paging ¶
type Paging struct { // this page // Required: true // Minimum: 0 ThisPage *int64 `json:"thisPage"` // total items // Required: true // Minimum: 0 TotalItems *int64 `json:"totalItems"` // total pages // Required: true // Minimum: 0 TotalPages *int64 `json:"totalPages"` }
Paging paging
swagger:model Paging
func (*Paging) MarshalBinary ¶
MarshalBinary interface implementation
func (*Paging) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Resource ¶
type Resource struct { // attributes // Required: true Attributes Attributes `json:"attributes"` // compliance status // Required: true ComplianceStatus ComplianceStatus `json:"complianceStatus"` // deleted // Required: true Deleted Deleted `json:"deleted"` // id // Required: true ID ResourceID `json:"id"` // integration Id // Required: true IntegrationID IntegrationID `json:"integrationId"` // integration type // Required: true IntegrationType IntegrationType `json:"integrationType"` // last modified // Required: true // Format: date-time LastModified LastModified `json:"lastModified"` // type // Required: true Type ResourceType `json:"type"` }
Resource resource
swagger:model Resource
func (*Resource) MarshalBinary ¶
MarshalBinary interface implementation
func (*Resource) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ResourceID ¶
type ResourceID string
ResourceID Unique resource identifier
swagger:model resourceId
type ResourceList ¶
type ResourceList struct { // paging // Required: true Paging *Paging `json:"paging"` // resources // Required: true Resources []*Resource `json:"resources"` }
ResourceList resource list
swagger:model ResourceList
func (*ResourceList) MarshalBinary ¶
func (m *ResourceList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceList) UnmarshalBinary ¶
func (m *ResourceList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourceTypeSummary ¶
type ResourceTypeSummary struct { // count // Required: true // Minimum: 0 Count *int64 `json:"count"` // type // Required: true Type ResourceType `json:"type"` }
ResourceTypeSummary resource type summary
swagger:model ResourceTypeSummary
func (*ResourceTypeSummary) MarshalBinary ¶
func (m *ResourceTypeSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceTypeSummary) UnmarshalBinary ¶
func (m *ResourceTypeSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation