function stringlengths 11 56k | repo_name stringlengths 5 60 | features list |
|---|---|---|
def _first_item(x):
for item in x:
return item
return None | slundberg/shap | [
18731,
2825,
18731,
1626,
1479842228
] |
def __init__(self, **kwargs):
self.cohorts = kwargs
for k in self.cohorts:
assert isinstance(self.cohorts[k], Explanation), "All the arguments to a Cohorts set must be Explanation objects!" | slundberg/shap | [
18731,
2825,
18731,
1626,
1479842228
] |
def __getattr__(self, name):
new_cohorts = Cohorts()
for k in self.cohorts:
new_cohorts.cohorts[k] = getattr(self.cohorts[k], name)
return new_cohorts | slundberg/shap | [
18731,
2825,
18731,
1626,
1479842228
] |
def __repr__(self):
return f"<shap._explanation.Cohorts object with {len(self.cohorts)} cohorts of sizes: {[v.shape for v in self.cohorts.values()]}>" | slundberg/shap | [
18731,
2825,
18731,
1626,
1479842228
] |
def __init__(self):
r"""
:param RuleMode: 策略模式, RULE_MODE_RELEASE: 放行 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.RuleMode = params.get("RuleMode")
self.ProcessPath = params.get("ProcessPath")
self.RuleId = params.get("RuleId")
memeber_set = set(params.keys())
for name, value in vars(self).items():
if name in memeber_set:
memeb... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param Description: 事件规则
:type Description: str
:param Solution: 解决方案
:type Solution: str
:param Remark: 事件备注信息 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.Description = params.get("Description")
self.Solution = params.get("Solution")
self.Remark = params.get("Remark")
if params.get("MatchRule") is not None:
self.MatchRule = AbnormalProcessChildRuleInfo()
self.MatchRule._deseriali... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param ProcessPath: 进程目录
:type ProcessPath: str
:param EventType: 事件类型,MALICE_PROCESS_START:恶意进程启动
:type EventType: str
:param MatchRuleName: 命中规则
:type MatchRuleName: str
:param FoundTime: 生成时间
:type FoundTime: str
... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.ProcessPath = params.get("ProcessPath")
self.EventType = params.get("EventType")
self.MatchRuleName = params.get("MatchRuleName")
self.FoundTime = params.get("FoundTime")
self.ContainerName = params.get("ContainerName")
self.ImageName ... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param IsEnable: true:策略启用,false:策略禁用
:type IsEnable: bool
:param ImageIds: 生效镜像id,空数组代表全部镜像
:type ImageIds: list of str
:param ChildRules: 用户策略的子策略数组
:type ChildRules: list of AbnormalProcessChildRuleInfo
:param RuleName: 策略名字
... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.IsEnable = params.get("IsEnable")
self.ImageIds = params.get("ImageIds")
if params.get("ChildRules") is not None:
self.ChildRules = []
for item in params.get("ChildRules"):
obj = AbnormalProcessChildRuleInfo()
... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param RuleId: 子策略Id
:type RuleId: str
:param IsEnable: 子策略状态,true为开启,false为关闭
:type IsEnable: bool
:param RuleMode: 策略模式, RULE_MODE_RELEASE: 放行 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.RuleId = params.get("RuleId")
self.IsEnable = params.get("IsEnable")
self.RuleMode = params.get("RuleMode")
self.RuleType = params.get("RuleType")
memeber_set = set(params.keys())
for name, value in vars(self).items():
if n... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param RuleMode: 策略模式, RULE_MODE_RELEASE: 放行 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.RuleMode = params.get("RuleMode")
self.ProcessPath = params.get("ProcessPath")
self.TargetFilePath = params.get("TargetFilePath")
self.RuleId = params.get("RuleId")
memeber_set = set(params.keys())
for name, value in vars(self).items()... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param Description: 事件规则
:type Description: str
:param Solution: 解决方案
:type Solution: str
:param Remark: 事件备注信息 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.Description = params.get("Description")
self.Solution = params.get("Solution")
self.Remark = params.get("Remark")
if params.get("MatchRule") is not None:
self.MatchRule = AccessControlChildRuleInfo()
self.MatchRule._deserialize... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param ProcessName: 进程名称
:type ProcessName: str
:param MatchRuleName: 命中规则名称
:type MatchRuleName: str
:param FoundTime: 生成时间
:type FoundTime: str
:param ContainerName: 容器名
:type ContainerName: str
:param ImageName: ... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.ProcessName = params.get("ProcessName")
self.MatchRuleName = params.get("MatchRuleName")
self.FoundTime = params.get("FoundTime")
self.ContainerName = params.get("ContainerName")
self.ImageName = params.get("ImageName")
self.Behavior =... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param IsEnable: 开关,true:开启,false:禁用
:type IsEnable: bool
:param ImageIds: 生效惊现id,空数组代表全部镜像
:type ImageIds: list of str
:param ChildRules: 用户策略的子策略数组
:type ChildRules: list of AccessControlChildRuleInfo
:param RuleName: 策略名字
... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.IsEnable = params.get("IsEnable")
self.ImageIds = params.get("ImageIds")
if params.get("ChildRules") is not None:
self.ChildRules = []
for item in params.get("ChildRules"):
obj = AccessControlChildRuleInfo()
... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param RuleId: 子策略Id
:type RuleId: str
:param RuleMode: 策略模式, RULE_MODE_RELEASE: 放行 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.RuleId = params.get("RuleId")
self.RuleMode = params.get("RuleMode")
self.IsEnable = params.get("IsEnable")
self.RuleType = params.get("RuleType")
memeber_set = set(params.keys())
for name, value in vars(self).items():
if n... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param Name: 仓库名
:type Name: str
:param Username: 用户名
:type Username: str
:param Password: 密码
:type Password: str
:param Url: 仓库url
:type Url: str
:param RegistryType: 仓库类型,列表:harbor
:type RegistryType: str
... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param HealthCheckErr: 连接错误信息 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.HealthCheckErr = params.get("HealthCheckErr")
self.NameRepeatErr = params.get("NameRepeatErr")
self.RegistryId = params.get("RegistryId")
self.RequestId = params.get("RequestId") | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param CustomerPolicyItemIdSet: 要忽略的检测项的ID的列表
:type CustomerPolicyItemIdSet: list of int non-negative
"""
self.CustomerPolicyItemIdSet = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param RuleInfo: 增加策略信息,策略id为空,编辑策略是id不能为空
:type RuleInfo: :class:`tencentcloud.tcss.v20201101.models.AbnormalProcessRuleInfo`
:param EventId: 仅在加白的时候带上
:type EventId: str
"""
self.RuleInfo = None
self.EventId = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param RuleInfo: 增加策略信息,策略id为空,编辑策略是id不能为空
:type RuleInfo: :class:`tencentcloud.tcss.v20201101.models.AccessControlRuleInfo`
:param EventId: 仅在白名单时候使用
:type EventId: str
"""
self.RuleInfo = None
self.EventId = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param WhiteListInfo: 增加或编辑白名单信息。新增白名单时WhiteListInfo.id为空,编辑白名单WhiteListInfo.id不能为空。
:type WhiteListInfo: :class:`tencentcloud.tcss.v20201101.models.ReverseShellWhiteListInfo`
:param EventId: 仅在添加事件白名单时候使用
:type EventId: str
"""
self.White... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param EventId: 仅在添加白名单时候使用
:type EventId: str
:param WhiteListInfo: 增加白名单信息,白名单id为空,编辑白名单id不能为空
:type WhiteListInfo: :class:`tencentcloud.tcss.v20201101.models.RiskSyscallWhiteListInfo`
"""
self.EventId = None
self.WhiteListInfo =... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param WarningRules: 告警开关策略
:type WarningRules: list of WarningRule
"""
self.WarningRules = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param ClusterId: 集群ID
:type ClusterId: str
:param ClusterName: 集群名字
:type ClusterName: str
:param InstanceId: 实例id
:type InstanceId: str
:param PrivateIpAddresses: 内网ip地址
:type PrivateIpAddresses: str
:param Instan... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param ClusterId: 集群Id
:type ClusterId: str
:param ClusterName: 集群名字
:type ClusterName: str
:param WorkloadName: 工作负载名称
:type WorkloadName: str
:param WorkloadType: 工作负载类型
:type WorkloadType: str
:param Region: 区域
... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param Name: 过滤键的名称
:type Name: str
:param Values: 一个或者多个过滤值。
:type Values: list of str
:param ExactMatch: 是否模糊查询
:type ExactMatch: bool
"""
self.Name = None
self.Values = None
self.ExactMatch = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param ImageID: 镜像ID
:type ImageID: str
:param ImageName: 镜像名称
:type ImageName: str
:param ContainerCnt: 关联容器个数
:type ContainerCnt: int
:param ScanTime: 最后扫描时间
:type ScanTime: str
:param Size: 镜像大小
:type Siz... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param Name: 仓库名
:type Name: str
"""
self.Name = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param IsRepeat: 是否重复 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.IsRepeat = params.get("IsRepeat")
self.RequestId = params.get("RequestId") | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param CheckItemId: 唯一的检测项的ID | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.CheckItemId = params.get("CheckItemId")
self.Name = params.get("Name")
self.ItemDetail = params.get("ItemDetail")
self.RiskLevel = params.get("RiskLevel")
self.RiskTarget = params.get("RiskTarget")
self.RiskType = params.get("RiskType"... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param ClusterId: 指定要扫描的集群ID
:type ClusterId: str
:param ClusterRegion: 集群所属地域
:type ClusterRegion: str
:param NodeIp: 指定要扫描的节点IP
:type NodeIp: str
:param WorkloadName: 按照要扫描的workload名字
:type WorkloadName: str
"""
... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param ClusterId: 要安装组件的集群ID。
:type ClusterId: str
:param ClusterRegion: 该集群对应的地域
:type ClusterRegion: str
"""
self.ClusterId = None
self.ClusterRegion = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param ClusterId: 集群id
:type ClusterId: str
:param ClusterName: 集群名字
:type ClusterName: str
:param ClusterVersion: 集群版本
:type ClusterVersion: str
:param ClusterOs: 集群操作系统
:type ClusterOs: str
:param ClusterType: 集群类... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param CheckItem: 检测项相关信息
:type CheckItem: :class:`tencentcloud.tcss.v20201101.models.ClusterCheckItem`
:param VerifyInfo: 验证信息
:type VerifyInfo: str
:param ErrorMessage: 事件描述,检查的错误信息
:type ErrorMessage: str
:param AffectedClusterC... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param CustomerAssetId: 为客户分配的唯一的资产项的ID。
:type CustomerAssetId: int
:param AssetName: 资产项的名称。
:type AssetName: str
:param AssetType: 资产项的类型
:type AssetType: str
:param CheckStatus: 检测状态 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.CustomerAssetId = params.get("CustomerAssetId")
self.AssetName = params.get("AssetName")
self.AssetType = params.get("AssetType")
self.CheckStatus = params.get("CheckStatus")
self.NodeName = params.get("NodeName")
self.LastCheckTime = ... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param CustomerAssetId: 客户资产的ID。
:type CustomerAssetId: int
:param AssetType: 资产类别。
:type AssetType: str
:param AssetName: 资产的名称。
:type AssetName: str
:param NodeName: 资产所属的节点的名称。
:type NodeName: str
:param HostName... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.CustomerAssetId = params.get("CustomerAssetId")
self.AssetType = params.get("AssetType")
self.AssetName = params.get("AssetName")
self.NodeName = params.get("NodeName")
self.HostName = params.get("HostName")
self.HostIP = params.get("H... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param CustomerAssetId: 客户资产的ID。
:type CustomerAssetId: int
:param AssetType: 资产类别。
:type AssetType: str
:param AssetName: 资产的名称。
:type AssetName: str
:param ImageTag: 当资产为镜像时,这个字段为镜像Tag。 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.CustomerAssetId = params.get("CustomerAssetId")
self.AssetType = params.get("AssetType")
self.AssetName = params.get("AssetName")
self.ImageTag = params.get("ImageTag")
self.HostIP = params.get("HostIP")
self.NodeName = params.get("Nod... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param CustomerPolicyItemId: 为客户分配的唯一的检测项的ID。
:type CustomerPolicyItemId: int
:param BasePolicyItemId: 检测项的原始ID
:type BasePolicyItemId: int
:param Name: 检测项的名称。
:type Name: str
:param Category: 检测项所属的类型的名称
:type Category: s... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.CustomerPolicyItemId = params.get("CustomerPolicyItemId")
self.BasePolicyItemId = params.get("BasePolicyItemId")
self.Name = params.get("Name")
self.Category = params.get("Category")
self.BenchmarkStandardId = params.get("BenchmarkStandardId")... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param AssetType: 资产类别。
:type AssetType: str
:param IsCustomerFirstCheck: 是否为客户的首次检测。与CheckStatus配合使用。
:type IsCustomerFirstCheck: bool
:param CheckStatus: 检测状态 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.AssetType = params.get("AssetType")
self.IsCustomerFirstCheck = params.get("IsCustomerFirstCheck")
self.CheckStatus = params.get("CheckStatus")
self.CheckProgress = params.get("CheckProgress")
self.PassedPolicyItemCount = params.get("PassedPol... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param StandardId: 合规标准的ID
:type StandardId: int
:param Name: 合规标准的名称
:type Name: str
:param PolicyItemCount: 合规标准包含的数目
:type PolicyItemCount: int
:param Enabled: 是否启用此标准
:type Enabled: bool
:param Description: 标准的描... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param StandardId: 合规标准的ID。
:type StandardId: int
:param Enable: 是否启用合规标准
:type Enable: bool
"""
self.StandardId = None
self.Enable = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param ContainerId: 容器在主机上的ID。
:type ContainerId: str
:param PodName: 容器所属的Pod的名称。 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.ContainerId = params.get("ContainerId")
self.PodName = params.get("PodName")
memeber_set = set(params.keys())
for name, value in vars(self).items():
if name in memeber_set:
memeber_set.remove(name)
if len(memeber_se... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param Name: 过滤键的名称
:type Name: str
:param Values: 一个或者多个过滤值。
:type Values: list of str
:param ExactMatch: 是否模糊查询。默认为是。
:type ExactMatch: bool
"""
self.Name = None
self.Values = None
self.ExactMatch = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param DockerVersion: 主机上的Docker版本。 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.DockerVersion = params.get("DockerVersion")
self.K8SVersion = params.get("K8SVersion")
memeber_set = set(params.keys())
for name, value in vars(self).items():
if name in memeber_set:
memeber_set.remove(name)
if len(... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param ImageId: 镜像在主机上的ID。
:type ImageId: str
:param ImageName: 镜像的名称。
:type ImageName: str
:param ImageTag: 镜像的Tag。
:type ImageTag: str
:param Repository: 镜像所在远程仓库的路径。 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.ImageId = params.get("ImageId")
self.ImageName = params.get("ImageName")
self.ImageTag = params.get("ImageTag")
self.Repository = params.get("Repository")
memeber_set = set(params.keys())
for name, value in vars(self).items():
... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param ClusterName: K8S集群的名称。 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.ClusterName = params.get("ClusterName")
self.ClusterVersion = params.get("ClusterVersion")
memeber_set = set(params.keys())
for name, value in vars(self).items():
if name in memeber_set:
memeber_set.remove(name)
if ... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param PeriodTaskId: 周期任务的ID
:type PeriodTaskId: int
:param AssetType: 资产类型。 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.PeriodTaskId = params.get("PeriodTaskId")
self.AssetType = params.get("AssetType")
self.LastTriggerTime = params.get("LastTriggerTime")
self.TotalPolicyItemCount = params.get("TotalPolicyItemCount")
if params.get("PeriodRule") is not None:
... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param Frequency: 执行的频率(几天一次),取值为:1,3,7。
:type Frequency: int
:param ExecutionTime: 在这天的什么时间执行,格式为:HH:mm:SS。
:type ExecutionTime: str
"""
self.Frequency = None
self.ExecutionTime = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param CustomerPolicyItemId: 为客户分配的唯一的检测项的ID。
:type CustomerPolicyItemId: int
:param BasePolicyItemId: 检测项的原始ID。
:type BasePolicyItemId: int
:param Name: 检测项的名称。
:type Name: str
:param Category: 检测项所属的类型,枚举字符串。
:type Catego... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.CustomerPolicyItemId = params.get("CustomerPolicyItemId")
self.BasePolicyItemId = params.get("BasePolicyItemId")
self.Name = params.get("Name")
self.Category = params.get("Category")
self.BenchmarkStandardName = params.get("BenchmarkStandardNa... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param CustomerAssetId: 客户资产的ID。
:type CustomerAssetId: int
:param AssetType: 资产类别。
:type AssetType: str
:param CheckStatus: 检测状态 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.CustomerAssetId = params.get("CustomerAssetId")
self.AssetType = params.get("AssetType")
self.CheckStatus = params.get("CheckStatus")
self.AssetName = params.get("AssetName")
self.FailureReason = params.get("FailureReason")
self.Sugges... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param WhitelistItemId: 白名单项的ID。
:type WhitelistItemId: int
:param CustomerPolicyItemId: 客户检测项的ID。
:type CustomerPolicyItemId: int
:param Name: 检测项的名称。
:type Name: str
:param StandardName: 合规标准的名称。
:type StandardName: str
... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param Name: 名称
:type Name: str
:param Version: 版本
:type Version: str
"""
self.Name = None
self.Version = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param Component: 组件名称 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def _deserialize(self, params):
self.Component = params.get("Component")
self.Version = params.get("Version")
memeber_set = set(params.keys())
for name, value in vars(self).items():
if name in memeber_set:
memeber_set.remove(name)
if len(memeber_set) >... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param ContainerID: 容器id
:type ContainerID: str
:param ContainerName: 容器名称
:type ContainerName: str
:param Status: 容器运行状态
:type Status: str
:param CreateTime: 创建时间
:type CreateTime: str
:param RunAs: 运行用户
:t... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param Type: 挂载类型 bind
:type Type: str
:param Source: 宿主机路径
:type Source: str
:param Destination: 容器内路径
:type Destination: str
:param Mode: 模式
:type Mode: str
:param RW: 读写权限
:type RW: bool
:param Pr... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param EndpointID: endpoint id
:type EndpointID: str
:param Mode: 模式:bridge
:type Mode: str
:param Name: 网络名称
:type Name: str
:param NetworkID: 网络ID
:type NetworkID: str
:param Gateway: 网关
:type Gateway: str... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param All: 是否扫描全部镜像
:type All: bool
:param Images: 扫描的镜像列表
:type Images: list of ImageInfo
:param ScanType: 扫描类型数组
:type ScanType: list of str
:param Id: 扫描的镜像列表Id
:type Id: list of int non-negative
"""
sel... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param All: 是否扫描全部镜像
:type All: bool
:param Images: 扫描的镜像列表
:type Images: list of ImageInfo
:param ScanType: 扫描类型数组
:type ScanType: list of str
:param Id: 扫描的镜像列表
:type Id: list of int non-negative
:param Filters: 过... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param Enable: 开关
:type Enable: bool
:param ScanTime: 扫描时间
:type ScanTime: str
:param ScanPeriod: 扫描周期
:type ScanPeriod: int
:param ScanVirus: 扫描木马
:type ScanVirus: bool
:param ScanRisk: 扫描敏感信息
:type ScanRis... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.RequestId = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param All: 是否扫描全部镜像;全部镜像,镜像列表和根据过滤条件筛选三选一。
:type All: bool
:param Images: 需要扫描的镜像列表;全部镜像,镜像列表和根据过滤条件筛选三选一。
:type Images: list of str
:param ScanVul: 扫描漏洞;漏洞,木马和风险需选其一
:type ScanVul: bool
:param ScanVirus: 扫描木马;漏洞,木马和风险需选其一
... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param TaskID: 任务id
:type TaskID: str
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.TaskID = None
self.RequestId = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param ClusterInfoList: 要安装的集群列表信息
:type ClusterInfoList: list of ClusterCreateComponentItem
"""
self.ClusterInfoList = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param InstallResult: "InstallSucc"表示安装成功,"InstallFailed"表示安装失败
:type InstallResult: str
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.InstallResult = None
self.RequestId = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param ClusterCheckTaskList: 指定要扫描的集群信息
:type ClusterCheckTaskList: list of ClusterCheckTaskItem
"""
self.ClusterCheckTaskList = None | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param TaskId: 返回创建的集群检查任务的ID,为0表示创建失败。
:type TaskId: int
:param CreateResult: 创建检查任务的结果,"Succ"为成功,其他的为失败原因
:type CreateResult: str
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
:type RequestId: str
"""
self.... | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
def __init__(self):
r"""
:param AssetTypeSet: 指定要扫描的资产类型列表。 | tzpBingo/github-trending | [
42,
20,
42,
1,
1504755582
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.