Path helper methods for the SecurityCenter API.
Methods
#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)
#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)