Documentation ¶
Index ¶
- Constants
- type AdvisoryResponseBody
- func (m *AdvisoryResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AdvisoryResponseBody) MarshalBinary() ([]byte, error)
- func (m *AdvisoryResponseBody) UnmarshalBinary(b []byte) error
- func (m *AdvisoryResponseBody) UnmarshalJSON(data []byte) error
- func (m *AdvisoryResponseBody) Validate(formats strfmt.Registry) error
- type AffectedProcResponseBody
- func (m *AffectedProcResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AffectedProcResponseBody) MarshalBinary() ([]byte, error)
- func (m *AffectedProcResponseBody) UnmarshalBinary(b []byte) error
- func (m *AffectedProcResponseBody) UnmarshalJSON(data []byte) error
- func (m *AffectedProcResponseBody) Validate(formats strfmt.Registry) error
- type ChildTaskResponseBody
- func (m *ChildTaskResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ChildTaskResponseBody) MarshalBinary() ([]byte, error)
- func (m *ChildTaskResponseBody) UnmarshalBinary(b []byte) error
- func (m *ChildTaskResponseBody) UnmarshalJSON(data []byte) error
- func (m *ChildTaskResponseBody) Validate(formats strfmt.Registry) error
- type CveGetCveDetailResponseBody
- func (m *CveGetCveDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CveGetCveDetailResponseBody) MarshalBinary() ([]byte, error)
- func (m *CveGetCveDetailResponseBody) UnmarshalBinary(b []byte) error
- func (m *CveGetCveDetailResponseBody) UnmarshalJSON(data []byte) error
- func (m *CveGetCveDetailResponseBody) Validate(formats strfmt.Registry) error
- type CveGetCveListResponseBody
- func (m *CveGetCveListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CveGetCveListResponseBody) MarshalBinary() ([]byte, error)
- func (m *CveGetCveListResponseBody) UnmarshalBinary(b []byte) error
- func (m *CveGetCveListResponseBody) UnmarshalJSON(data []byte) error
- func (m *CveGetCveListResponseBody) Validate(formats strfmt.Registry) error
- type CveListResponseBody
- func (m *CveListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CveListResponseBody) MarshalBinary() ([]byte, error)
- func (m *CveListResponseBody) UnmarshalBinary(b []byte) error
- func (m *CveListResponseBody) UnmarshalJSON(data []byte) error
- func (m *CveListResponseBody) Validate(formats strfmt.Registry) error
- type CweResponseBody
- func (m *CweResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CweResponseBody) MarshalBinary() ([]byte, error)
- func (m *CweResponseBody) UnmarshalBinary(b []byte) error
- func (m *CweResponseBody) UnmarshalJSON(data []byte) error
- func (m *CweResponseBody) Validate(formats strfmt.Registry) error
- type DetectionMethodResponseBody
- func (m *DetectionMethodResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DetectionMethodResponseBody) MarshalBinary() ([]byte, error)
- func (m *DetectionMethodResponseBody) UnmarshalBinary(b []byte) error
- func (m *DetectionMethodResponseBody) UnmarshalJSON(data []byte) error
- func (m *DetectionMethodResponseBody) Validate(formats strfmt.Registry) error
- type DetectionToolResponseBody
- func (m *DetectionToolResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DetectionToolResponseBody) MarshalBinary() ([]byte, error)
- func (m *DetectionToolResponseBody) UnmarshalBinary(b []byte) error
- func (m *DetectionToolResponseBody) UnmarshalJSON(data []byte) error
- func (m *DetectionToolResponseBody) Validate(formats strfmt.Registry) error
- type EnvMetricV2ResponseBody
- func (m *EnvMetricV2ResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *EnvMetricV2ResponseBody) MarshalBinary() ([]byte, error)
- func (m *EnvMetricV2ResponseBody) UnmarshalBinary(b []byte) error
- func (m *EnvMetricV2ResponseBody) UnmarshalJSON(data []byte) error
- func (m *EnvMetricV2ResponseBody) Validate(formats strfmt.Registry) error
- type EnvMetricV3ResponseBody
- func (m *EnvMetricV3ResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *EnvMetricV3ResponseBody) MarshalBinary() ([]byte, error)
- func (m *EnvMetricV3ResponseBody) UnmarshalBinary(b []byte) error
- func (m *EnvMetricV3ResponseBody) UnmarshalJSON(data []byte) error
- func (m *EnvMetricV3ResponseBody) Validate(formats strfmt.Registry) error
- type LibraryPkgChildResponseBody
- func (m *LibraryPkgChildResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LibraryPkgChildResponseBody) MarshalBinary() ([]byte, error)
- func (m *LibraryPkgChildResponseBody) UnmarshalBinary(b []byte) error
- func (m *LibraryPkgChildResponseBody) UnmarshalJSON(data []byte) error
- func (m *LibraryPkgChildResponseBody) Validate(formats strfmt.Registry) error
- type LockfileAddLockfileRequestBody
- func (m *LockfileAddLockfileRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LockfileAddLockfileRequestBody) MarshalBinary() ([]byte, error)
- func (m *LockfileAddLockfileRequestBody) UnmarshalBinary(b []byte) error
- func (m *LockfileAddLockfileRequestBody) UnmarshalJSON(data []byte) error
- func (m *LockfileAddLockfileRequestBody) Validate(formats strfmt.Registry) error
- type LockfileAddLockfileResponseBody
- func (m *LockfileAddLockfileResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LockfileAddLockfileResponseBody) MarshalBinary() ([]byte, error)
- func (m *LockfileAddLockfileResponseBody) UnmarshalBinary(b []byte) error
- func (m *LockfileAddLockfileResponseBody) UnmarshalJSON(data []byte) error
- func (m *LockfileAddLockfileResponseBody) Validate(formats strfmt.Registry) error
- type LockfileGetLockfileDetailResponseBody
- func (m *LockfileGetLockfileDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LockfileGetLockfileDetailResponseBody) MarshalBinary() ([]byte, error)
- func (m *LockfileGetLockfileDetailResponseBody) UnmarshalBinary(b []byte) error
- func (m *LockfileGetLockfileDetailResponseBody) UnmarshalJSON(data []byte) error
- func (m *LockfileGetLockfileDetailResponseBody) Validate(formats strfmt.Registry) error
- type LockfileGetLockfileListResponseBody
- func (m *LockfileGetLockfileListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LockfileGetLockfileListResponseBody) MarshalBinary() ([]byte, error)
- func (m *LockfileGetLockfileListResponseBody) UnmarshalBinary(b []byte) error
- func (m *LockfileGetLockfileListResponseBody) UnmarshalJSON(data []byte) error
- func (m *LockfileGetLockfileListResponseBody) Validate(formats strfmt.Registry) error
- type LockfileListResponseBody
- func (m *LockfileListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LockfileListResponseBody) MarshalBinary() ([]byte, error)
- func (m *LockfileListResponseBody) UnmarshalBinary(b []byte) error
- func (m *LockfileListResponseBody) UnmarshalJSON(data []byte) error
- func (m *LockfileListResponseBody) Validate(formats strfmt.Registry) error
- type LockfileUpdateLockfileRequestBody
- func (m *LockfileUpdateLockfileRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LockfileUpdateLockfileRequestBody) MarshalBinary() ([]byte, error)
- func (m *LockfileUpdateLockfileRequestBody) UnmarshalBinary(b []byte) error
- func (m *LockfileUpdateLockfileRequestBody) UnmarshalJSON(data []byte) error
- func (m *LockfileUpdateLockfileRequestBody) Validate(formats strfmt.Registry) error
- type LockfileUpdateLockfileResponseBody
- func (m *LockfileUpdateLockfileResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LockfileUpdateLockfileResponseBody) MarshalBinary() ([]byte, error)
- func (m *LockfileUpdateLockfileResponseBody) UnmarshalBinary(b []byte) error
- func (m *LockfileUpdateLockfileResponseBody) UnmarshalJSON(data []byte) error
- func (m *LockfileUpdateLockfileResponseBody) Validate(formats strfmt.Registry) error
- type NeedRestartProcResponseBody
- func (m *NeedRestartProcResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NeedRestartProcResponseBody) MarshalBinary() ([]byte, error)
- func (m *NeedRestartProcResponseBody) UnmarshalBinary(b []byte) error
- func (m *NeedRestartProcResponseBody) UnmarshalJSON(data []byte) error
- func (m *NeedRestartProcResponseBody) Validate(formats strfmt.Registry) error
- type PagingResponseBody
- func (m *PagingResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PagingResponseBody) MarshalBinary() ([]byte, error)
- func (m *PagingResponseBody) UnmarshalBinary(b []byte) error
- func (m *PagingResponseBody) UnmarshalJSON(data []byte) error
- func (m *PagingResponseBody) Validate(formats strfmt.Registry) error
- type PkgCpeAddCpeRequestBody
- func (m *PkgCpeAddCpeRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PkgCpeAddCpeRequestBody) MarshalBinary() ([]byte, error)
- func (m *PkgCpeAddCpeRequestBody) UnmarshalBinary(b []byte) error
- func (m *PkgCpeAddCpeRequestBody) UnmarshalJSON(data []byte) error
- func (m *PkgCpeAddCpeRequestBody) Validate(formats strfmt.Registry) error
- type PkgCpeAddCpeResponseBody
- func (m *PkgCpeAddCpeResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PkgCpeAddCpeResponseBody) MarshalBinary() ([]byte, error)
- func (m *PkgCpeAddCpeResponseBody) UnmarshalBinary(b []byte) error
- func (m *PkgCpeAddCpeResponseBody) UnmarshalJSON(data []byte) error
- func (m *PkgCpeAddCpeResponseBody) Validate(formats strfmt.Registry) error
- type PkgCpeChildResponseBody
- func (m *PkgCpeChildResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PkgCpeChildResponseBody) MarshalBinary() ([]byte, error)
- func (m *PkgCpeChildResponseBody) UnmarshalBinary(b []byte) error
- func (m *PkgCpeChildResponseBody) UnmarshalJSON(data []byte) error
- func (m *PkgCpeChildResponseBody) Validate(formats strfmt.Registry) error
- type PkgCpeDeleteCpeDeprecatedRequestBody
- func (m *PkgCpeDeleteCpeDeprecatedRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PkgCpeDeleteCpeDeprecatedRequestBody) MarshalBinary() ([]byte, error)
- func (m *PkgCpeDeleteCpeDeprecatedRequestBody) UnmarshalBinary(b []byte) error
- func (m *PkgCpeDeleteCpeDeprecatedRequestBody) UnmarshalJSON(data []byte) error
- func (m *PkgCpeDeleteCpeDeprecatedRequestBody) Validate(formats strfmt.Registry) error
- type PkgCpeGetCpeDetailResponseBody
- func (m *PkgCpeGetCpeDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PkgCpeGetCpeDetailResponseBody) MarshalBinary() ([]byte, error)
- func (m *PkgCpeGetCpeDetailResponseBody) UnmarshalBinary(b []byte) error
- func (m *PkgCpeGetCpeDetailResponseBody) UnmarshalJSON(data []byte) error
- func (m *PkgCpeGetCpeDetailResponseBody) Validate(formats strfmt.Registry) error
- type PkgCpeGetPkgCpeListResponseBody
- func (m *PkgCpeGetPkgCpeListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PkgCpeGetPkgCpeListResponseBody) MarshalBinary() ([]byte, error)
- func (m *PkgCpeGetPkgCpeListResponseBody) UnmarshalBinary(b []byte) error
- func (m *PkgCpeGetPkgCpeListResponseBody) UnmarshalJSON(data []byte) error
- func (m *PkgCpeGetPkgCpeListResponseBody) Validate(formats strfmt.Registry) error
- type PkgCpeGetPkgDetailResponseBody
- func (m *PkgCpeGetPkgDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PkgCpeGetPkgDetailResponseBody) MarshalBinary() ([]byte, error)
- func (m *PkgCpeGetPkgDetailResponseBody) UnmarshalBinary(b []byte) error
- func (m *PkgCpeGetPkgDetailResponseBody) UnmarshalJSON(data []byte) error
- func (m *PkgCpeGetPkgDetailResponseBody) Validate(formats strfmt.Registry) error
- type PkgCpeListResponseBody
- func (m *PkgCpeListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PkgCpeListResponseBody) MarshalBinary() ([]byte, error)
- func (m *PkgCpeListResponseBody) UnmarshalBinary(b []byte) error
- func (m *PkgCpeListResponseBody) UnmarshalJSON(data []byte) error
- func (m *PkgCpeListResponseBody) Validate(formats strfmt.Registry) error
- type RoleGetRoleDetailResponseBody
- func (m *RoleGetRoleDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RoleGetRoleDetailResponseBody) MarshalBinary() ([]byte, error)
- func (m *RoleGetRoleDetailResponseBody) UnmarshalBinary(b []byte) error
- func (m *RoleGetRoleDetailResponseBody) UnmarshalJSON(data []byte) error
- func (m *RoleGetRoleDetailResponseBody) Validate(formats strfmt.Registry) error
- type RoleGetRoleListResponseBody
- func (m *RoleGetRoleListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RoleGetRoleListResponseBody) MarshalBinary() ([]byte, error)
- func (m *RoleGetRoleListResponseBody) UnmarshalBinary(b []byte) error
- func (m *RoleGetRoleListResponseBody) UnmarshalJSON(data []byte) error
- func (m *RoleGetRoleListResponseBody) Validate(formats strfmt.Registry) error
- type RoleListResponseBody
- func (m *RoleListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RoleListResponseBody) MarshalBinary() ([]byte, error)
- func (m *RoleListResponseBody) UnmarshalBinary(b []byte) error
- func (m *RoleListResponseBody) UnmarshalJSON(data []byte) error
- func (m *RoleListResponseBody) Validate(formats strfmt.Registry) error
- type RoleUpdateRoleRequestBody
- func (m *RoleUpdateRoleRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RoleUpdateRoleRequestBody) MarshalBinary() ([]byte, error)
- func (m *RoleUpdateRoleRequestBody) UnmarshalBinary(b []byte) error
- func (m *RoleUpdateRoleRequestBody) UnmarshalJSON(data []byte) error
- func (m *RoleUpdateRoleRequestBody) Validate(formats strfmt.Registry) error
- type RoleUpdateRoleResponseBody
- func (m *RoleUpdateRoleResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RoleUpdateRoleResponseBody) MarshalBinary() ([]byte, error)
- func (m *RoleUpdateRoleResponseBody) UnmarshalBinary(b []byte) error
- func (m *RoleUpdateRoleResponseBody) UnmarshalJSON(data []byte) error
- func (m *RoleUpdateRoleResponseBody) Validate(formats strfmt.Registry) error
- type SecMetricResponseBody
- func (m *SecMetricResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SecMetricResponseBody) MarshalBinary() ([]byte, error)
- func (m *SecMetricResponseBody) UnmarshalBinary(b []byte) error
- func (m *SecMetricResponseBody) UnmarshalJSON(data []byte) error
- func (m *SecMetricResponseBody) Validate(formats strfmt.Registry) error
- type ServerChildResponseBody
- func (m *ServerChildResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerChildResponseBody) MarshalBinary() ([]byte, error)
- func (m *ServerChildResponseBody) UnmarshalBinary(b []byte) error
- func (m *ServerChildResponseBody) UnmarshalJSON(data []byte) error
- func (m *ServerChildResponseBody) Validate(formats strfmt.Registry) error
- type ServerCreatePkgPasteServerRequestBody
- func (m *ServerCreatePkgPasteServerRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerCreatePkgPasteServerRequestBody) MarshalBinary() ([]byte, error)
- func (m *ServerCreatePkgPasteServerRequestBody) UnmarshalBinary(b []byte) error
- func (m *ServerCreatePkgPasteServerRequestBody) UnmarshalJSON(data []byte) error
- func (m *ServerCreatePkgPasteServerRequestBody) Validate(formats strfmt.Registry) error
- type ServerCreatePkgPasteServerResponseBody
- func (m *ServerCreatePkgPasteServerResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerCreatePkgPasteServerResponseBody) MarshalBinary() ([]byte, error)
- func (m *ServerCreatePkgPasteServerResponseBody) UnmarshalBinary(b []byte) error
- func (m *ServerCreatePkgPasteServerResponseBody) UnmarshalJSON(data []byte) error
- func (m *ServerCreatePkgPasteServerResponseBody) Validate(formats strfmt.Registry) error
- type ServerGetServerDetailByUUIDResponseBody
- func (m *ServerGetServerDetailByUUIDResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerGetServerDetailByUUIDResponseBody) MarshalBinary() ([]byte, error)
- func (m *ServerGetServerDetailByUUIDResponseBody) UnmarshalBinary(b []byte) error
- func (m *ServerGetServerDetailByUUIDResponseBody) UnmarshalJSON(data []byte) error
- func (m *ServerGetServerDetailByUUIDResponseBody) Validate(formats strfmt.Registry) error
- type ServerGetServerDetailResponseBody
- func (m *ServerGetServerDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerGetServerDetailResponseBody) MarshalBinary() ([]byte, error)
- func (m *ServerGetServerDetailResponseBody) UnmarshalBinary(b []byte) error
- func (m *ServerGetServerDetailResponseBody) UnmarshalJSON(data []byte) error
- func (m *ServerGetServerDetailResponseBody) Validate(formats strfmt.Registry) error
- type ServerGetServerListResponseBody
- func (m *ServerGetServerListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerGetServerListResponseBody) MarshalBinary() ([]byte, error)
- func (m *ServerGetServerListResponseBody) UnmarshalBinary(b []byte) error
- func (m *ServerGetServerListResponseBody) UnmarshalJSON(data []byte) error
- func (m *ServerGetServerListResponseBody) Validate(formats strfmt.Registry) error
- type ServerListResponseBody
- func (m *ServerListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerListResponseBody) MarshalBinary() ([]byte, error)
- func (m *ServerListResponseBody) UnmarshalBinary(b []byte) error
- func (m *ServerListResponseBody) UnmarshalJSON(data []byte) error
- func (m *ServerListResponseBody) Validate(formats strfmt.Registry) error
- type ServerTagResponseBody
- func (m *ServerTagResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerTagResponseBody) MarshalBinary() ([]byte, error)
- func (m *ServerTagResponseBody) UnmarshalBinary(b []byte) error
- func (m *ServerTagResponseBody) UnmarshalJSON(data []byte) error
- func (m *ServerTagResponseBody) Validate(formats strfmt.Registry) error
- type ServerUpdatePkgPasteServerRequestBody
- func (m *ServerUpdatePkgPasteServerRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerUpdatePkgPasteServerRequestBody) MarshalBinary() ([]byte, error)
- func (m *ServerUpdatePkgPasteServerRequestBody) UnmarshalBinary(b []byte) error
- func (m *ServerUpdatePkgPasteServerRequestBody) UnmarshalJSON(data []byte) error
- func (m *ServerUpdatePkgPasteServerRequestBody) Validate(formats strfmt.Registry) error
- type ServerUpdateServerRequestBody
- func (m *ServerUpdateServerRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerUpdateServerRequestBody) MarshalBinary() ([]byte, error)
- func (m *ServerUpdateServerRequestBody) UnmarshalBinary(b []byte) error
- func (m *ServerUpdateServerRequestBody) UnmarshalJSON(data []byte) error
- func (m *ServerUpdateServerRequestBody) Validate(formats strfmt.Registry) error
- type ServerUpdateServerResponseBody
- func (m *ServerUpdateServerResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServerUpdateServerResponseBody) MarshalBinary() ([]byte, error)
- func (m *ServerUpdateServerResponseBody) UnmarshalBinary(b []byte) error
- func (m *ServerUpdateServerResponseBody) UnmarshalJSON(data []byte) error
- func (m *ServerUpdateServerResponseBody) Validate(formats strfmt.Registry) error
- type TaskAddTaskCommentRequestBody
- func (m *TaskAddTaskCommentRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TaskAddTaskCommentRequestBody) MarshalBinary() ([]byte, error)
- func (m *TaskAddTaskCommentRequestBody) UnmarshalBinary(b []byte) error
- func (m *TaskAddTaskCommentRequestBody) UnmarshalJSON(data []byte) error
- func (m *TaskAddTaskCommentRequestBody) Validate(formats strfmt.Registry) error
- type TaskAddTaskCommentResponseBody
- func (m *TaskAddTaskCommentResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TaskAddTaskCommentResponseBody) MarshalBinary() ([]byte, error)
- func (m *TaskAddTaskCommentResponseBody) UnmarshalBinary(b []byte) error
- func (m *TaskAddTaskCommentResponseBody) UnmarshalJSON(data []byte) error
- func (m *TaskAddTaskCommentResponseBody) Validate(formats strfmt.Registry) error
- type TaskCommentResponseBody
- func (m *TaskCommentResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TaskCommentResponseBody) MarshalBinary() ([]byte, error)
- func (m *TaskCommentResponseBody) UnmarshalBinary(b []byte) error
- func (m *TaskCommentResponseBody) UnmarshalJSON(data []byte) error
- func (m *TaskCommentResponseBody) Validate(formats strfmt.Registry) error
- type TaskGetTaskDetailResponseBody
- func (m *TaskGetTaskDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TaskGetTaskDetailResponseBody) MarshalBinary() ([]byte, error)
- func (m *TaskGetTaskDetailResponseBody) UnmarshalBinary(b []byte) error
- func (m *TaskGetTaskDetailResponseBody) UnmarshalJSON(data []byte) error
- func (m *TaskGetTaskDetailResponseBody) Validate(formats strfmt.Registry) error
- type TaskGetTaskListResponseBody
- func (m *TaskGetTaskListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TaskGetTaskListResponseBody) MarshalBinary() ([]byte, error)
- func (m *TaskGetTaskListResponseBody) UnmarshalBinary(b []byte) error
- func (m *TaskGetTaskListResponseBody) UnmarshalJSON(data []byte) error
- func (m *TaskGetTaskListResponseBody) Validate(formats strfmt.Registry) error
- type TaskListResponseBody
- func (m *TaskListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TaskListResponseBody) MarshalBinary() ([]byte, error)
- func (m *TaskListResponseBody) UnmarshalBinary(b []byte) error
- func (m *TaskListResponseBody) UnmarshalJSON(data []byte) error
- func (m *TaskListResponseBody) Validate(formats strfmt.Registry) error
- type TaskUpdateTaskIgnoreRequestBody
- func (m *TaskUpdateTaskIgnoreRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TaskUpdateTaskIgnoreRequestBody) MarshalBinary() ([]byte, error)
- func (m *TaskUpdateTaskIgnoreRequestBody) UnmarshalBinary(b []byte) error
- func (m *TaskUpdateTaskIgnoreRequestBody) UnmarshalJSON(data []byte) error
- func (m *TaskUpdateTaskIgnoreRequestBody) Validate(formats strfmt.Registry) error
- type TaskUpdateTaskIgnoreResponseBody
- func (m *TaskUpdateTaskIgnoreResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TaskUpdateTaskIgnoreResponseBody) MarshalBinary() ([]byte, error)
- func (m *TaskUpdateTaskIgnoreResponseBody) UnmarshalBinary(b []byte) error
- func (m *TaskUpdateTaskIgnoreResponseBody) UnmarshalJSON(data []byte) error
- func (m *TaskUpdateTaskIgnoreResponseBody) Validate(formats strfmt.Registry) error
- type TaskUpdateTaskRequestBody
- func (m *TaskUpdateTaskRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TaskUpdateTaskRequestBody) MarshalBinary() ([]byte, error)
- func (m *TaskUpdateTaskRequestBody) UnmarshalBinary(b []byte) error
- func (m *TaskUpdateTaskRequestBody) UnmarshalJSON(data []byte) error
- func (m *TaskUpdateTaskRequestBody) Validate(formats strfmt.Registry) error
- type TaskUpdateTaskResponseBody
- func (m *TaskUpdateTaskResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TaskUpdateTaskResponseBody) MarshalBinary() ([]byte, error)
- func (m *TaskUpdateTaskResponseBody) UnmarshalBinary(b []byte) error
- func (m *TaskUpdateTaskResponseBody) UnmarshalJSON(data []byte) error
- func (m *TaskUpdateTaskResponseBody) Validate(formats strfmt.Registry) error
- type TmpMetricResponseBody
- func (m *TmpMetricResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TmpMetricResponseBody) MarshalBinary() ([]byte, error)
- func (m *TmpMetricResponseBody) UnmarshalBinary(b []byte) error
- func (m *TmpMetricResponseBody) UnmarshalJSON(data []byte) error
- func (m *TmpMetricResponseBody) Validate(formats strfmt.Registry) error
Constants ¶
const ( // TaskUpdateTaskIgnoreRequestBodyIgnoreUntilNothing captures enum value "nothing" TaskUpdateTaskIgnoreRequestBodyIgnoreUntilNothing string = "nothing" // TaskUpdateTaskIgnoreRequestBodyIgnoreUntilAnything captures enum value "anything" TaskUpdateTaskIgnoreRequestBodyIgnoreUntilAnything string = "anything" // TaskUpdateTaskIgnoreRequestBodyIgnoreUntilForever captures enum value "forever" TaskUpdateTaskIgnoreRequestBodyIgnoreUntilForever string = "forever" // TaskUpdateTaskIgnoreRequestBodyIgnoreUntilVector captures enum value "vector" TaskUpdateTaskIgnoreRequestBodyIgnoreUntilVector string = "vector" // TaskUpdateTaskIgnoreRequestBodyIgnoreUntilPkgFix captures enum value "pkg_fix" TaskUpdateTaskIgnoreRequestBodyIgnoreUntilPkgFix string = "pkg_fix" // TaskUpdateTaskIgnoreRequestBodyIgnoreUntilExploit captures enum value "exploit" TaskUpdateTaskIgnoreRequestBodyIgnoreUntilExploit string = "exploit" )
const ( // TaskUpdateTaskRequestBodyPriorityNone captures enum value "none" TaskUpdateTaskRequestBodyPriorityNone string = "none" // TaskUpdateTaskRequestBodyPriorityHigh captures enum value "high" TaskUpdateTaskRequestBodyPriorityHigh string = "high" // TaskUpdateTaskRequestBodyPriorityMedium captures enum value "medium" TaskUpdateTaskRequestBodyPriorityMedium string = "medium" // TaskUpdateTaskRequestBodyPriorityLow captures enum value "low" TaskUpdateTaskRequestBodyPriorityLow string = "low" )
const ( // TaskUpdateTaskRequestBodyStatusNew captures enum value "new" TaskUpdateTaskRequestBodyStatusNew string = "new" // TaskUpdateTaskRequestBodyStatusInvestigating captures enum value "investigating" TaskUpdateTaskRequestBodyStatusInvestigating string = "investigating" // TaskUpdateTaskRequestBodyStatusOngoing captures enum value "ongoing" TaskUpdateTaskRequestBodyStatusOngoing string = "ongoing" // TaskUpdateTaskRequestBodyStatusNotAffected captures enum value "not_affected" TaskUpdateTaskRequestBodyStatusNotAffected string = "not_affected" // TaskUpdateTaskRequestBodyStatusRiskAccepted captures enum value "risk_accepted" TaskUpdateTaskRequestBodyStatusRiskAccepted string = "risk_accepted" // TaskUpdateTaskRequestBodyStatusWorkaround captures enum value "workaround" TaskUpdateTaskRequestBodyStatusWorkaround string = "workaround" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvisoryResponseBody ¶
type AdvisoryResponseBody struct { // AdvisoryID of advisory // Example: advisoryID // Required: true AdvisoryID *string `json:"advisoryID"` // osFamily of advisory // Example: redhat // Required: true OsFamily *string `json:"osFamily"` }
AdvisoryResponseBody AdvisoryResponseBody
Advisory describes a advisory Example: {"advisoryID":"advisoryID","osFamily":"redhat"}
swagger:model AdvisoryResponseBody
func (*AdvisoryResponseBody) ContextValidate ¶
ContextValidate validates this advisory response body based on context it is used
func (*AdvisoryResponseBody) MarshalBinary ¶
func (m *AdvisoryResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdvisoryResponseBody) UnmarshalBinary ¶
func (m *AdvisoryResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*AdvisoryResponseBody) UnmarshalJSON ¶
func (m *AdvisoryResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type AffectedProcResponseBody ¶
type AffectedProcResponseBody struct { // AffectedProc Name // Example: apache // Required: true Name *string `json:"name"` // PID // Example: 12 // Required: true Pid *string `json:"pid"` }
AffectedProcResponseBody AffectedProcResponseBody Example: {"name":"apache","pid":"12"}
swagger:model AffectedProcResponseBody
func (*AffectedProcResponseBody) ContextValidate ¶
func (m *AffectedProcResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this affected proc response body based on context it is used
func (*AffectedProcResponseBody) MarshalBinary ¶
func (m *AffectedProcResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AffectedProcResponseBody) UnmarshalBinary ¶
func (m *AffectedProcResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*AffectedProcResponseBody) UnmarshalJSON ¶
func (m *AffectedProcResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type ChildTaskResponseBody ¶
type ChildTaskResponseBody struct { // ApplyingPatchOn of task // Example: 2018-07-13 // Format: date ApplyingPatchOn strfmt.Date `json:"applyingPatchOn,omitempty"` // created time of task // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // CVE ID of task // Example: CVE-2017-6799 // Required: true CveID *string `json:"cveID"` // ID of task // Example: 1 // Required: true ID *int64 `json:"id"` // Ignore of task // Example: true // Required: true Ignore *bool `json:"ignore"` // Ignore until of task // Example: vector IgnoreUntil string `json:"ignoreUntil,omitempty"` // MainUserID of task // Example: 1 MainUserID int64 `json:"mainUserID,omitempty"` // MainUserName of task // Example: main-user-name MainUserName string `json:"mainUserName,omitempty"` // Priority of task // Example: high // Required: true Priority *string `json:"priority"` // ServerID of task // Example: 1 // Required: true ServerID *int64 `json:"serverID"` // Status of task // Example: new // Required: true Status *string `json:"status"` // SubUserID of task // Example: 1 SubUserID int64 `json:"subUserID,omitempty"` // SubUserName of task // Example: sub-user-name SubUserName string `json:"subUserName,omitempty"` // updated time of task // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
ChildTaskResponseBody ChildTaskResponseBody Example: {"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}
swagger:model ChildTaskResponseBody
func (*ChildTaskResponseBody) ContextValidate ¶
ContextValidate validates this child task response body based on context it is used
func (*ChildTaskResponseBody) MarshalBinary ¶
func (m *ChildTaskResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChildTaskResponseBody) UnmarshalBinary ¶
func (m *ChildTaskResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ChildTaskResponseBody) UnmarshalJSON ¶
func (m *ChildTaskResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type CveGetCveDetailResponseBody ¶
type CveGetCveDetailResponseBody struct { // advisory of cve // Example: [{"advisoryID":"advisoryID","osFamily":"redhat"},{"advisoryID":"advisoryID","osFamily":"redhat"},{"advisoryID":"advisoryID","osFamily":"redhat"}] Advisories []*AdvisoryResponseBody `json:"advisories"` // created time // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // Cve ID string of cve // Example: CVE-2018-1234 // Required: true CveID *string `json:"cveID"` // cvss of cve // Example: Unde dolorum distinctio voluptatem nemo ut. // Required: true // Format: binary Cvss io.ReadCloser `json:"cvss"` // cwes of cve // Example: [{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}] // Required: true Cwes []*CweResponseBody `json:"cwes"` // envMetricV2 of cve // Example: [{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"}] // Required: true EnvMetricV2s []*EnvMetricV2ResponseBody `json:"envMetricV2s"` // envMetricV3 of cve // Example: [{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}] // Required: true EnvMetricV3s []*EnvMetricV3ResponseBody `json:"envMetricV3s"` // references of cve // Example: {"nvd":"https://xxxxxx"} // Required: true References map[string]string `json:"references"` // secMetric of cve // Example: [{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}] // Required: true SecMetrics []*SecMetricResponseBody `json:"secMetrics"` // serverOsFamilies of cve // Example: ["Odit suscipit suscipit.","Dolor reiciendis.","Est accusamus et repudiandae.","Illum atque dicta sapiente optio commodi."] // Required: true ServerOsFamilies []string `json:"serverOsFamilies"` // tmp metric v2 // Required: true TmpMetricV2 *TmpMetricResponseBody `json:"tmpMetricV2"` // tmp metric v3 // Required: true TmpMetricV3 *TmpMetricResponseBody `json:"tmpMetricV3"` // updated time // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
CveGetCveDetailResponseBody CveGetCveDetailResponseBody Example: {"advisories":[{"advisoryID":"advisoryID","osFamily":"redhat"},{"advisoryID":"advisoryID","osFamily":"redhat"},{"advisoryID":"advisoryID","osFamily":"redhat"},{"advisoryID":"advisoryID","osFamily":"redhat"}],"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","cvss":"Et aut quae vero fugit.","cwes":[{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}],"envMetricV2s":[{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"}],"envMetricV3s":[{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}],"references":{"nvd":"https://xxxxxx"},"secMetrics":[{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}],"serverOsFamilies":["Est est.","Dolor natus.","Dolores reiciendis exercitationem labore dolor.","Magnam odit sapiente."],"tmpMetricV2":{"createdAt":"2018-07-14T08:13:28Z","e":"","rc":"","rl":"","updatedAt":"2018-07-14T08:13:28Z"},"tmpMetricV3":{"createdAt":"2018-07-14T08:13:28Z","e":"","rc":"","rl":"","updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"}
swagger:model CveGetCveDetailResponseBody
func (*CveGetCveDetailResponseBody) ContextValidate ¶
func (m *CveGetCveDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this cve get cve detail response body based on the context it is used
func (*CveGetCveDetailResponseBody) MarshalBinary ¶
func (m *CveGetCveDetailResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CveGetCveDetailResponseBody) UnmarshalBinary ¶
func (m *CveGetCveDetailResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CveGetCveDetailResponseBody) UnmarshalJSON ¶
func (m *CveGetCveDetailResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type CveGetCveListResponseBody ¶
type CveGetCveListResponseBody struct { // Cves list // Example: [{"advisoryIDs":["advisoryID"],"allTaskCount":100,"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","cwes":[{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"isNotActive":true,"isOwaspTopTen2017":true,"maxV2":9,"maxV3":9,"newTaskCount":10,"scoreV2s":{"nvd":9,"redhat":7},"scoreV3s":{"nvd":8,"redhat":9},"title":"title","topicCount":10,"topicLastUpdatedAt":"2018-07-14T08:13:28Z","updatedAt":"2018-07-14T08:13:28Z","vectorV2s":{"jvn":"AV:L/AC:M/Au:N/C:C/I:N/A:N","nvd":"AV:L/AC:M/Au:N/C:C/I:N/A:N"},"vectorV3s":{"jvn":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","nvd":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"}},{"advisoryIDs":["advisoryID"],"allTaskCount":100,"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","cwes":[{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"isNotActive":true,"isOwaspTopTen2017":true,"maxV2":9,"maxV3":9,"newTaskCount":10,"scoreV2s":{"nvd":9,"redhat":7},"scoreV3s":{"nvd":8,"redhat":9},"title":"title","topicCount":10,"topicLastUpdatedAt":"2018-07-14T08:13:28Z","updatedAt":"2018-07-14T08:13:28Z","vectorV2s":{"jvn":"AV:L/AC:M/Au:N/C:C/I:N/A:N","nvd":"AV:L/AC:M/Au:N/C:C/I:N/A:N"},"vectorV3s":{"jvn":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","nvd":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"}},{"advisoryIDs":["advisoryID"],"allTaskCount":100,"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","cwes":[{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"isNotActive":true,"isOwaspTopTen2017":true,"maxV2":9,"maxV3":9,"newTaskCount":10,"scoreV2s":{"nvd":9,"redhat":7},"scoreV3s":{"nvd":8,"redhat":9},"title":"title","topicCount":10,"topicLastUpdatedAt":"2018-07-14T08:13:28Z","updatedAt":"2018-07-14T08:13:28Z","vectorV2s":{"jvn":"AV:L/AC:M/Au:N/C:C/I:N/A:N","nvd":"AV:L/AC:M/Au:N/C:C/I:N/A:N"},"vectorV3s":{"jvn":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","nvd":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"}},{"advisoryIDs":["advisoryID"],"allTaskCount":100,"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","cwes":[{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"isNotActive":true,"isOwaspTopTen2017":true,"maxV2":9,"maxV3":9,"newTaskCount":10,"scoreV2s":{"nvd":9,"redhat":7},"scoreV3s":{"nvd":8,"redhat":9},"title":"title","topicCount":10,"topicLastUpdatedAt":"2018-07-14T08:13:28Z","updatedAt":"2018-07-14T08:13:28Z","vectorV2s":{"jvn":"AV:L/AC:M/Au:N/C:C/I:N/A:N","nvd":"AV:L/AC:M/Au:N/C:C/I:N/A:N"},"vectorV3s":{"jvn":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","nvd":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"}}] Cves []*CveListResponseBody `json:"cves"` // paging Paging *PagingResponseBody `json:"paging,omitempty"` }
CveGetCveListResponseBody CveGetCveListResponseBody Example: {"cves":[{"advisoryIDs":["advisoryID"],"allTaskCount":100,"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","cwes":[{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"isNotActive":true,"isOwaspTopTen2017":true,"maxV2":9,"maxV3":9,"newTaskCount":10,"scoreV2s":{"nvd":9,"redhat":7},"scoreV3s":{"nvd":8,"redhat":9},"title":"title","topicCount":10,"topicLastUpdatedAt":"2018-07-14T08:13:28Z","updatedAt":"2018-07-14T08:13:28Z","vectorV2s":{"jvn":"AV:L/AC:M/Au:N/C:C/I:N/A:N","nvd":"AV:L/AC:M/Au:N/C:C/I:N/A:N"},"vectorV3s":{"jvn":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","nvd":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"}},{"advisoryIDs":["advisoryID"],"allTaskCount":100,"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","cwes":[{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"isNotActive":true,"isOwaspTopTen2017":true,"maxV2":9,"maxV3":9,"newTaskCount":10,"scoreV2s":{"nvd":9,"redhat":7},"scoreV3s":{"nvd":8,"redhat":9},"title":"title","topicCount":10,"topicLastUpdatedAt":"2018-07-14T08:13:28Z","updatedAt":"2018-07-14T08:13:28Z","vectorV2s":{"jvn":"AV:L/AC:M/Au:N/C:C/I:N/A:N","nvd":"AV:L/AC:M/Au:N/C:C/I:N/A:N"},"vectorV3s":{"jvn":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","nvd":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"}}],"paging":{"limit":20,"offset":10,"page":1,"totalCount":200,"totalPage":10}}
swagger:model CveGetCveListResponseBody
func (*CveGetCveListResponseBody) ContextValidate ¶
func (m *CveGetCveListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this cve get cve list response body based on the context it is used
func (*CveGetCveListResponseBody) MarshalBinary ¶
func (m *CveGetCveListResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CveGetCveListResponseBody) UnmarshalBinary ¶
func (m *CveGetCveListResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CveGetCveListResponseBody) UnmarshalJSON ¶
func (m *CveGetCveListResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type CveListResponseBody ¶
type CveListResponseBody struct { // advisoryIDs of cve // Example: ["advisoryID"] AdvisoryIDs []string `json:"advisoryIDs"` // AllTaskCount of cve // Example: 100 // Required: true AllTaskCount *int64 `json:"allTaskCount"` // created time // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // Cve ID string of cve // Example: CVE-2018-1234 // Required: true CveID *string `json:"cveID"` // cwes of cve // Example: [{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}] // Required: true Cwes []*CweResponseBody `json:"cwes"` // hasExploit of cve // Example: true HasExploit bool `json:"hasExploit,omitempty"` // hasMitigation of cve // Example: true HasMitigation bool `json:"hasMitigation,omitempty"` // hasWorkaroundof cve // Example: true HasWorkaround bool `json:"hasWorkaround,omitempty"` // Flag of active cve // Example: true // Required: true IsNotActive *bool `json:"isNotActive"` // isOwaspTopTen2017 of cve // Example: true // Required: true IsOwaspTopTen2017 *bool `json:"isOwaspTopTen2017"` // maxV2 of cve // Example: 9 // Required: true MaxV2 *float64 `json:"maxV2"` // maxV3 of cve // Example: 9 // Required: true MaxV3 *float64 `json:"maxV3"` // NewTaskCount of cve // Example: 10 // Required: true NewTaskCount *int64 `json:"newTaskCount"` // cvss v2 scores of cve // Example: {"nvd":9,"redhat":7} // Required: true ScoreV2s map[string]float64 `json:"scoreV2s"` // cvss v3 scores of cve // Example: {"nvd":8,"redhat":9} // Required: true ScoreV3s map[string]float64 `json:"scoreV3s"` // Title of cve // Example: title // Required: true Title *string `json:"title"` // topicCount of cve // Example: 10 // Required: true TopicCount *int64 `json:"topicCount"` // topicLastUpdatedAt of cve // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time TopicLastUpdatedAt *strfmt.DateTime `json:"topicLastUpdatedAt"` // updated time // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` // cvss v2 vectors of cve // Example: {"jvn":"AV:L/AC:M/Au:N/C:C/I:N/A:N","nvd":"AV:L/AC:M/Au:N/C:C/I:N/A:N"} // Required: true VectorV2s map[string]string `json:"vectorV2s"` // cvss v3 vectors of cve // Example: {"jvn":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","nvd":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"} // Required: true VectorV3s map[string]string `json:"vectorV3s"` }
CveListResponseBody CveListResponseBody Example: {"advisoryIDs":["advisoryID"],"allTaskCount":100,"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","cwes":[{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"isNotActive":true,"isOwaspTopTen2017":true,"maxV2":9,"maxV3":9,"newTaskCount":10,"scoreV2s":{"nvd":9,"redhat":7},"scoreV3s":{"nvd":8,"redhat":9},"title":"title","topicCount":10,"topicLastUpdatedAt":"2018-07-14T08:13:28Z","updatedAt":"2018-07-14T08:13:28Z","vectorV2s":{"jvn":"AV:L/AC:M/Au:N/C:C/I:N/A:N","nvd":"AV:L/AC:M/Au:N/C:C/I:N/A:N"},"vectorV3s":{"jvn":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","nvd":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"}}
swagger:model CveListResponseBody
func (*CveListResponseBody) ContextValidate ¶
ContextValidate validate this cve list response body based on the context it is used
func (*CveListResponseBody) MarshalBinary ¶
func (m *CveListResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CveListResponseBody) UnmarshalBinary ¶
func (m *CveListResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CveListResponseBody) UnmarshalJSON ¶
func (m *CveListResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type CweResponseBody ¶
type CweResponseBody struct { // cweID of cwe // Example: CWE-416 // Required: true CweID *string `json:"cweID"` // english summary of cwe // Example: english summary // Required: true English *string `json:"english"` // japanese summary of cwe // Example: japanese summary // Required: true Japanese *string `json:"japanese"` // owaspTopTen2017 of cwe // Example: 10 OwaspTopTen2017 string `json:"owaspTopTen2017,omitempty"` // sourceType of cwe // Example: nvd // Required: true SourceType *string `json:"sourceType"` }
CweResponseBody CweResponseBody
Cwe describes a cwe Example: {"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}
swagger:model CweResponseBody
func (*CweResponseBody) ContextValidate ¶
ContextValidate validates this cwe response body based on context it is used
func (*CweResponseBody) MarshalBinary ¶
func (m *CweResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CweResponseBody) UnmarshalBinary ¶
func (m *CweResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CweResponseBody) UnmarshalJSON ¶
func (m *CweResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type DetectionMethodResponseBody ¶
type DetectionMethodResponseBody struct { // Detection Method Name // Example: vuls // Required: true Name *string `json:"name"` // ReliabilityScore // Example: 100 // Required: true ReliabilityScore *int64 `json:"reliabilityScore"` }
DetectionMethodResponseBody DetectionMethod ResponseBody Example: {"name":"vuls","reliabilityScore":100}
swagger:model DetectionMethod ResponseBody
func (*DetectionMethodResponseBody) ContextValidate ¶
func (m *DetectionMethodResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this detection method response body based on context it is used
func (*DetectionMethodResponseBody) MarshalBinary ¶
func (m *DetectionMethodResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DetectionMethodResponseBody) UnmarshalBinary ¶
func (m *DetectionMethodResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*DetectionMethodResponseBody) UnmarshalJSON ¶
func (m *DetectionMethodResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type DetectionToolResponseBody ¶
type DetectionToolResponseBody struct { // Detection Tool Name // Example: changelog // Required: true Name *string `json:"name"` // PatchAppliedAt // Example: 2018-07-14T08:13:28Z // Format: date-time PatchAppliedAt strfmt.DateTime `json:"patchAppliedAt,omitempty"` }
DetectionToolResponseBody DetectionToolResponseBody Example: {"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}
swagger:model DetectionToolResponseBody
func (*DetectionToolResponseBody) ContextValidate ¶
func (m *DetectionToolResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this detection tool response body based on context it is used
func (*DetectionToolResponseBody) MarshalBinary ¶
func (m *DetectionToolResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DetectionToolResponseBody) UnmarshalBinary ¶
func (m *DetectionToolResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*DetectionToolResponseBody) UnmarshalJSON ¶
func (m *DetectionToolResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type EnvMetricV2ResponseBody ¶
type EnvMetricV2ResponseBody struct { // CDP of envMetricV2 // Required: true Cdp *string `json:"cdp"` // created time // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // CveID of envMetricV2 // Example: CVE-2018-1234 // Required: true CveID *string `json:"cveID"` // ServerRoleID of envMetricV2 // Example: 1 // Required: true RoleID *int64 `json:"roleID"` // ServerRoleName of envMetricV2 // Example: roleName // Required: true RoleName *string `json:"roleName"` // TD of envMetricV2 // Required: true Td *string `json:"td"` // updated time // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
EnvMetricV2ResponseBody EnvMetricV2ResponseBody
EnvMetricV2 describes a envMetricV2 Example: {"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"}
swagger:model EnvMetricV2ResponseBody
func (*EnvMetricV2ResponseBody) ContextValidate ¶
func (m *EnvMetricV2ResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this env metric v2 response body based on context it is used
func (*EnvMetricV2ResponseBody) MarshalBinary ¶
func (m *EnvMetricV2ResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnvMetricV2ResponseBody) UnmarshalBinary ¶
func (m *EnvMetricV2ResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*EnvMetricV2ResponseBody) UnmarshalJSON ¶
func (m *EnvMetricV2ResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type EnvMetricV3ResponseBody ¶
type EnvMetricV3ResponseBody struct { // created time // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // CveID of envMetricV3 // Example: CVE-2018-1234 // Required: true CveID *string `json:"cveID"` // MA of envMetricV3 // Required: true Ma *string `json:"ma"` // MAC of envMetricV3 // Required: true Mac *string `json:"mac"` // MAV of envMetricV3 // Required: true Mav *string `json:"mav"` // MC of envMetricV3 // Required: true Mc *string `json:"mc"` // MPR of envMetricV3 // Required: true Mpr *string `json:"mpr"` // MS of envMetricV3 // Required: true Ms *string `json:"ms"` // MUI of envMetricV3 // Required: true Mui *string `json:"mui"` // ServerRoleID of envMetricV3 // Example: 1 // Required: true RoleID *int64 `json:"roleID"` // ServerRoleName of envMetricV3 // Example: roleName // Required: true RoleName *string `json:"roleName"` // updated time // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
EnvMetricV3ResponseBody EnvMetricV3ResponseBody
EnvMetricV3 describes a envMetricV3 Example: {"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}
swagger:model EnvMetricV3ResponseBody
func (*EnvMetricV3ResponseBody) ContextValidate ¶
func (m *EnvMetricV3ResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this env metric v3 response body based on context it is used
func (*EnvMetricV3ResponseBody) MarshalBinary ¶
func (m *EnvMetricV3ResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnvMetricV3ResponseBody) UnmarshalBinary ¶
func (m *EnvMetricV3ResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*EnvMetricV3ResponseBody) UnmarshalJSON ¶
func (m *EnvMetricV3ResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type LibraryPkgChildResponseBody ¶
type LibraryPkgChildResponseBody struct { // crated time of package or cpe // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // ID of library package // Example: 1 // Required: true ID *int64 `json:"id"` // Name of library package // Example: package01 // Required: true Name *string `json:"name"` // updated time of package or cpe // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` // Version of library package // Example: 1.0 // Required: true Version *string `json:"version"` }
LibraryPkgChildResponseBody LibraryPkgChildResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}
swagger:model LibraryPkgChildResponseBody
func (*LibraryPkgChildResponseBody) ContextValidate ¶
func (m *LibraryPkgChildResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this library pkg child response body based on context it is used
func (*LibraryPkgChildResponseBody) MarshalBinary ¶
func (m *LibraryPkgChildResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LibraryPkgChildResponseBody) UnmarshalBinary ¶
func (m *LibraryPkgChildResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*LibraryPkgChildResponseBody) UnmarshalJSON ¶
func (m *LibraryPkgChildResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type LockfileAddLockfileRequestBody ¶
type LockfileAddLockfileRequestBody struct { // fileContent of the lockfile // Required: true FileContent *string `json:"fileContent"` // Path of lockfile // Example: /FutureVuls/package.json // Required: true Path *string `json:"path"` // ServerID // Example: 1 // Required: true ServerID *int64 `json:"serverID"` }
LockfileAddLockfileRequestBody LockfileAddLockfileRequestBody Example: {"fileContent":"","path":"/FutureVuls/package.json","serverID":1}
swagger:model LockfileAddLockfileRequestBody
func (*LockfileAddLockfileRequestBody) ContextValidate ¶
func (m *LockfileAddLockfileRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this lockfile add lockfile request body based on context it is used
func (*LockfileAddLockfileRequestBody) MarshalBinary ¶
func (m *LockfileAddLockfileRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LockfileAddLockfileRequestBody) UnmarshalBinary ¶
func (m *LockfileAddLockfileRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*LockfileAddLockfileRequestBody) UnmarshalJSON ¶
func (m *LockfileAddLockfileRequestBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type LockfileAddLockfileResponseBody ¶
type LockfileAddLockfileResponseBody struct { // created time of lockfile // Example: 2018-07-14T08:13:28Z // Required: true CreatedAt *string `json:"createdAt"` // FileContent of lockfile // Required: true FileContent *string `json:"fileContent"` // ID of lockfile // Example: 1 // Required: true ID *int64 `json:"id"` // LibraryPkgs of lockfile // Example: [{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}] LibraryPkgs []*LibraryPkgChildResponseBody `json:"libraryPkgs"` // Path of lockfile // Example: /FutureVuls/package.json // Required: true Path *string `json:"path"` // server Server *ServerChildResponseBody `json:"server,omitempty"` // updated time of lockfile // Example: 2018-07-14T08:13:28Z // Required: true UpdatedAt *string `json:"updatedAt"` }
LockfileAddLockfileResponseBody LockfileAddLockfileResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"}
swagger:model LockfileAddLockfileResponseBody
func (*LockfileAddLockfileResponseBody) ContextValidate ¶
func (m *LockfileAddLockfileResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this lockfile add lockfile response body based on the context it is used
func (*LockfileAddLockfileResponseBody) MarshalBinary ¶
func (m *LockfileAddLockfileResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LockfileAddLockfileResponseBody) UnmarshalBinary ¶
func (m *LockfileAddLockfileResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*LockfileAddLockfileResponseBody) UnmarshalJSON ¶
func (m *LockfileAddLockfileResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type LockfileGetLockfileDetailResponseBody ¶
type LockfileGetLockfileDetailResponseBody struct { // created time of lockfile // Example: 2018-07-14T08:13:28Z // Required: true CreatedAt *string `json:"createdAt"` // FileContent of lockfile // Required: true FileContent *string `json:"fileContent"` // ID of lockfile // Example: 1 // Required: true ID *int64 `json:"id"` // LibraryPkgs of lockfile // Example: [{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}] LibraryPkgs []*LibraryPkgChildResponseBody `json:"libraryPkgs"` // Path of lockfile // Example: /FutureVuls/package.json // Required: true Path *string `json:"path"` // server Server *ServerChildResponseBody `json:"server,omitempty"` // updated time of lockfile // Example: 2018-07-14T08:13:28Z // Required: true UpdatedAt *string `json:"updatedAt"` }
LockfileGetLockfileDetailResponseBody LockfileGetLockfileDetailResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"}
swagger:model LockfileGetLockfileDetailResponseBody
func (*LockfileGetLockfileDetailResponseBody) ContextValidate ¶
func (m *LockfileGetLockfileDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this lockfile get lockfile detail response body based on the context it is used
func (*LockfileGetLockfileDetailResponseBody) MarshalBinary ¶
func (m *LockfileGetLockfileDetailResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LockfileGetLockfileDetailResponseBody) UnmarshalBinary ¶
func (m *LockfileGetLockfileDetailResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*LockfileGetLockfileDetailResponseBody) UnmarshalJSON ¶
func (m *LockfileGetLockfileDetailResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type LockfileGetLockfileListResponseBody ¶
type LockfileGetLockfileListResponseBody struct { // Lockfiles list // Example: [{"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"}] Lockfiles []*LockfileListResponseBody `json:"lockfiles"` // paging Paging *PagingResponseBody `json:"paging,omitempty"` }
LockfileGetLockfileListResponseBody LockfileGetLockfileListResponseBody Example: {"lockfiles":[{"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"}],"paging":{"limit":20,"offset":10,"page":1,"totalCount":200,"totalPage":10}}
swagger:model LockfileGetLockfileListResponseBody
func (*LockfileGetLockfileListResponseBody) ContextValidate ¶
func (m *LockfileGetLockfileListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this lockfile get lockfile list response body based on the context it is used
func (*LockfileGetLockfileListResponseBody) MarshalBinary ¶
func (m *LockfileGetLockfileListResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LockfileGetLockfileListResponseBody) UnmarshalBinary ¶
func (m *LockfileGetLockfileListResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*LockfileGetLockfileListResponseBody) UnmarshalJSON ¶
func (m *LockfileGetLockfileListResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type LockfileListResponseBody ¶
type LockfileListResponseBody struct { // created time of lockfile // Example: 2018-07-14T08:13:28Z // Required: true CreatedAt *string `json:"createdAt"` // FileContent of lockfile // Required: true FileContent *string `json:"fileContent"` // ID of lockfile // Example: 1 // Required: true ID *int64 `json:"id"` // LibraryPkgs of lockfile // Example: [{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}] LibraryPkgs []*LibraryPkgChildResponseBody `json:"libraryPkgs"` // Path of lockfile // Example: /FutureVuls/package.json // Required: true Path *string `json:"path"` // server Server *ServerChildResponseBody `json:"server,omitempty"` // updated time of lockfile // Example: 2018-07-14T08:13:28Z // Required: true UpdatedAt *string `json:"updatedAt"` }
LockfileListResponseBody LockfileListResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"}
swagger:model LockfileListResponseBody
func (*LockfileListResponseBody) ContextValidate ¶
func (m *LockfileListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this lockfile list response body based on the context it is used
func (*LockfileListResponseBody) MarshalBinary ¶
func (m *LockfileListResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LockfileListResponseBody) UnmarshalBinary ¶
func (m *LockfileListResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*LockfileListResponseBody) UnmarshalJSON ¶
func (m *LockfileListResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type LockfileUpdateLockfileRequestBody ¶
type LockfileUpdateLockfileRequestBody struct { // fileContent of the lockfile FileContent string `json:"fileContent,omitempty"` // Path of lockfile // Example: /FutureVuls/package.json Path string `json:"path,omitempty"` }
LockfileUpdateLockfileRequestBody LockfileUpdateLockfileRequestBody Example: {"fileContent":"","path":"/FutureVuls/package.json"}
swagger:model LockfileUpdateLockfileRequestBody
func (*LockfileUpdateLockfileRequestBody) ContextValidate ¶
func (m *LockfileUpdateLockfileRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this lockfile update lockfile request body based on context it is used
func (*LockfileUpdateLockfileRequestBody) MarshalBinary ¶
func (m *LockfileUpdateLockfileRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LockfileUpdateLockfileRequestBody) UnmarshalBinary ¶
func (m *LockfileUpdateLockfileRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*LockfileUpdateLockfileRequestBody) UnmarshalJSON ¶
func (m *LockfileUpdateLockfileRequestBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type LockfileUpdateLockfileResponseBody ¶
type LockfileUpdateLockfileResponseBody struct { // created time of lockfile // Example: 2018-07-14T08:13:28Z // Required: true CreatedAt *string `json:"createdAt"` // FileContent of lockfile // Required: true FileContent *string `json:"fileContent"` // ID of lockfile // Example: 1 // Required: true ID *int64 `json:"id"` // LibraryPkgs of lockfile // Example: [{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}] LibraryPkgs []*LibraryPkgChildResponseBody `json:"libraryPkgs"` // Path of lockfile // Example: /FutureVuls/package.json // Required: true Path *string `json:"path"` // server Server *ServerChildResponseBody `json:"server,omitempty"` // updated time of lockfile // Example: 2018-07-14T08:13:28Z // Required: true UpdatedAt *string `json:"updatedAt"` }
LockfileUpdateLockfileResponseBody LockfileUpdateLockfileResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"}
swagger:model LockfileUpdateLockfileResponseBody
func (*LockfileUpdateLockfileResponseBody) ContextValidate ¶
func (m *LockfileUpdateLockfileResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this lockfile update lockfile response body based on the context it is used
func (*LockfileUpdateLockfileResponseBody) MarshalBinary ¶
func (m *LockfileUpdateLockfileResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LockfileUpdateLockfileResponseBody) UnmarshalBinary ¶
func (m *LockfileUpdateLockfileResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*LockfileUpdateLockfileResponseBody) UnmarshalJSON ¶
func (m *LockfileUpdateLockfileResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type NeedRestartProcResponseBody ¶
type NeedRestartProcResponseBody struct { // InitSystem of NeedRestartProc // Example: initSystem // Required: true InitSystem *string `json:"initSystem"` // Path of NeedRestartProc // Example: path // Required: true Path *string `json:"path"` // PID // Example: 12 // Required: true Pid *string `json:"pid"` // ServiceName of NeedRestartProc // Example: serviceName // Required: true ServiceName *string `json:"serviceName"` }
NeedRestartProcResponseBody NeedRestartProcResponseBody Example: {"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}
swagger:model NeedRestartProcResponseBody
func (*NeedRestartProcResponseBody) ContextValidate ¶
func (m *NeedRestartProcResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this need restart proc response body based on context it is used
func (*NeedRestartProcResponseBody) MarshalBinary ¶
func (m *NeedRestartProcResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NeedRestartProcResponseBody) UnmarshalBinary ¶
func (m *NeedRestartProcResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*NeedRestartProcResponseBody) UnmarshalJSON ¶
func (m *NeedRestartProcResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type PagingResponseBody ¶
type PagingResponseBody struct { // Limit // Example: 20 // Required: true Limit *int64 `json:"limit"` // Offset // Example: 10 // Required: true Offset *int64 `json:"offset"` // Page // Example: 1 // Required: true Page *int64 `json:"page"` // TotalCount // Example: 200 // Required: true TotalCount *int64 `json:"totalCount"` // Total Page Size // Example: 10 // Required: true TotalPage *int64 `json:"totalPage"` }
PagingResponseBody PagingResponseBody
Paging describes a paging object Example: {"limit":20,"offset":10,"page":1,"totalCount":200,"totalPage":10}
swagger:model PagingResponseBody
func (*PagingResponseBody) ContextValidate ¶
ContextValidate validates this paging response body based on context it is used
func (*PagingResponseBody) MarshalBinary ¶
func (m *PagingResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PagingResponseBody) UnmarshalBinary ¶
func (m *PagingResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PagingResponseBody) UnmarshalJSON ¶
func (m *PagingResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type PkgCpeAddCpeRequestBody ¶
type PkgCpeAddCpeRequestBody struct { // Cpe Name(cpe uri or cpe format string) // Example: cpe:/a:berlios:discussion_forum_2k:3.3 // Required: true CpeName *string `json:"cpeName"` // isURI specifies whether cpeName is in URI format or FormatString format. // Example: true IsURI *bool `json:"isURI,omitempty"` // ServerID // Example: 1 // Required: true ServerID *int64 `json:"serverID"` }
PkgCpeAddCpeRequestBody PkgCpeAddCpeRequestBody Example: {"cpeName":"cpe:/a:berlios:discussion_forum_2k:3.3","isURI":true,"serverID":1}
swagger:model PkgCpeAddCpeRequestBody
func (*PkgCpeAddCpeRequestBody) ContextValidate ¶
func (m *PkgCpeAddCpeRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this pkg cpe add cpe request body based on context it is used
func (*PkgCpeAddCpeRequestBody) MarshalBinary ¶
func (m *PkgCpeAddCpeRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PkgCpeAddCpeRequestBody) UnmarshalBinary ¶
func (m *PkgCpeAddCpeRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PkgCpeAddCpeRequestBody) UnmarshalJSON ¶
func (m *PkgCpeAddCpeRequestBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type PkgCpeAddCpeResponseBody ¶
type PkgCpeAddCpeResponseBody struct { // Cpe URI of cpe // Example: cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:* CpeURI string `json:"cpeURI,omitempty"` // crated time of package or cpe // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // ID of package or cpe // Example: 1 // Required: true ID *int64 `json:"id"` // Name of package or cpe // Example: package01 // Required: true Name *string `json:"name"` // Release of package // Example: release Release string `json:"release,omitempty"` // server // Required: true Server *ServerChildResponseBody `json:"server"` // updated time of server // Example: [{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}] Tasks []*ChildTaskResponseBody `json:"tasks"` // updated time of package or cpe // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` // Version of package or cpe // Example: 1.0 // Required: true Version *string `json:"version"` }
PkgCpeAddCpeResponseBody PkgCpeAddCpeResponseBody Example: {"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","release":"release","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"tasks":[{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}
swagger:model PkgCpeAddCpeResponseBody
func (*PkgCpeAddCpeResponseBody) ContextValidate ¶
func (m *PkgCpeAddCpeResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this pkg cpe add cpe response body based on the context it is used
func (*PkgCpeAddCpeResponseBody) MarshalBinary ¶
func (m *PkgCpeAddCpeResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PkgCpeAddCpeResponseBody) UnmarshalBinary ¶
func (m *PkgCpeAddCpeResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PkgCpeAddCpeResponseBody) UnmarshalJSON ¶
func (m *PkgCpeAddCpeResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type PkgCpeChildResponseBody ¶
type PkgCpeChildResponseBody struct { // AffectedProcess list of package // Example: [{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}] AffectedProcs []*AffectedProcResponseBody `json:"affectedProcs"` // CpeID of cpe // Example: 1 CpeID int64 `json:"cpeID,omitempty"` // Cpe URI of cpe // Example: cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:* CpeURI string `json:"cpeURI,omitempty"` // crated time of package or cpe // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // Name of package or cpe // Example: package01 // Required: true Name *string `json:"name"` // New Release of package // Example: new release NewRelease string `json:"newRelease,omitempty"` // New Version of package // Example: 2.0 NewVersion string `json:"newVersion,omitempty"` // Package ID of package // Example: 1 PkgID int64 `json:"pkgID,omitempty"` // Release of package // Example: release Release string `json:"release,omitempty"` // Repository of package // Example: repository Repository string `json:"repository,omitempty"` // ServerID of package or cpe // Example: 1 // Required: true ServerID *int64 `json:"serverID"` // updated time of package or cpe // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` // Version of package or cpe // Example: 1.0 // Required: true Version *string `json:"version"` }
PkgCpeChildResponseBody PkgCpeChildResponseBody Example: {"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}
swagger:model PkgCpeChildResponseBody
func (*PkgCpeChildResponseBody) ContextValidate ¶
func (m *PkgCpeChildResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this pkg cpe child response body based on the context it is used
func (*PkgCpeChildResponseBody) MarshalBinary ¶
func (m *PkgCpeChildResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PkgCpeChildResponseBody) UnmarshalBinary ¶
func (m *PkgCpeChildResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PkgCpeChildResponseBody) UnmarshalJSON ¶
func (m *PkgCpeChildResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type PkgCpeDeleteCpeDeprecatedRequestBody ¶
type PkgCpeDeleteCpeDeprecatedRequestBody struct { // cpe ID // Example: 4046142736569201700 // Required: true CpeID *int64 `json:"cpeID"` }
PkgCpeDeleteCpeDeprecatedRequestBody PkgCpeDeleteCpeDeprecatedRequestBody Example: {"cpeID":5690894752894253000}
swagger:model PkgCpeDeleteCpeDeprecatedRequestBody
func (*PkgCpeDeleteCpeDeprecatedRequestBody) ContextValidate ¶
func (m *PkgCpeDeleteCpeDeprecatedRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this pkg cpe delete cpe deprecated request body based on context it is used
func (*PkgCpeDeleteCpeDeprecatedRequestBody) MarshalBinary ¶
func (m *PkgCpeDeleteCpeDeprecatedRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PkgCpeDeleteCpeDeprecatedRequestBody) UnmarshalBinary ¶
func (m *PkgCpeDeleteCpeDeprecatedRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PkgCpeDeleteCpeDeprecatedRequestBody) UnmarshalJSON ¶
func (m *PkgCpeDeleteCpeDeprecatedRequestBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type PkgCpeGetCpeDetailResponseBody ¶
type PkgCpeGetCpeDetailResponseBody struct { // Cpe URI of cpe // Example: cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:* CpeURI string `json:"cpeURI,omitempty"` // crated time of package or cpe // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // ID of package or cpe // Example: 1 // Required: true ID *int64 `json:"id"` // Name of package or cpe // Example: package01 // Required: true Name *string `json:"name"` // Release of package // Example: release Release string `json:"release,omitempty"` // server // Required: true Server *ServerChildResponseBody `json:"server"` // updated time of server // Example: [{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}] Tasks []*ChildTaskResponseBody `json:"tasks"` // updated time of package or cpe // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` // Version of package or cpe // Example: 1.0 // Required: true Version *string `json:"version"` }
PkgCpeGetCpeDetailResponseBody PkgCpeGetCpeDetailResponseBody Example: {"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","release":"release","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"tasks":[{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}
swagger:model PkgCpeGetCpeDetailResponseBody
func (*PkgCpeGetCpeDetailResponseBody) ContextValidate ¶
func (m *PkgCpeGetCpeDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this pkg cpe get cpe detail response body based on the context it is used
func (*PkgCpeGetCpeDetailResponseBody) MarshalBinary ¶
func (m *PkgCpeGetCpeDetailResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PkgCpeGetCpeDetailResponseBody) UnmarshalBinary ¶
func (m *PkgCpeGetCpeDetailResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PkgCpeGetCpeDetailResponseBody) UnmarshalJSON ¶
func (m *PkgCpeGetCpeDetailResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type PkgCpeGetPkgCpeListResponseBody ¶
type PkgCpeGetPkgCpeListResponseBody struct { // paging Paging *PagingResponseBody `json:"paging,omitempty"` // PkgCpes list // Example: [{"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","notFixedYet":true,"pkgID":1,"release":"release","repository":"repository","serverID":1,"serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","notFixedYet":true,"pkgID":1,"release":"release","repository":"repository","serverID":1,"serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","notFixedYet":true,"pkgID":1,"release":"release","repository":"repository","serverID":1,"serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}] PkgCpes []*PkgCpeListResponseBody `json:"pkgCpes"` }
PkgCpeGetPkgCpeListResponseBody PkgCpeGetPkgCpeListResponseBody Example: {"paging":{"limit":20,"offset":10,"page":1,"totalCount":200,"totalPage":10},"pkgCpes":[{"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","notFixedYet":true,"pkgID":1,"release":"release","repository":"repository","serverID":1,"serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","notFixedYet":true,"pkgID":1,"release":"release","repository":"repository","serverID":1,"serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","notFixedYet":true,"pkgID":1,"release":"release","repository":"repository","serverID":1,"serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","notFixedYet":true,"pkgID":1,"release":"release","repository":"repository","serverID":1,"serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}]}
swagger:model PkgCpeGetPkgCpeListResponseBody
func (*PkgCpeGetPkgCpeListResponseBody) ContextValidate ¶
func (m *PkgCpeGetPkgCpeListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this pkg cpe get pkg cpe list response body based on the context it is used
func (*PkgCpeGetPkgCpeListResponseBody) MarshalBinary ¶
func (m *PkgCpeGetPkgCpeListResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PkgCpeGetPkgCpeListResponseBody) UnmarshalBinary ¶
func (m *PkgCpeGetPkgCpeListResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PkgCpeGetPkgCpeListResponseBody) UnmarshalJSON ¶
func (m *PkgCpeGetPkgCpeListResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type PkgCpeGetPkgDetailResponseBody ¶
type PkgCpeGetPkgDetailResponseBody struct { // AffectedProcess list of package // Example: [{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}] AffectedProcs []*AffectedProcResponseBody `json:"affectedProcs"` // crated time of package or cpe // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // ID of package // Example: 1 ID int64 `json:"id,omitempty"` // Name of package or cpe // Example: package01 // Required: true Name *string `json:"name"` // NeedRestartProcess list of package // Example: [{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}] NeedRestartProcs []*NeedRestartProcResponseBody `json:"needRestartProcs"` // New Release of package // Example: new release NewRelease string `json:"newRelease,omitempty"` // New Version of package // Example: 2.0 NewVersion string `json:"newVersion,omitempty"` // package status of package // Example: {"bash":"resolved"} PackageStatuses map[string]string `json:"packageStatuses,omitempty"` // Release of package // Example: release // Required: true Release *string `json:"release"` // Repository of package // Example: repository Repository string `json:"repository,omitempty"` // server // Required: true Server *ServerChildResponseBody `json:"server"` // updated time of server // Example: [{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}] Tasks []*ChildTaskResponseBody `json:"tasks"` // updated time of package or cpe // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` // Version of package or cpe // Example: 1.0 // Required: true Version *string `json:"version"` }
PkgCpeGetPkgDetailResponseBody PkgCpeGetPkgDetailResponseBody Example: {"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","packageStatuses":{"bash":"resolved"},"release":"release","repository":"repository","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"tasks":[{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}
swagger:model PkgCpeGetPkgDetailResponseBody
func (*PkgCpeGetPkgDetailResponseBody) ContextValidate ¶
func (m *PkgCpeGetPkgDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this pkg cpe get pkg detail response body based on the context it is used
func (*PkgCpeGetPkgDetailResponseBody) MarshalBinary ¶
func (m *PkgCpeGetPkgDetailResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PkgCpeGetPkgDetailResponseBody) UnmarshalBinary ¶
func (m *PkgCpeGetPkgDetailResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PkgCpeGetPkgDetailResponseBody) UnmarshalJSON ¶
func (m *PkgCpeGetPkgDetailResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type PkgCpeListResponseBody ¶
type PkgCpeListResponseBody struct { // CpeID of cpe // Example: 1 CpeID int64 `json:"cpeID,omitempty"` // Cpe URI of cpe // Example: cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:* CpeURI string `json:"cpeURI,omitempty"` // crated time of package or cpe // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // Name of package or cpe // Example: package01 // Required: true Name *string `json:"name"` // NeedRestartProcess list of package // Example: [{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}] NeedRestartProcs []*NeedRestartProcResponseBody `json:"needRestartProcs"` // New Release of package // Example: new release NewRelease string `json:"newRelease,omitempty"` // New Version of package // Example: 2.0 NewVersion string `json:"newVersion,omitempty"` // Flag of Not fixed yet of package // Example: true NotFixedYet bool `json:"notFixedYet,omitempty"` // Package ID of package // Example: 1 PkgID int64 `json:"pkgID,omitempty"` // Release of package // Example: release Release string `json:"release,omitempty"` // Repository of package // Example: repository Repository string `json:"repository,omitempty"` // ServerID of package or cpe // Example: 1 // Required: true ServerID *int64 `json:"serverID"` // ServerName of package or cpe // Example: server01 // Required: true ServerName *string `json:"serverName"` // ServerUUID of package or cpe // Example: abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2 // Required: true // Format: uuid ServerUUID *strfmt.UUID `json:"serverUuid"` // updated time of package or cpe // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` // Version of package or cpe // Example: 1.0 // Required: true Version *string `json:"version"` }
PkgCpeListResponseBody PkgCpeListResponseBody Example: {"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","notFixedYet":true,"pkgID":1,"release":"release","repository":"repository","serverID":1,"serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}
swagger:model PkgCpeListResponseBody
func (*PkgCpeListResponseBody) ContextValidate ¶
func (m *PkgCpeListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this pkg cpe list response body based on the context it is used
func (*PkgCpeListResponseBody) MarshalBinary ¶
func (m *PkgCpeListResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PkgCpeListResponseBody) UnmarshalBinary ¶
func (m *PkgCpeListResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PkgCpeListResponseBody) UnmarshalJSON ¶
func (m *PkgCpeListResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type RoleGetRoleDetailResponseBody ¶
type RoleGetRoleDetailResponseBody struct { // AllTaskCount of server role // Example: 10 AllTaskCount int64 `json:"allTaskCount,omitempty"` // created time of server role // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // envMetricV2s of server role // Example: [{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"}] EnvMetricV2s []*EnvMetricV2ResponseBody `json:"envMetricV2s"` // envMetricV3s of server role // Example: [{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}] EnvMetricV3s []*EnvMetricV3ResponseBody `json:"envMetricV3s"` // ID of server role // Example: 1 // Required: true ID *int64 `json:"id"` // isDefault of server role // Example: true IsDefault bool `json:"isDefault,omitempty"` // Name of server role // Example: server-role-name // Required: true Name *string `json:"name"` // NewTaskCount of server role // Example: 10 NewTaskCount int64 `json:"newTaskCount,omitempty"` // sec metric SecMetric *SecMetricResponseBody `json:"secMetric,omitempty"` // Servers of server role // Example: [{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"}] Servers []*ServerChildResponseBody `json:"servers"` // updated time of server role // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
RoleGetRoleDetailResponseBody RoleGetRoleDetailResponseBody Example: {"allTaskCount":10,"createdAt":"2018-07-14T08:13:28Z","envMetricV2s":[{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"}],"envMetricV3s":[{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}],"id":1,"isDefault":true,"name":"server-role-name","newTaskCount":10,"secMetric":{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},"servers":[{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z"}
swagger:model RoleGetRoleDetailResponseBody
func (*RoleGetRoleDetailResponseBody) ContextValidate ¶
func (m *RoleGetRoleDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this role get role detail response body based on the context it is used
func (*RoleGetRoleDetailResponseBody) MarshalBinary ¶
func (m *RoleGetRoleDetailResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoleGetRoleDetailResponseBody) UnmarshalBinary ¶
func (m *RoleGetRoleDetailResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*RoleGetRoleDetailResponseBody) UnmarshalJSON ¶
func (m *RoleGetRoleDetailResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type RoleGetRoleListResponseBody ¶
type RoleGetRoleListResponseBody struct { // paging Paging *PagingResponseBody `json:"paging,omitempty"` // ServerRole list // Example: [{"allTaskCount":10,"createdAt":"2018-07-14T08:13:28Z","id":1,"isDefault":true,"name":"server-role-name","newTaskCount":10,"secMetric":{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},"serverCount":10,"updatedAt":"2018-07-14T08:13:28Z"},{"allTaskCount":10,"createdAt":"2018-07-14T08:13:28Z","id":1,"isDefault":true,"name":"server-role-name","newTaskCount":10,"secMetric":{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},"serverCount":10,"updatedAt":"2018-07-14T08:13:28Z"},{"allTaskCount":10,"createdAt":"2018-07-14T08:13:28Z","id":1,"isDefault":true,"name":"server-role-name","newTaskCount":10,"secMetric":{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},"serverCount":10,"updatedAt":"2018-07-14T08:13:28Z"}] Roles []*RoleListResponseBody `json:"roles"` }
RoleGetRoleListResponseBody RoleGetRoleListResponseBody Example: {"paging":{"limit":20,"offset":10,"page":1,"totalCount":200,"totalPage":10},"roles":[{"allTaskCount":10,"createdAt":"2018-07-14T08:13:28Z","id":1,"isDefault":true,"name":"server-role-name","newTaskCount":10,"secMetric":{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},"serverCount":10,"updatedAt":"2018-07-14T08:13:28Z"},{"allTaskCount":10,"createdAt":"2018-07-14T08:13:28Z","id":1,"isDefault":true,"name":"server-role-name","newTaskCount":10,"secMetric":{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},"serverCount":10,"updatedAt":"2018-07-14T08:13:28Z"}]}
swagger:model RoleGetRoleListResponseBody
func (*RoleGetRoleListResponseBody) ContextValidate ¶
func (m *RoleGetRoleListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this role get role list response body based on the context it is used
func (*RoleGetRoleListResponseBody) MarshalBinary ¶
func (m *RoleGetRoleListResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoleGetRoleListResponseBody) UnmarshalBinary ¶
func (m *RoleGetRoleListResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*RoleGetRoleListResponseBody) UnmarshalJSON ¶
func (m *RoleGetRoleListResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type RoleListResponseBody ¶
type RoleListResponseBody struct { // AllTaskCount of server role // Example: 10 AllTaskCount int64 `json:"allTaskCount,omitempty"` // created time of server role // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // ID of server role // Example: 1 // Required: true ID *int64 `json:"id"` // isDefault of server role // Example: true // Required: true IsDefault *bool `json:"isDefault"` // Name of server role // Example: server-role-name // Required: true Name *string `json:"name"` // NewTaskCount of server role // Example: 10 NewTaskCount int64 `json:"newTaskCount,omitempty"` // sec metric SecMetric *SecMetricResponseBody `json:"secMetric,omitempty"` // Server Count of server role // Example: 10 ServerCount int64 `json:"serverCount,omitempty"` // updated time of server role // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
RoleListResponseBody RoleListResponseBody Example: {"allTaskCount":10,"createdAt":"2018-07-14T08:13:28Z","id":1,"isDefault":true,"name":"server-role-name","newTaskCount":10,"secMetric":{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},"serverCount":10,"updatedAt":"2018-07-14T08:13:28Z"}
swagger:model RoleListResponseBody
func (*RoleListResponseBody) ContextValidate ¶
ContextValidate validate this role list response body based on the context it is used
func (*RoleListResponseBody) MarshalBinary ¶
func (m *RoleListResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoleListResponseBody) UnmarshalBinary ¶
func (m *RoleListResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*RoleListResponseBody) UnmarshalJSON ¶
func (m *RoleListResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type RoleUpdateRoleRequestBody ¶
type RoleUpdateRoleRequestBody struct { // RoleName of role // Example: new-role-name RoleName string `json:"roleName,omitempty"` }
RoleUpdateRoleRequestBody RoleUpdateRoleRequestBody Example: {"roleName":"new-role-name"}
swagger:model RoleUpdateRoleRequestBody
func (*RoleUpdateRoleRequestBody) ContextValidate ¶
func (m *RoleUpdateRoleRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this role update role request body based on context it is used
func (*RoleUpdateRoleRequestBody) MarshalBinary ¶
func (m *RoleUpdateRoleRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoleUpdateRoleRequestBody) UnmarshalBinary ¶
func (m *RoleUpdateRoleRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*RoleUpdateRoleRequestBody) UnmarshalJSON ¶
func (m *RoleUpdateRoleRequestBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type RoleUpdateRoleResponseBody ¶
type RoleUpdateRoleResponseBody struct { // AllTaskCount of server role // Example: 10 AllTaskCount int64 `json:"allTaskCount,omitempty"` // created time of server role // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // envMetricV2s of server role // Example: [{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"}] EnvMetricV2s []*EnvMetricV2ResponseBody `json:"envMetricV2s"` // envMetricV3s of server role // Example: [{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}] EnvMetricV3s []*EnvMetricV3ResponseBody `json:"envMetricV3s"` // ID of server role // Example: 1 // Required: true ID *int64 `json:"id"` // isDefault of server role // Example: true IsDefault bool `json:"isDefault,omitempty"` // Name of server role // Example: server-role-name // Required: true Name *string `json:"name"` // NewTaskCount of server role // Example: 10 NewTaskCount int64 `json:"newTaskCount,omitempty"` // sec metric SecMetric *SecMetricResponseBody `json:"secMetric,omitempty"` // Servers of server role // Example: [{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"}] Servers []*ServerChildResponseBody `json:"servers"` // updated time of server role // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
RoleUpdateRoleResponseBody RoleUpdateRoleResponseBody Example: {"allTaskCount":10,"createdAt":"2018-07-14T08:13:28Z","envMetricV2s":[{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"}],"envMetricV3s":[{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}],"id":1,"isDefault":true,"name":"server-role-name","newTaskCount":10,"secMetric":{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},"servers":[{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z"}
swagger:model RoleUpdateRoleResponseBody
func (*RoleUpdateRoleResponseBody) ContextValidate ¶
func (m *RoleUpdateRoleResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this role update role response body based on the context it is used
func (*RoleUpdateRoleResponseBody) MarshalBinary ¶
func (m *RoleUpdateRoleResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoleUpdateRoleResponseBody) UnmarshalBinary ¶
func (m *RoleUpdateRoleResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*RoleUpdateRoleResponseBody) UnmarshalJSON ¶
func (m *RoleUpdateRoleResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type SecMetricResponseBody ¶
type SecMetricResponseBody struct { // AR of secMetric // Required: true Ar *string `json:"ar"` // CR of secMetric // Required: true Cr *string `json:"cr"` // created time // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // IR of secMetric // Required: true Ir *string `json:"ir"` // ServerRoleID of secMetric // Example: 1 // Required: true RoleID *int64 `json:"roleID"` // ServerRoleName of secMetric // Example: roleName // Required: true RoleName *string `json:"roleName"` // updated time // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
SecMetricResponseBody SecMetricResponseBody
SecMetric describes a secMetric Example: {"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}
swagger:model SecMetricResponseBody
func (*SecMetricResponseBody) ContextValidate ¶
ContextValidate validates this sec metric response body based on context it is used
func (*SecMetricResponseBody) MarshalBinary ¶
func (m *SecMetricResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SecMetricResponseBody) UnmarshalBinary ¶
func (m *SecMetricResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*SecMetricResponseBody) UnmarshalJSON ¶
func (m *SecMetricResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type ServerChildResponseBody ¶
type ServerChildResponseBody struct { // crated time of server // Example: 2018-07-14T08:13:28Z // Required: true CreatedAt *string `json:"createdAt"` // default user ID of server // Example: 1 DefaultUserID int64 `json:"defaultUserId,omitempty"` // default user name of server // Example: vuls user DefaultUserName string `json:"defaultUserName,omitempty"` // UUID of server // Example: 141df30a-ecd0-39f4-a8f4-1ef216a4b5f2 // Required: true // Format: uuid HostUUID *strfmt.UUID `json:"hostUuid"` // ID of server // Example: 1 // Required: true ID *int64 `json:"id"` // last scanned time of server // Example: 2018-07-14T08:13:28Z LastScannedAt string `json:"lastScannedAt,omitempty"` // last uploaded time of server // Example: 2018-07-14T08:13:28Z LastUploadedAt string `json:"lastUploadedAt,omitempty"` // Whether server needs kernel restart // Example: true // Required: true NeedKernelRestart *bool `json:"needKernelRestart"` // OS Name of server // Example: centos // Required: true OsFamily *string `json:"osFamily"` // OS Version of server // Example: 6 // Required: true OsVersion *string `json:"osVersion"` // Name of server // Example: server01 // Required: true ServerName *string `json:"serverName"` // UUID of server // Example: abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2 // Required: true // Format: uuid ServerUUID *strfmt.UUID `json:"serverUuid"` // ID of server role // Example: 1 // Required: true ServerroleID *int64 `json:"serverroleId"` // Name of server role // Example: server_role01 // Required: true ServerroleName *string `json:"serverroleName"` // tags is list of server tag // Example: ["Consequatur atque et animi doloribus.","Aperiam id molestias dolore.","Consectetur asperiores."] Tags []string `json:"tags"` // updated time of server // Example: 2018-07-14T08:13:28Z // Required: true UpdatedAt *string `json:"updatedAt"` }
ServerChildResponseBody ServerChildResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Accusamus nobis alias dicta.","Perspiciatis sunt."],"updatedAt":"2018-07-14T08:13:28Z"}
swagger:model ServerChildResponseBody
func (*ServerChildResponseBody) ContextValidate ¶
func (m *ServerChildResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this server child response body based on context it is used
func (*ServerChildResponseBody) MarshalBinary ¶
func (m *ServerChildResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerChildResponseBody) UnmarshalBinary ¶
func (m *ServerChildResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ServerChildResponseBody) UnmarshalJSON ¶
func (m *ServerChildResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type ServerCreatePkgPasteServerRequestBody ¶
type ServerCreatePkgPasteServerRequestBody struct { // Kernel Release // Example: kernel release // Required: true KernelRelease *string `json:"kernelRelease"` // Kernel Version // Example: kernel version KernelVersion string `json:"kernelVersion,omitempty"` // Server OS Family // Example: 20 // Required: true OsFamily *string `json:"osFamily"` // Server OS Version // Example: 20 // Required: true OsVersion *string `json:"osVersion"` // pkg paste text // Required: true PkgPasteText *string `json:"pkgPasteText"` // Server Name // Example: Server Name // Required: true ServerName *string `json:"serverName"` }
ServerCreatePkgPasteServerRequestBody ServerCreatePkgPasteServerRequestBody Example: {"kernelRelease":"kernel release","kernelVersion":"kernel version","osFamily":"20","osVersion":"20","pkgPasteText":"","serverName":"Server Name"}
swagger:model ServerCreatePkgPasteServerRequestBody
func (*ServerCreatePkgPasteServerRequestBody) ContextValidate ¶
func (m *ServerCreatePkgPasteServerRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this server create pkg paste server request body based on context it is used
func (*ServerCreatePkgPasteServerRequestBody) MarshalBinary ¶
func (m *ServerCreatePkgPasteServerRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerCreatePkgPasteServerRequestBody) UnmarshalBinary ¶
func (m *ServerCreatePkgPasteServerRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ServerCreatePkgPasteServerRequestBody) UnmarshalJSON ¶
func (m *ServerCreatePkgPasteServerRequestBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type ServerCreatePkgPasteServerResponseBody ¶
type ServerCreatePkgPasteServerResponseBody struct { // crated time of server // Example: 2018-07-14T08:13:28Z // Required: true CreatedAt *string `json:"createdAt"` // default user ID of server // Example: 1 DefaultUserID int64 `json:"defaultUserId,omitempty"` // default user name of server // Example: vuls user DefaultUserName string `json:"defaultUserName,omitempty"` // UUID of server // Example: 141df30a-ecd0-39f4-a8f4-1ef216a4b5f2 // Required: true // Format: uuid HostUUID *strfmt.UUID `json:"hostUuid"` // ID of server // Example: 1 // Required: true ID *int64 `json:"id"` // last scanned time of server // Example: 2018-07-14T08:13:28Z LastScannedAt string `json:"lastScannedAt,omitempty"` // last uploaded time of server // Example: 2018-07-14T08:13:28Z LastUploadedAt string `json:"lastUploadedAt,omitempty"` // Whether server needs kernel restart // Example: true // Required: true NeedKernelRestart *bool `json:"needKernelRestart"` // OS Name of server // Example: centos // Required: true OsFamily *string `json:"osFamily"` // OS Version of server // Example: 6 // Required: true OsVersion *string `json:"osVersion"` // platformInstanceId of server // Example: i-xxxxxxx // Required: true PlatformInstanceID *string `json:"platformInstanceId"` // platformName of server // Example: aws // Required: true PlatformName *string `json:"platformName"` // IPv4 of server // Example: 192.168.0.2 // Required: true ServerIPV4 *string `json:"serverIpv4"` // Name of server // Example: server01 // Required: true ServerName *string `json:"serverName"` // UUID of server // Example: abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2 // Required: true // Format: uuid ServerUUID *strfmt.UUID `json:"serverUuid"` // ID of server role // Example: 1 // Required: true ServerroleID *int64 `json:"serverroleId"` // Name of server role // Example: server_role01 // Required: true ServerroleName *string `json:"serverroleName"` // tags is list of server tag // Example: [{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}] Tags []*ServerTagResponseBody `json:"tags"` // tasks of server // Example: [{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}] Tasks []*ChildTaskResponseBody `json:"tasks"` // updated time of server // Example: 2018-07-14T08:13:28Z // Required: true UpdatedAt *string `json:"updatedAt"` }
ServerCreatePkgPasteServerResponseBody ServerCreatePkgPasteServerResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"tasks":[{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z"}
swagger:model ServerCreatePkgPasteServerResponseBody
func (*ServerCreatePkgPasteServerResponseBody) ContextValidate ¶
func (m *ServerCreatePkgPasteServerResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this server create pkg paste server response body based on the context it is used
func (*ServerCreatePkgPasteServerResponseBody) MarshalBinary ¶
func (m *ServerCreatePkgPasteServerResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerCreatePkgPasteServerResponseBody) UnmarshalBinary ¶
func (m *ServerCreatePkgPasteServerResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ServerCreatePkgPasteServerResponseBody) UnmarshalJSON ¶
func (m *ServerCreatePkgPasteServerResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type ServerGetServerDetailByUUIDResponseBody ¶
type ServerGetServerDetailByUUIDResponseBody struct { // crated time of server // Example: 2018-07-14T08:13:28Z // Required: true CreatedAt *string `json:"createdAt"` // default user ID of server // Example: 1 DefaultUserID int64 `json:"defaultUserId,omitempty"` // default user name of server // Example: vuls user DefaultUserName string `json:"defaultUserName,omitempty"` // UUID of server // Example: 141df30a-ecd0-39f4-a8f4-1ef216a4b5f2 // Required: true // Format: uuid HostUUID *strfmt.UUID `json:"hostUuid"` // ID of server // Example: 1 // Required: true ID *int64 `json:"id"` // last scanned time of server // Example: 2018-07-14T08:13:28Z LastScannedAt string `json:"lastScannedAt,omitempty"` // last uploaded time of server // Example: 2018-07-14T08:13:28Z LastUploadedAt string `json:"lastUploadedAt,omitempty"` // Whether server needs kernel restart // Example: true // Required: true NeedKernelRestart *bool `json:"needKernelRestart"` // OS Name of server // Example: centos // Required: true OsFamily *string `json:"osFamily"` // OS Version of server // Example: 6 // Required: true OsVersion *string `json:"osVersion"` // platformInstanceId of server // Example: i-xxxxxxx // Required: true PlatformInstanceID *string `json:"platformInstanceId"` // platformName of server // Example: aws // Required: true PlatformName *string `json:"platformName"` // IPv4 of server // Example: 192.168.0.2 // Required: true ServerIPV4 *string `json:"serverIpv4"` // Name of server // Example: server01 // Required: true ServerName *string `json:"serverName"` // UUID of server // Example: abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2 // Required: true // Format: uuid ServerUUID *strfmt.UUID `json:"serverUuid"` // ID of server role // Example: 1 // Required: true ServerroleID *int64 `json:"serverroleId"` // Name of server role // Example: server_role01 // Required: true ServerroleName *string `json:"serverroleName"` // tags is list of server tag // Example: [{"id":1,"name":"tag"},{"id":1,"name":"tag"}] Tags []*ServerTagResponseBody `json:"tags"` // tasks of server // Example: [{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}] Tasks []*ChildTaskResponseBody `json:"tasks"` // updated time of server // Example: 2018-07-14T08:13:28Z // Required: true UpdatedAt *string `json:"updatedAt"` }
ServerGetServerDetailByUUIDResponseBody ServerGetServerDetailByUUIDResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"tasks":[{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z"}
swagger:model ServerGetServerDetailByUUIDResponseBody
func (*ServerGetServerDetailByUUIDResponseBody) ContextValidate ¶
func (m *ServerGetServerDetailByUUIDResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this server get server detail by UUID response body based on the context it is used
func (*ServerGetServerDetailByUUIDResponseBody) MarshalBinary ¶
func (m *ServerGetServerDetailByUUIDResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerGetServerDetailByUUIDResponseBody) UnmarshalBinary ¶
func (m *ServerGetServerDetailByUUIDResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ServerGetServerDetailByUUIDResponseBody) UnmarshalJSON ¶
func (m *ServerGetServerDetailByUUIDResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type ServerGetServerDetailResponseBody ¶
type ServerGetServerDetailResponseBody struct { // crated time of server // Example: 2018-07-14T08:13:28Z // Required: true CreatedAt *string `json:"createdAt"` // default user ID of server // Example: 1 DefaultUserID int64 `json:"defaultUserId,omitempty"` // default user name of server // Example: vuls user DefaultUserName string `json:"defaultUserName,omitempty"` // UUID of server // Example: 141df30a-ecd0-39f4-a8f4-1ef216a4b5f2 // Required: true // Format: uuid HostUUID *strfmt.UUID `json:"hostUuid"` // ID of server // Example: 1 // Required: true ID *int64 `json:"id"` // last scanned time of server // Example: 2018-07-14T08:13:28Z LastScannedAt string `json:"lastScannedAt,omitempty"` // last uploaded time of server // Example: 2018-07-14T08:13:28Z LastUploadedAt string `json:"lastUploadedAt,omitempty"` // Whether server needs kernel restart // Example: true // Required: true NeedKernelRestart *bool `json:"needKernelRestart"` // OS Name of server // Example: centos // Required: true OsFamily *string `json:"osFamily"` // OS Version of server // Example: 6 // Required: true OsVersion *string `json:"osVersion"` // platformInstanceId of server // Example: i-xxxxxxx // Required: true PlatformInstanceID *string `json:"platformInstanceId"` // platformName of server // Example: aws // Required: true PlatformName *string `json:"platformName"` // IPv4 of server // Example: 192.168.0.2 // Required: true ServerIPV4 *string `json:"serverIpv4"` // Name of server // Example: server01 // Required: true ServerName *string `json:"serverName"` // UUID of server // Example: abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2 // Required: true // Format: uuid ServerUUID *strfmt.UUID `json:"serverUuid"` // ID of server role // Example: 1 // Required: true ServerroleID *int64 `json:"serverroleId"` // Name of server role // Example: server_role01 // Required: true ServerroleName *string `json:"serverroleName"` // tags is list of server tag // Example: [{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}] Tags []*ServerTagResponseBody `json:"tags"` // tasks of server // Example: [{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}] Tasks []*ChildTaskResponseBody `json:"tasks"` // updated time of server // Example: 2018-07-14T08:13:28Z // Required: true UpdatedAt *string `json:"updatedAt"` }
ServerGetServerDetailResponseBody ServerGetServerDetailResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"tasks":[{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z"}
swagger:model ServerGetServerDetailResponseBody
func (*ServerGetServerDetailResponseBody) ContextValidate ¶
func (m *ServerGetServerDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this server get server detail response body based on the context it is used
func (*ServerGetServerDetailResponseBody) MarshalBinary ¶
func (m *ServerGetServerDetailResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerGetServerDetailResponseBody) UnmarshalBinary ¶
func (m *ServerGetServerDetailResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ServerGetServerDetailResponseBody) UnmarshalJSON ¶
func (m *ServerGetServerDetailResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type ServerGetServerListResponseBody ¶
type ServerGetServerListResponseBody struct { // paging Paging *PagingResponseBody `json:"paging,omitempty"` // Servers list // Example: [{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","successScanCount":7572510666884157000,"tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","successScanCount":7572510666884157000,"tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","successScanCount":7572510666884157000,"tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"updatedAt":"2018-07-14T08:13:28Z"}] Servers []*ServerListResponseBody `json:"servers"` }
ServerGetServerListResponseBody ServerGetServerListResponseBody Example: {"paging":{"limit":20,"offset":10,"page":1,"totalCount":200,"totalPage":10},"servers":[{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","successScanCount":7572510666884157000,"tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","successScanCount":7572510666884157000,"tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","successScanCount":7572510666884157000,"tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"updatedAt":"2018-07-14T08:13:28Z"}]}
swagger:model ServerGetServerListResponseBody
func (*ServerGetServerListResponseBody) ContextValidate ¶
func (m *ServerGetServerListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this server get server list response body based on the context it is used
func (*ServerGetServerListResponseBody) MarshalBinary ¶
func (m *ServerGetServerListResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerGetServerListResponseBody) UnmarshalBinary ¶
func (m *ServerGetServerListResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ServerGetServerListResponseBody) UnmarshalJSON ¶
func (m *ServerGetServerListResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type ServerListResponseBody ¶
type ServerListResponseBody struct { // crated time of server // Example: 2018-07-14T08:13:28Z // Required: true CreatedAt *string `json:"createdAt"` // default user ID of server // Example: 1 DefaultUserID int64 `json:"defaultUserId,omitempty"` // default user name of server // Example: vuls user DefaultUserName string `json:"defaultUserName,omitempty"` // UUID of server // Example: 141df30a-ecd0-39f4-a8f4-1ef216a4b5f2 // Required: true // Format: uuid HostUUID *strfmt.UUID `json:"hostUuid"` // ID of server // Example: 1 // Required: true ID *int64 `json:"id"` // last scanned time of server // Example: 2018-07-14T08:13:28Z LastScannedAt string `json:"lastScannedAt,omitempty"` // last uploaded time of server // Example: 2018-07-14T08:13:28Z LastUploadedAt string `json:"lastUploadedAt,omitempty"` // Whether server needs kernel restart // Example: true // Required: true NeedKernelRestart *bool `json:"needKernelRestart"` // OS Name of server // Example: centos // Required: true OsFamily *string `json:"osFamily"` // OS Version of server // Example: 6 // Required: true OsVersion *string `json:"osVersion"` // platformInstanceId of server // Example: i-xxxxxxx // Required: true PlatformInstanceID *string `json:"platformInstanceId"` // platformName of server // Example: aws // Required: true PlatformName *string `json:"platformName"` // IPv4 of server // Example: 192.168.0.2 // Required: true ServerIPV4 *string `json:"serverIpv4"` // Name of server // Example: server01 // Required: true ServerName *string `json:"serverName"` // UUID of server // Example: abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2 // Required: true // Format: uuid ServerUUID *strfmt.UUID `json:"serverUuid"` // ID of server role // Example: 1 // Required: true ServerroleID *int64 `json:"serverroleId"` // Name of server role // Example: server_role01 // Required: true ServerroleName *string `json:"serverroleName"` // successScanCount of server // Example: 8268415631704044000 // Required: true SuccessScanCount *int64 `json:"successScanCount"` // tags is list of server tag // Example: [{"id":1,"name":"tag"},{"id":1,"name":"tag"}] Tags []*ServerTagResponseBody `json:"tags"` // updated time of server // Example: 2018-07-14T08:13:28Z // Required: true UpdatedAt *string `json:"updatedAt"` }
ServerListResponseBody ServerListResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","successScanCount":7920150438590619000,"tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"updatedAt":"2018-07-14T08:13:28Z"}
swagger:model ServerListResponseBody
func (*ServerListResponseBody) ContextValidate ¶
func (m *ServerListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this server list response body based on the context it is used
func (*ServerListResponseBody) MarshalBinary ¶
func (m *ServerListResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerListResponseBody) UnmarshalBinary ¶
func (m *ServerListResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ServerListResponseBody) UnmarshalJSON ¶
func (m *ServerListResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type ServerTagResponseBody ¶
type ServerTagResponseBody struct { // ID of server tag // Example: 1 // Required: true ID *int64 `json:"id"` // Name of server tag // Example: tag // Required: true Name *string `json:"name"` }
ServerTagResponseBody ServerTagResponseBody
ServerTag describes a server tag Example: {"id":1,"name":"tag"}
swagger:model ServerTagResponseBody
func (*ServerTagResponseBody) ContextValidate ¶
ContextValidate validates this server tag response body based on context it is used
func (*ServerTagResponseBody) MarshalBinary ¶
func (m *ServerTagResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerTagResponseBody) UnmarshalBinary ¶
func (m *ServerTagResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ServerTagResponseBody) UnmarshalJSON ¶
func (m *ServerTagResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type ServerUpdatePkgPasteServerRequestBody ¶
type ServerUpdatePkgPasteServerRequestBody struct { // Kernel Release // Example: kernel release KernelRelease string `json:"kernelRelease,omitempty"` // Kernel Version // Example: kernel version KernelVersion string `json:"kernelVersion,omitempty"` // Server OS Version // Example: 20 OsVersion string `json:"osVersion,omitempty"` // pkg paste text // Required: true PkgPasteText *string `json:"pkgPasteText"` }
ServerUpdatePkgPasteServerRequestBody ServerUpdatePkgPasteServerRequestBody Example: {"kernelRelease":"kernel release","kernelVersion":"kernel version","osVersion":"20","pkgPasteText":""}
swagger:model ServerUpdatePkgPasteServerRequestBody
func (*ServerUpdatePkgPasteServerRequestBody) ContextValidate ¶
func (m *ServerUpdatePkgPasteServerRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this server update pkg paste server request body based on context it is used
func (*ServerUpdatePkgPasteServerRequestBody) MarshalBinary ¶
func (m *ServerUpdatePkgPasteServerRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerUpdatePkgPasteServerRequestBody) UnmarshalBinary ¶
func (m *ServerUpdatePkgPasteServerRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ServerUpdatePkgPasteServerRequestBody) UnmarshalJSON ¶
func (m *ServerUpdatePkgPasteServerRequestBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type ServerUpdateServerRequestBody ¶
type ServerUpdateServerRequestBody struct { // Additional information of the server // Example: This server is expensive AdditionalInfo string `json:"additionalInfo,omitempty"` // DefaultUserID of server // Example: 1 DefaultUserID int64 `json:"defaultUserID,omitempty"` // ServerRoleID of server // Example: 1 RoleID int64 `json:"roleID,omitempty"` // ServerName of server // Example: new-server-name ServerName string `json:"serverName,omitempty"` }
ServerUpdateServerRequestBody ServerUpdateServerRequestBody Example: {"additionalInfo":"This server is expensive","defaultUserID":1,"roleID":1,"serverName":"new-server-name"}
swagger:model ServerUpdateServerRequestBody
func (*ServerUpdateServerRequestBody) ContextValidate ¶
func (m *ServerUpdateServerRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this server update server request body based on context it is used
func (*ServerUpdateServerRequestBody) MarshalBinary ¶
func (m *ServerUpdateServerRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerUpdateServerRequestBody) UnmarshalBinary ¶
func (m *ServerUpdateServerRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ServerUpdateServerRequestBody) UnmarshalJSON ¶
func (m *ServerUpdateServerRequestBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type ServerUpdateServerResponseBody ¶
type ServerUpdateServerResponseBody struct { // crated time of server // Example: 2018-07-14T08:13:28Z // Required: true CreatedAt *string `json:"createdAt"` // default user ID of server // Example: 1 DefaultUserID int64 `json:"defaultUserId,omitempty"` // default user name of server // Example: vuls user DefaultUserName string `json:"defaultUserName,omitempty"` // UUID of server // Example: 141df30a-ecd0-39f4-a8f4-1ef216a4b5f2 // Required: true // Format: uuid HostUUID *strfmt.UUID `json:"hostUuid"` // ID of server // Example: 1 // Required: true ID *int64 `json:"id"` // last scanned time of server // Example: 2018-07-14T08:13:28Z LastScannedAt string `json:"lastScannedAt,omitempty"` // last uploaded time of server // Example: 2018-07-14T08:13:28Z LastUploadedAt string `json:"lastUploadedAt,omitempty"` // Whether server needs kernel restart // Example: true // Required: true NeedKernelRestart *bool `json:"needKernelRestart"` // OS Name of server // Example: centos // Required: true OsFamily *string `json:"osFamily"` // OS Version of server // Example: 6 // Required: true OsVersion *string `json:"osVersion"` // platformInstanceId of server // Example: i-xxxxxxx // Required: true PlatformInstanceID *string `json:"platformInstanceId"` // platformName of server // Example: aws // Required: true PlatformName *string `json:"platformName"` // IPv4 of server // Example: 192.168.0.2 // Required: true ServerIPV4 *string `json:"serverIpv4"` // Name of server // Example: server01 // Required: true ServerName *string `json:"serverName"` // UUID of server // Example: abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2 // Required: true // Format: uuid ServerUUID *strfmt.UUID `json:"serverUuid"` // ID of server role // Example: 1 // Required: true ServerroleID *int64 `json:"serverroleId"` // Name of server role // Example: server_role01 // Required: true ServerroleName *string `json:"serverroleName"` // tags is list of server tag // Example: [{"id":1,"name":"tag"},{"id":1,"name":"tag"}] Tags []*ServerTagResponseBody `json:"tags"` // tasks of server // Example: [{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}] Tasks []*ChildTaskResponseBody `json:"tasks"` // updated time of server // Example: 2018-07-14T08:13:28Z // Required: true UpdatedAt *string `json:"updatedAt"` }
ServerUpdateServerResponseBody ServerUpdateServerResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"tasks":[{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z"}
swagger:model ServerUpdateServerResponseBody
func (*ServerUpdateServerResponseBody) ContextValidate ¶
func (m *ServerUpdateServerResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this server update server response body based on the context it is used
func (*ServerUpdateServerResponseBody) MarshalBinary ¶
func (m *ServerUpdateServerResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServerUpdateServerResponseBody) UnmarshalBinary ¶
func (m *ServerUpdateServerResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ServerUpdateServerResponseBody) UnmarshalJSON ¶
func (m *ServerUpdateServerResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type TaskAddTaskCommentRequestBody ¶
type TaskAddTaskCommentRequestBody struct { // comment content // Example: comment // Required: true CommentContent *string `json:"commentContent"` }
TaskAddTaskCommentRequestBody TaskAddTaskCommentRequestBody Example: {"commentContent":"comment"}
swagger:model TaskAddTaskCommentRequestBody
func (*TaskAddTaskCommentRequestBody) ContextValidate ¶
func (m *TaskAddTaskCommentRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this task add task comment request body based on context it is used
func (*TaskAddTaskCommentRequestBody) MarshalBinary ¶
func (m *TaskAddTaskCommentRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskAddTaskCommentRequestBody) UnmarshalBinary ¶
func (m *TaskAddTaskCommentRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*TaskAddTaskCommentRequestBody) UnmarshalJSON ¶
func (m *TaskAddTaskCommentRequestBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type TaskAddTaskCommentResponseBody ¶
type TaskAddTaskCommentResponseBody struct { // advisoryIDs of cve // Example: ["advisoryID"] AdvisoryIDs []string `json:"advisoryIDs"` // ApplyingPatchOn of task // Example: 2018-07-13 // Format: date ApplyingPatchOn strfmt.Date `json:"applyingPatchOn,omitempty"` // Comment of task // Example: [{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}] Comments []*TaskCommentResponseBody `json:"comments"` // created time of task // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // CVE ID of task // Example: CVE-2017-6799 // Required: true CveID *string `json:"cveID"` // Key Value of CveID and Cvss of task // Example: {"Quia dolor aut expedita velit est.":"Iste impedit rerum libero exercitationem deleniti et."} Cvss map[string]io.ReadCloser `json:"cvss,omitempty"` // DetectionMethod of task // Example: [{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100}] DetectionMethods []*DetectionMethodResponseBody `json:"detectionMethods"` // DetectionTools of task // Example: [{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}] DetectionTools []*DetectionToolResponseBody `json:"detectionTools"` // ID of task // Example: 1 // Required: true ID *int64 `json:"id"` // Ignore of task // Example: true // Required: true Ignore *bool `json:"ignore"` // Ignore until of task // Example: vector IgnoreUntil string `json:"ignoreUntil,omitempty"` // MainUserID of task // Example: 1 MainUserID int64 `json:"mainUserID,omitempty"` // MainUserName of task // Example: main-user-name MainUserName string `json:"mainUserName,omitempty"` // packageStatus of task // Example: {"bash":"resolved"} PackageStatuses map[string]string `json:"packageStatuses,omitempty"` // Pcakge And Cpe list of task // Example: [{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}] PkgCpes []*PkgCpeChildResponseBody `json:"pkgCpes"` // Priority of task // Example: high // Required: true Priority *string `json:"priority"` // ServerRoleID of task // Example: 1 // Required: true RoleID *int64 `json:"roleID"` // ServerRoleName of task // Example: server-role-name // Required: true RoleName *string `json:"roleName"` // server // Required: true Server *ServerChildResponseBody `json:"server"` // ServerID of task // Example: 1 // Required: true ServerID *int64 `json:"serverID"` // Status of task // Example: new // Required: true Status *string `json:"status"` // SubUserID of task // Example: 1 SubUserID int64 `json:"subUserID,omitempty"` // SubUserName of task // Example: sub-user-name SubUserName string `json:"subUserName,omitempty"` // updated time of task // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
TaskAddTaskCommentResponseBody TaskAddTaskCommentResponseBody Example: {"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","comments":[{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}],"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","cvss":{"Delectus molestias omnis tempora perferendis.":"Saepe voluptas et praesentium expedita ut.","Voluptas ad dicta eligendi recusandae odit.":"Amet ut libero."},"detectionMethods":[{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100}],"detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","packageStatuses":{"bash":"resolved"},"pkgCpes":[{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"priority":"high","roleID":1,"roleName":"server-role-name","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}
swagger:model TaskAddTaskCommentResponseBody
func (*TaskAddTaskCommentResponseBody) ContextValidate ¶
func (m *TaskAddTaskCommentResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this task add task comment response body based on the context it is used
func (*TaskAddTaskCommentResponseBody) MarshalBinary ¶
func (m *TaskAddTaskCommentResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskAddTaskCommentResponseBody) UnmarshalBinary ¶
func (m *TaskAddTaskCommentResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*TaskAddTaskCommentResponseBody) UnmarshalJSON ¶
func (m *TaskAddTaskCommentResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type TaskCommentResponseBody ¶
type TaskCommentResponseBody struct { // Comment content of TaskComment // Example: comment // Required: true Comment *string `json:"comment"` // created time of TaskComment // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // ID of TaskComment // Example: 1 // Required: true ID *int64 `json:"id"` // Type of TaskComment // Example: system // Required: true Type *string `json:"type"` // updated time of TaskComment // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` // UserID of TaskComment // Example: 1 // Required: true UserID *int64 `json:"userID"` // UserName of TaskComment // Example: user-name // Required: true UserName *string `json:"userName"` }
TaskCommentResponseBody TaskComment ResponseBody Example: {"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}
swagger:model TaskComment ResponseBody
func (*TaskCommentResponseBody) ContextValidate ¶
func (m *TaskCommentResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this task comment response body based on context it is used
func (*TaskCommentResponseBody) MarshalBinary ¶
func (m *TaskCommentResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskCommentResponseBody) UnmarshalBinary ¶
func (m *TaskCommentResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*TaskCommentResponseBody) UnmarshalJSON ¶
func (m *TaskCommentResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type TaskGetTaskDetailResponseBody ¶
type TaskGetTaskDetailResponseBody struct { // advisoryIDs of cve // Example: ["advisoryID"] AdvisoryIDs []string `json:"advisoryIDs"` // ApplyingPatchOn of task // Example: 2018-07-13 // Format: date ApplyingPatchOn strfmt.Date `json:"applyingPatchOn,omitempty"` // Comment of task // Example: [{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}] Comments []*TaskCommentResponseBody `json:"comments"` // created time of task // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // CVE ID of task // Example: CVE-2017-6799 // Required: true CveID *string `json:"cveID"` // Key Value of CveID and Cvss of task // Example: {"Assumenda dolorem sed est.":"Tempore ea aperiam ipsum dolorem.","Aut molestias beatae et sed assumenda.":"Itaque iure illo maiores officia recusandae fugiat.","Nihil sint ea et.":"Et aut quasi consequatur sequi ex perspiciatis."} Cvss map[string]io.ReadCloser `json:"cvss,omitempty"` // DetectionMethod of task // Example: [{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100}] DetectionMethods []*DetectionMethodResponseBody `json:"detectionMethods"` // DetectionTools of task // Example: [{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}] DetectionTools []*DetectionToolResponseBody `json:"detectionTools"` // ID of task // Example: 1 // Required: true ID *int64 `json:"id"` // Ignore of task // Example: true // Required: true Ignore *bool `json:"ignore"` // Ignore until of task // Example: vector IgnoreUntil string `json:"ignoreUntil,omitempty"` // MainUserID of task // Example: 1 MainUserID int64 `json:"mainUserID,omitempty"` // MainUserName of task // Example: main-user-name MainUserName string `json:"mainUserName,omitempty"` // packageStatus of task // Example: {"bash":"resolved"} PackageStatuses map[string]string `json:"packageStatuses,omitempty"` // Pcakge And Cpe list of task // Example: [{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}] PkgCpes []*PkgCpeChildResponseBody `json:"pkgCpes"` // Priority of task // Example: high // Required: true Priority *string `json:"priority"` // ServerRoleID of task // Example: 1 // Required: true RoleID *int64 `json:"roleID"` // ServerRoleName of task // Example: server-role-name // Required: true RoleName *string `json:"roleName"` // server // Required: true Server *ServerChildResponseBody `json:"server"` // ServerID of task // Example: 1 // Required: true ServerID *int64 `json:"serverID"` // Status of task // Example: new // Required: true Status *string `json:"status"` // SubUserID of task // Example: 1 SubUserID int64 `json:"subUserID,omitempty"` // SubUserName of task // Example: sub-user-name SubUserName string `json:"subUserName,omitempty"` // updated time of task // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
TaskGetTaskDetailResponseBody TaskGetTaskDetailResponseBody Example: {"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","comments":[{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}],"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","cvss":{"Ea quo.":"Dicta iure ratione ut optio."},"detectionMethods":[{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100}],"detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","packageStatuses":{"bash":"resolved"},"pkgCpes":[{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"priority":"high","roleID":1,"roleName":"server-role-name","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}
swagger:model TaskGetTaskDetailResponseBody
func (*TaskGetTaskDetailResponseBody) ContextValidate ¶
func (m *TaskGetTaskDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this task get task detail response body based on the context it is used
func (*TaskGetTaskDetailResponseBody) MarshalBinary ¶
func (m *TaskGetTaskDetailResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskGetTaskDetailResponseBody) UnmarshalBinary ¶
func (m *TaskGetTaskDetailResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*TaskGetTaskDetailResponseBody) UnmarshalJSON ¶
func (m *TaskGetTaskDetailResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type TaskGetTaskListResponseBody ¶
type TaskGetTaskListResponseBody struct { // paging Paging *PagingResponseBody `json:"paging,omitempty"` // Task list // Example: [{"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}] Tasks []*TaskListResponseBody `json:"tasks"` }
TaskGetTaskListResponseBody TaskGetTaskListResponseBody Example: {"paging":{"limit":20,"offset":10,"page":1,"totalCount":200,"totalPage":10},"tasks":[{"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}]}
swagger:model TaskGetTaskListResponseBody
func (*TaskGetTaskListResponseBody) ContextValidate ¶
func (m *TaskGetTaskListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this task get task list response body based on the context it is used
func (*TaskGetTaskListResponseBody) MarshalBinary ¶
func (m *TaskGetTaskListResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskGetTaskListResponseBody) UnmarshalBinary ¶
func (m *TaskGetTaskListResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*TaskGetTaskListResponseBody) UnmarshalJSON ¶
func (m *TaskGetTaskListResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type TaskListResponseBody ¶
type TaskListResponseBody struct { // advisoryIDs of cve // Example: ["advisoryID"] AdvisoryIDs []string `json:"advisoryIDs"` // ApplyingPatchOn of task // Example: 2018-07-13 // Format: date ApplyingPatchOn strfmt.Date `json:"applyingPatchOn,omitempty"` // created time of task // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // CVE ID of task // Example: CVE-2017-6799 // Required: true CveID *string `json:"cveID"` // DetectionTools of task // Example: [{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}] DetectionTools []*DetectionToolResponseBody `json:"detectionTools"` // hasExploit of cve // Example: true HasExploit bool `json:"hasExploit,omitempty"` // hasMitigation of cve // Example: true HasMitigation bool `json:"hasMitigation,omitempty"` // hasWorkaroundof cve // Example: true HasWorkaround bool `json:"hasWorkaround,omitempty"` // ID of task // Example: 1 // Required: true ID *int64 `json:"id"` // Ignore of task // Example: true // Required: true Ignore *bool `json:"ignore"` // Ignore until of task // Example: vector IgnoreUntil string `json:"ignoreUntil,omitempty"` // MainUserID of task // Example: 1 MainUserID int64 `json:"mainUserID,omitempty"` // MainUserName of task // Example: main-user-name MainUserName string `json:"mainUserName,omitempty"` // OS Name of server // Example: centos // Required: true OsFamily *string `json:"osFamily"` // OS Version of server // Example: 6 // Required: true OsVersion *string `json:"osVersion"` // Package And CPE Names of task // Example: ["package1","package2"] PkgCpeNames []string `json:"pkgCpeNames"` // Flag of Not Fixed Yet of task // Example: true PkgNotFixedYet bool `json:"pkgNotFixedYet,omitempty"` // Priority of task // Example: high // Required: true Priority *string `json:"priority"` // ServerRoleID of task // Example: 1 // Required: true RoleID *int64 `json:"roleID"` // ServerRoleName of task // Example: server-role-name // Required: true RoleName *string `json:"roleName"` // ServerID of task // Example: 1 // Required: true ServerID *int64 `json:"serverID"` // ServerName of task // Example: serverName // Required: true ServerName *string `json:"serverName"` // ServerTags of task // Example: ["tag"] ServerTags []string `json:"serverTags"` // ServerUUID of task // Example: abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2 // Required: true ServerUUID *string `json:"serverUuid"` // Status of task // Example: new // Required: true Status *string `json:"status"` // SubUserID of task // Example: 1 SubUserID int64 `json:"subUserID,omitempty"` // SubUserName of task // Example: sub-user-name SubUserName string `json:"subUserName,omitempty"` // updated time of task // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
TaskListResponseBody TaskListResponseBody Example: {"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}
swagger:model TaskListResponseBody
func (*TaskListResponseBody) ContextValidate ¶
ContextValidate validate this task list response body based on the context it is used
func (*TaskListResponseBody) MarshalBinary ¶
func (m *TaskListResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskListResponseBody) UnmarshalBinary ¶
func (m *TaskListResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*TaskListResponseBody) UnmarshalJSON ¶
func (m *TaskListResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type TaskUpdateTaskIgnoreRequestBody ¶
type TaskUpdateTaskIgnoreRequestBody struct { // ignore until. // Example: forever // Required: true // Enum: [nothing anything forever vector pkg_fix exploit] IgnoreUntil *string `json:"ignoreUntil"` }
TaskUpdateTaskIgnoreRequestBody TaskUpdateTaskIgnoreRequestBody Example: {"ignoreUntil":"forever"}
swagger:model TaskUpdateTaskIgnoreRequestBody
func (*TaskUpdateTaskIgnoreRequestBody) ContextValidate ¶
func (m *TaskUpdateTaskIgnoreRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this task update task ignore request body based on context it is used
func (*TaskUpdateTaskIgnoreRequestBody) MarshalBinary ¶
func (m *TaskUpdateTaskIgnoreRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskUpdateTaskIgnoreRequestBody) UnmarshalBinary ¶
func (m *TaskUpdateTaskIgnoreRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*TaskUpdateTaskIgnoreRequestBody) UnmarshalJSON ¶
func (m *TaskUpdateTaskIgnoreRequestBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type TaskUpdateTaskIgnoreResponseBody ¶
type TaskUpdateTaskIgnoreResponseBody struct { // advisoryIDs of cve // Example: ["advisoryID"] AdvisoryIDs []string `json:"advisoryIDs"` // ApplyingPatchOn of task // Example: 2018-07-13 // Format: date ApplyingPatchOn strfmt.Date `json:"applyingPatchOn,omitempty"` // Comment of task // Example: [{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}] Comments []*TaskCommentResponseBody `json:"comments"` // created time of task // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // CVE ID of task // Example: CVE-2017-6799 // Required: true CveID *string `json:"cveID"` // Key Value of CveID and Cvss of task // Example: {"Et quibusdam cumque tempore odio est quam.":"Dolores similique dolorem recusandae qui ea.","Odit et a rerum necessitatibus voluptatibus.":"Deleniti enim ut.","Voluptas culpa distinctio sed rem ab.":"A eos facilis nostrum."} Cvss map[string]io.ReadCloser `json:"cvss,omitempty"` // DetectionMethod of task // Example: [{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100}] DetectionMethods []*DetectionMethodResponseBody `json:"detectionMethods"` // DetectionTools of task // Example: [{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}] DetectionTools []*DetectionToolResponseBody `json:"detectionTools"` // ID of task // Example: 1 // Required: true ID *int64 `json:"id"` // Ignore of task // Example: true // Required: true Ignore *bool `json:"ignore"` // Ignore until of task // Example: vector IgnoreUntil string `json:"ignoreUntil,omitempty"` // MainUserID of task // Example: 1 MainUserID int64 `json:"mainUserID,omitempty"` // MainUserName of task // Example: main-user-name MainUserName string `json:"mainUserName,omitempty"` // packageStatus of task // Example: {"bash":"resolved"} PackageStatuses map[string]string `json:"packageStatuses,omitempty"` // Pcakge And Cpe list of task // Example: [{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}] PkgCpes []*PkgCpeChildResponseBody `json:"pkgCpes"` // Priority of task // Example: high // Required: true Priority *string `json:"priority"` // ServerRoleID of task // Example: 1 // Required: true RoleID *int64 `json:"roleID"` // ServerRoleName of task // Example: server-role-name // Required: true RoleName *string `json:"roleName"` // server // Required: true Server *ServerChildResponseBody `json:"server"` // ServerID of task // Example: 1 // Required: true ServerID *int64 `json:"serverID"` // Status of task // Example: new // Required: true Status *string `json:"status"` // SubUserID of task // Example: 1 SubUserID int64 `json:"subUserID,omitempty"` // SubUserName of task // Example: sub-user-name SubUserName string `json:"subUserName,omitempty"` // updated time of task // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
TaskUpdateTaskIgnoreResponseBody TaskUpdateTaskIgnoreResponseBody Example: {"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","comments":[{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}],"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","cvss":{"Explicabo laborum fugit id distinctio ipsum soluta.":"Praesentium magnam beatae similique quisquam error.","Quidem minus.":"Quaerat facere veniam est exercitationem.","Ullam non et voluptatum.":"Nemo similique."},"detectionMethods":[{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100}],"detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","packageStatuses":{"bash":"resolved"},"pkgCpes":[{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"priority":"high","roleID":1,"roleName":"server-role-name","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}
swagger:model TaskUpdateTaskIgnoreResponseBody
func (*TaskUpdateTaskIgnoreResponseBody) ContextValidate ¶
func (m *TaskUpdateTaskIgnoreResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this task update task ignore response body based on the context it is used
func (*TaskUpdateTaskIgnoreResponseBody) MarshalBinary ¶
func (m *TaskUpdateTaskIgnoreResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskUpdateTaskIgnoreResponseBody) UnmarshalBinary ¶
func (m *TaskUpdateTaskIgnoreResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*TaskUpdateTaskIgnoreResponseBody) UnmarshalJSON ¶
func (m *TaskUpdateTaskIgnoreResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type TaskUpdateTaskRequestBody ¶
type TaskUpdateTaskRequestBody struct { // applyingPatchOn (YYYY-MM-DD) UTC // Example: 2018-07-14 // Format: date ApplyingPatchOn strfmt.Date `json:"applyingPatchOn,omitempty"` // mainUserID of task // Example: 1 MainUserID int64 `json:"mainUserID,omitempty"` // Priority of task // Example: medium // Enum: [none high medium low] Priority string `json:"priority,omitempty"` // Status of task // Example: ongoing // Enum: [new investigating ongoing not_affected risk_accepted workaround] Status string `json:"status,omitempty"` // subUserID of task // Example: 2 SubUserID int64 `json:"subUserID,omitempty"` }
TaskUpdateTaskRequestBody TaskUpdateTaskRequestBody Example: {"applyingPatchOn":"2018-07-14","mainUserID":1,"priority":"none","status":"new","subUserID":2}
swagger:model TaskUpdateTaskRequestBody
func (*TaskUpdateTaskRequestBody) ContextValidate ¶
func (m *TaskUpdateTaskRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this task update task request body based on context it is used
func (*TaskUpdateTaskRequestBody) MarshalBinary ¶
func (m *TaskUpdateTaskRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskUpdateTaskRequestBody) UnmarshalBinary ¶
func (m *TaskUpdateTaskRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*TaskUpdateTaskRequestBody) UnmarshalJSON ¶
func (m *TaskUpdateTaskRequestBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type TaskUpdateTaskResponseBody ¶
type TaskUpdateTaskResponseBody struct { // advisoryIDs of cve // Example: ["advisoryID"] AdvisoryIDs []string `json:"advisoryIDs"` // ApplyingPatchOn of task // Example: 2018-07-13 // Format: date ApplyingPatchOn strfmt.Date `json:"applyingPatchOn,omitempty"` // Comment of task // Example: [{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}] Comments []*TaskCommentResponseBody `json:"comments"` // created time of task // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // CVE ID of task // Example: CVE-2017-6799 // Required: true CveID *string `json:"cveID"` // Key Value of CveID and Cvss of task // Example: {"Et voluptatem et omnis quibusdam eum ex.":"Ut quas.","Saepe qui eligendi est accusamus dolores.":"Repellat doloribus neque quasi sequi impedit."} Cvss map[string]io.ReadCloser `json:"cvss,omitempty"` // DetectionMethod of task // Example: [{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100}] DetectionMethods []*DetectionMethodResponseBody `json:"detectionMethods"` // DetectionTools of task // Example: [{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}] DetectionTools []*DetectionToolResponseBody `json:"detectionTools"` // ID of task // Example: 1 // Required: true ID *int64 `json:"id"` // Ignore of task // Example: true // Required: true Ignore *bool `json:"ignore"` // Ignore until of task // Example: vector IgnoreUntil string `json:"ignoreUntil,omitempty"` // MainUserID of task // Example: 1 MainUserID int64 `json:"mainUserID,omitempty"` // MainUserName of task // Example: main-user-name MainUserName string `json:"mainUserName,omitempty"` // packageStatus of task // Example: {"bash":"resolved"} PackageStatuses map[string]string `json:"packageStatuses,omitempty"` // Pcakge And Cpe list of task // Example: [{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}] PkgCpes []*PkgCpeChildResponseBody `json:"pkgCpes"` // Priority of task // Example: high // Required: true Priority *string `json:"priority"` // ServerRoleID of task // Example: 1 // Required: true RoleID *int64 `json:"roleID"` // ServerRoleName of task // Example: server-role-name // Required: true RoleName *string `json:"roleName"` // server // Required: true Server *ServerChildResponseBody `json:"server"` // ServerID of task // Example: 1 // Required: true ServerID *int64 `json:"serverID"` // Status of task // Example: new // Required: true Status *string `json:"status"` // SubUserID of task // Example: 1 SubUserID int64 `json:"subUserID,omitempty"` // SubUserName of task // Example: sub-user-name SubUserName string `json:"subUserName,omitempty"` // updated time of task // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
TaskUpdateTaskResponseBody TaskUpdateTaskResponseBody Example: {"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","comments":[{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}],"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","cvss":{"Voluptates cumque quam et sit qui.":"Temporibus esse eius et aut quo."},"detectionMethods":[{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100}],"detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","packageStatuses":{"bash":"resolved"},"pkgCpes":[{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"priority":"high","roleID":1,"roleName":"server-role-name","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}
swagger:model TaskUpdateTaskResponseBody
func (*TaskUpdateTaskResponseBody) ContextValidate ¶
func (m *TaskUpdateTaskResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this task update task response body based on the context it is used
func (*TaskUpdateTaskResponseBody) MarshalBinary ¶
func (m *TaskUpdateTaskResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskUpdateTaskResponseBody) UnmarshalBinary ¶
func (m *TaskUpdateTaskResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*TaskUpdateTaskResponseBody) UnmarshalJSON ¶
func (m *TaskUpdateTaskResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
type TmpMetricResponseBody ¶
type TmpMetricResponseBody struct { // created time // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt"` // E of tmpMetric // Required: true E *string `json:"e"` // RC of tmpMetric // Required: true Rc *string `json:"rc"` // RL of tmpMetric // Required: true Rl *string `json:"rl"` // updated time // Example: 2018-07-14T08:13:28Z // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
TmpMetricResponseBody TmpMetricResponseBody
TmpMetric describes a tmpMetric Example: {"createdAt":"2018-07-14T08:13:28Z","e":"","rc":"","rl":"","updatedAt":"2018-07-14T08:13:28Z"}
swagger:model TmpMetricResponseBody
func (*TmpMetricResponseBody) ContextValidate ¶
ContextValidate validates this tmp metric response body based on context it is used
func (*TmpMetricResponseBody) MarshalBinary ¶
func (m *TmpMetricResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TmpMetricResponseBody) UnmarshalBinary ¶
func (m *TmpMetricResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*TmpMetricResponseBody) UnmarshalJSON ¶
func (m *TmpMetricResponseBody) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object while disallowing additional properties from JSON
Source Files ¶
- advisory_response_body.go
- affected_proc_response_body.go
- child_task_response_body.go
- cve_get_cve_detail_response_body.go
- cve_get_cve_list_response_body.go
- cve_list_response_body.go
- cwe_response_body.go
- detection_method_response_body.go
- detection_tool_response_body.go
- env_metric_v2_response_body.go
- env_metric_v3_response_body.go
- library_pkg_child_response_body.go
- lockfile_add_lockfile_request_body.go
- lockfile_add_lockfile_response_body.go
- lockfile_get_lockfile_detail_response_body.go
- lockfile_get_lockfile_list_response_body.go
- lockfile_list_response_body.go
- lockfile_update_lockfile_request_body.go
- lockfile_update_lockfile_response_body.go
- need_restart_proc_response_body.go
- paging_response_body.go
- pkg_cpe_add_cpe_request_body.go
- pkg_cpe_add_cpe_response_body.go
- pkg_cpe_child_response_body.go
- pkg_cpe_delete_cpe_deprecated_request_body.go
- pkg_cpe_get_cpe_detail_response_body.go
- pkg_cpe_get_pkg_cpe_list_response_body.go
- pkg_cpe_get_pkg_detail_response_body.go
- pkg_cpe_list_response_body.go
- role_get_role_detail_response_body.go
- role_get_role_list_response_body.go
- role_list_response_body.go
- role_update_role_request_body.go
- role_update_role_response_body.go
- sec_metric_response_body.go
- server_child_response_body.go
- server_create_pkg_paste_server_request_body.go
- server_create_pkg_paste_server_response_body.go
- server_get_server_detail_by_uuid_response_body.go
- server_get_server_detail_response_body.go
- server_get_server_list_response_body.go
- server_list_response_body.go
- server_tag_response_body.go
- server_update_pkg_paste_server_request_body.go
- server_update_server_request_body.go
- server_update_server_response_body.go
- task_add_task_comment_request_body.go
- task_add_task_comment_response_body.go
- task_comment_response_body.go
- task_get_task_detail_response_body.go
- task_get_task_list_response_body.go
- task_list_response_body.go
- task_update_task_ignore_request_body.go
- task_update_task_ignore_response_body.go
- task_update_task_request_body.go
- task_update_task_response_body.go
- tmp_metric_response_body.go