Path helper methods for the SecurityCenter API.
Methods
#external_system_path
def external_system_path(organization:, source:, finding:, externalsystem:) -> ::String
def external_system_path(folder:, source:, finding:, externalsystem:) -> ::String
def external_system_path(project:, source:, finding:, externalsystem:) -> ::String
Create a fully-qualified ExternalSystem resource string.
def external_system_path(organization:, source:, finding:, externalsystem:) -> ::String
organizations/{organization}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}
- organization (String)
- source (String)
- finding (String)
- externalsystem (String)
def external_system_path(folder:, source:, finding:, externalsystem:) -> ::String
folders/{folder}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}
- folder (String)
- source (String)
- finding (String)
- externalsystem (String)
def external_system_path(project:, source:, finding:, externalsystem:) -> ::String
projects/{project}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}
- project (String)
- source (String)
- finding (String)
- externalsystem (String)
- (::String)
- (::ArgumentError)
#finding_path
def finding_path(organization:, source:, finding:) -> ::String
def finding_path(folder:, source:, finding:) -> ::String
def finding_path(project:, source:, finding:) -> ::String
Create a fully-qualified Finding resource string.
def finding_path(organization:, source:, finding:) -> ::String
organizations/{organization}/sources/{source}/findings/{finding}
- organization (String)
- source (String)
- finding (String)
def finding_path(folder:, source:, finding:) -> ::String
folders/{folder}/sources/{source}/findings/{finding}
- folder (String)
- source (String)
- finding (String)
def finding_path(project:, source:, finding:) -> ::String
projects/{project}/sources/{source}/findings/{finding}
- project (String)
- source (String)
- finding (String)
- (::String)
- (::ArgumentError)
#folder_path
def folder_path(folder:) -> ::String
Create a fully-qualified Folder resource string.
The resource will be in the following format:
folders/{folder}
- folder (String)
- (::String)
#mute_config_path
def mute_config_path(organization:, mute_config:) -> ::String
def mute_config_path(folder:, mute_config:) -> ::String
def mute_config_path(project:, mute_config:) -> ::String
Create a fully-qualified MuteConfig resource string.
def mute_config_path(organization:, mute_config:) -> ::String
organizations/{organization}/muteConfigs/{mute_config}
- organization (String)
- mute_config (String)
def mute_config_path(folder:, mute_config:) -> ::String
folders/{folder}/muteConfigs/{mute_config}
- folder (String)
- mute_config (String)
def mute_config_path(project:, mute_config:) -> ::String
projects/{project}/muteConfigs/{mute_config}
- project (String)
- mute_config (String)
- (::String)
- (::ArgumentError)
#notification_config_path
def notification_config_path(organization:, notification_config:) -> ::String
Create a fully-qualified NotificationConfig resource string.
The resource will be in the following format:
organizations/{organization}/notificationConfigs/{notification_config}
- organization (String)
- notification_config (String)
- (::String)
- (::ArgumentError)
#organization_path
def organization_path(organization:) -> ::String
Create a fully-qualified Organization resource string.
The resource will be in the following format:
organizations/{organization}
- organization (String)
- (::String)
#organization_settings_path
def organization_settings_path(organization:) -> ::String
Create a fully-qualified OrganizationSettings resource string.
The resource will be in the following format:
organizations/{organization}/organizationSettings
- organization (String)
- (::String)
#project_path
def project_path(project:) -> ::String
Create a fully-qualified Project resource string.
The resource will be in the following format:
projects/{project}
- project (String)
- (::String)
#security_marks_path
def security_marks_path(organization:, asset:) -> ::String
def security_marks_path(organization:, source:, finding:) -> ::String
def security_marks_path(folder:, asset:) -> ::String
def security_marks_path(project:, asset:) -> ::String
def security_marks_path(folder:, source:, finding:) -> ::String
def security_marks_path(project:, source:, finding:) -> ::String
Create a fully-qualified SecurityMarks resource string.
def security_marks_path(organization:, asset:) -> ::String
organizations/{organization}/assets/{asset}/securityMarks
- organization (String)
- asset (String)
def security_marks_path(organization:, source:, finding:) -> ::String
organizations/{organization}/sources/{source}/findings/{finding}/securityMarks
- organization (String)
- source (String)
- finding (String)
def security_marks_path(folder:, asset:) -> ::String
folders/{folder}/assets/{asset}/securityMarks
- folder (String)
- asset (String)
def security_marks_path(project:, asset:) -> ::String
projects/{project}/assets/{asset}/securityMarks
- project (String)
- asset (String)
def security_marks_path(folder:, source:, finding:) -> ::String
folders/{folder}/sources/{source}/findings/{finding}/securityMarks
- folder (String)
- source (String)
- finding (String)
def security_marks_path(project:, source:, finding:) -> ::String
projects/{project}/sources/{source}/findings/{finding}/securityMarks
- project (String)
- source (String)
- finding (String)
- (::String)
- (::ArgumentError)
#source_path
def source_path(organization:, source:) -> ::String
def source_path(folder:, source:) -> ::String
def source_path(project:, source:) -> ::String
Create a fully-qualified Source resource string.
def source_path(organization:, source:) -> ::String
organizations/{organization}/sources/{source}
- organization (String)
- source (String)
def source_path(folder:, source:) -> ::String
folders/{folder}/sources/{source}
- folder (String)
- source (String)
def source_path(project:, source:) -> ::String
projects/{project}/sources/{source}
- project (String)
- source (String)
- (::String)
- (::ArgumentError)
#topic_path
def topic_path(project:, topic:) -> ::String
Create a fully-qualified Topic resource string.
The resource will be in the following format:
projects/{project}/topics/{topic}
- project (String)
- topic (String)
- (::String)
- (::ArgumentError)