Documentation ¶
Index ¶
- type AssociatedProfileNames
- type Conditions
- type InspectionCustomControl
- type Rules
- type Service
- func (service *Service) Create(customControls InspectionCustomControl) (*InspectionCustomControl, *http.Response, error)
- func (service *Service) Delete(customID string) (*http.Response, error)
- func (service *Service) Get(customID string) (*InspectionCustomControl, *http.Response, error)
- func (service *Service) GetAll() ([]InspectionCustomControl, *http.Response, error)
- func (service *Service) GetByName(controlName string) (*InspectionCustomControl, *http.Response, error)
- func (service *Service) Update(customID string, customControls *InspectionCustomControl) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssociatedProfileNames ¶
type Conditions ¶
type InspectionCustomControl ¶
type InspectionCustomControl struct { ID string `json:"id,omitempty"` Action string `json:"action,omitempty"` ActionValue string `json:"actionValue,omitempty"` AssociatedInspectionProfileNames []AssociatedProfileNames `json:"associatedInspectionProfileNames,omitempty"` Rules []Rules `json:"rules,omitempty"` ControlNumber string `json:"controlNumber,omitempty"` ControlType string `json:"controlType,omitempty"` ControlRuleJson string `json:"controlRuleJson,omitempty"` CreationTime string `json:"creationTime,omitempty"` DefaultAction string `json:"defaultAction,omitempty"` DefaultActionValue string `json:"defaultActionValue,omitempty"` Description string `json:"description,omitempty"` ModifiedBy string `json:"modifiedBy,omitempty"` ModifiedTime string `json:"modifiedTime,omitempty"` Name string `json:"name,omitempty"` ParanoiaLevel string `json:"paranoiaLevel,omitempty"` ProtocolType string `json:"protocolType,omitempty"` Severity string `json:"severity,omitempty"` Type string `json:"type,omitempty"` Version string `json:"version,omitempty"` }
type Rules ¶
type Rules struct { Conditions []Conditions `json:"conditions,omitempty"` Names []string `json:"names,omitempty"` Type string `json:"type,omitempty"` }
type Service ¶
func (*Service) Create ¶
func (service *Service) Create(customControls InspectionCustomControl) (*InspectionCustomControl, *http.Response, error)
func (*Service) GetAll ¶
func (service *Service) GetAll() ([]InspectionCustomControl, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.