Class: Aws::Inspector2::Types::CodeSnippetResult
- Inherits:
-
Struct
- Object
- Struct
- Aws::Inspector2::Types::CodeSnippetResult
- Defined in:
- gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb
Overview
Contains information on a code snippet retrieved by Amazon Inspector from a code vulnerability finding.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#code_snippet ⇒ Array<Types::CodeLine>
Contains information on the retrieved code snippet.
-
#end_line ⇒ Integer
The line number of the last line of a code snippet.
-
#finding_arn ⇒ String
The ARN of a finding that the code snippet is associated with.
-
#start_line ⇒ Integer
The line number of the first line of a code snippet.
-
#suggested_fixes ⇒ Array<Types::SuggestedFix>
Details of a suggested code fix.
Instance Attribute Details
#code_snippet ⇒ Array<Types::CodeLine>
Contains information on the retrieved code snippet.
1731 1732 1733 1734 1735 1736 1737 1738 1739 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1731 class CodeSnippetResult < Struct.new( :code_snippet, :end_line, :finding_arn, :start_line, :suggested_fixes) SENSITIVE = [] include Aws::Structure end |
#end_line ⇒ Integer
The line number of the last line of a code snippet.
1731 1732 1733 1734 1735 1736 1737 1738 1739 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1731 class CodeSnippetResult < Struct.new( :code_snippet, :end_line, :finding_arn, :start_line, :suggested_fixes) SENSITIVE = [] include Aws::Structure end |
#finding_arn ⇒ String
The ARN of a finding that the code snippet is associated with.
1731 1732 1733 1734 1735 1736 1737 1738 1739 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1731 class CodeSnippetResult < Struct.new( :code_snippet, :end_line, :finding_arn, :start_line, :suggested_fixes) SENSITIVE = [] include Aws::Structure end |
#start_line ⇒ Integer
The line number of the first line of a code snippet.
1731 1732 1733 1734 1735 1736 1737 1738 1739 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1731 class CodeSnippetResult < Struct.new( :code_snippet, :end_line, :finding_arn, :start_line, :suggested_fixes) SENSITIVE = [] include Aws::Structure end |
#suggested_fixes ⇒ Array<Types::SuggestedFix>
Details of a suggested code fix.
1731 1732 1733 1734 1735 1736 1737 1738 1739 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1731 class CodeSnippetResult < Struct.new( :code_snippet, :end_line, :finding_arn, :start_line, :suggested_fixes) SENSITIVE = [] include Aws::Structure end |