Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Application

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb

Overview

Represents an application associated with a finding.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Application

Returns a new instance of GoogleCloudSecuritycenterV2Application.



3030
3031
3032
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3030

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#base_uri ⇒ String

The base URI that identifies the network location of the application in which the vulnerability was detected. Examples: http://11.22.33.44, http://foo.com, http://11.22.33.44:8080 Corresponds to the JSON property baseUri

Returns:

  • (String)


3021
3022
3023
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3021

def base_uri
  @base_uri
end

#full_uri ⇒ String

The full URI with payload that could be used to reproduce the vulnerability. Example: http://11.22.33.44/reflected/parameter/attribute/singlequoted/js?p= aMmYgI6H Corresponds to the JSON property fullUri

Returns:

  • (String)


3028
3029
3030
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3028

def full_uri
  @full_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3035
3036
3037
3038
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3035

def update!(**args)
  @base_uri = args[:base_uri] if args.key?(:base_uri)
  @full_uri = args[:full_uri] if args.key?(:full_uri)
end