Class: Aws::SecurityIR::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::SecurityIR::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb
Overview
An API client for SecurityIR. To construct a client, you need to configure a :region and :credentials.
client = Aws::SecurityIR::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#batch_get_member_account_details(params = {}) ⇒ Types::BatchGetMemberAccountDetailsResponse
Provides information on whether the supplied account IDs are associated with a membership.
-
#cancel_membership(params = {}) ⇒ Types::CancelMembershipResponse
Cancels an existing membership.
-
#close_case(params = {}) ⇒ Types::CloseCaseResponse
Closes an existing case.
-
#create_case(params = {}) ⇒ Types::CreateCaseResponse
Creates a new case.
-
#create_case_comment(params = {}) ⇒ Types::CreateCaseCommentResponse
Adds a comment to an existing case.
-
#create_membership(params = {}) ⇒ Types::CreateMembershipResponse
Creates a new membership.
-
#get_case(params = {}) ⇒ Types::GetCaseResponse
Returns the attributes of a case.
-
#get_case_attachment_download_url(params = {}) ⇒ Types::GetCaseAttachmentDownloadUrlResponse
Returns a Pre-Signed URL for uploading attachments into a case.
-
#get_case_attachment_upload_url(params = {}) ⇒ Types::GetCaseAttachmentUploadUrlResponse
Uploads an attachment to a case.
-
#get_finding_metrics(params = {}) ⇒ Types::GetFindingMetricsResponse
Returns finding-lifecycle metrics for a membership over a date range.
-
#get_membership(params = {}) ⇒ Types::GetMembershipResponse
Returns the attributes of a membership.
-
#list_case_edits(params = {}) ⇒ Types::ListCaseEditsResponse
Views the case history for edits made to a designated case.
-
#list_cases(params = {}) ⇒ Types::ListCasesResponse
Lists all cases the requester has access to.
-
#list_comments(params = {}) ⇒ Types::ListCommentsResponse
Returns comments for a designated case.
-
#list_investigations(params = {}) ⇒ Types::ListInvestigationsResponse
Investigation performed by an agent for a security incident...
-
#list_memberships(params = {}) ⇒ Types::ListMembershipsResponse
Returns the memberships that the calling principal can access.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Returns currently configured tags on a resource.
-
#send_feedback(params = {}) ⇒ Struct
Send feedback based on response investigation action.
-
#tag_resource(params = {}) ⇒ Struct
Adds a tag(s) to a designated resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes a tag(s) from a designate resource.
-
#update_case(params = {}) ⇒ Struct
Updates an existing case.
-
#update_case_comment(params = {}) ⇒ Types::UpdateCaseCommentResponse
Updates an existing case comment.
-
#update_case_status(params = {}) ⇒ Types::UpdateCaseStatusResponse
Updates the state transitions for a designated cases.
-
#update_membership(params = {}) ⇒ Struct
Updates membership configuration.
-
#update_resolver_type(params = {}) ⇒ Types::UpdateResolverTypeResponse
Updates the resolver type for a case.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
478 479 480 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 478 def initialize(*args) super end |
Instance Method Details
#batch_get_member_account_details(params = {}) ⇒ Types::BatchGetMemberAccountDetailsResponse
Provides information on whether the supplied account IDs are associated with a membership.
123123123 which is nine digits,
and with zero-prepend would be 000123123123. Not zero-prepending to
12 digits could result in errors.
557 558 559 560 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 557 def batch_get_member_account_details(params = {}, = {}) req = build_request(:batch_get_member_account_details, params) req.send_request() end |
#cancel_membership(params = {}) ⇒ Types::CancelMembershipResponse
Cancels an existing membership.
598 599 600 601 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 598 def cancel_membership(params = {}, = {}) req = build_request(:cancel_membership, params) req.send_request() end |
#close_case(params = {}) ⇒ Types::CloseCaseResponse
Closes an existing case.
642 643 644 645 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 642 def close_case(params = {}, = {}) req = build_request(:close_case, params) req.send_request() end |
#create_case(params = {}) ⇒ Types::CreateCaseResponse
Creates a new case.
803 804 805 806 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 803 def create_case(params = {}, = {}) req = build_request(:create_case, params) req.send_request() end |
#create_case_comment(params = {}) ⇒ Types::CreateCaseCommentResponse
Adds a comment to an existing case.
863 864 865 866 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 863 def create_case_comment(params = {}, = {}) req = build_request(:create_case_comment, params) req.send_request() end |
#create_membership(params = {}) ⇒ Types::CreateMembershipResponse
Creates a new membership.
982 983 984 985 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 982 def create_membership(params = {}, = {}) req = build_request(:create_membership, params) req.send_request() end |
#get_case(params = {}) ⇒ Types::GetCaseResponse
Returns the attributes of a case.
1116 1117 1118 1119 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1116 def get_case(params = {}, = {}) req = build_request(:get_case, params) req.send_request() end |
#get_case_attachment_download_url(params = {}) ⇒ Types::GetCaseAttachmentDownloadUrlResponse
Returns a Pre-Signed URL for uploading attachments into a case.
1163 1164 1165 1166 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1163 def (params = {}, = {}) req = build_request(:get_case_attachment_download_url, params) req.send_request() end |
#get_case_attachment_upload_url(params = {}) ⇒ Types::GetCaseAttachmentUploadUrlResponse
Uploads an attachment to a case.
1229 1230 1231 1232 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1229 def (params = {}, = {}) req = build_request(:get_case_attachment_upload_url, params) req.send_request() end |
#get_finding_metrics(params = {}) ⇒ Types::GetFindingMetricsResponse
Returns finding-lifecycle metrics for a membership over a date range.
1309 1310 1311 1312 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1309 def get_finding_metrics(params = {}, = {}) req = build_request(:get_finding_metrics, params) req.send_request() end |
#get_membership(params = {}) ⇒ Types::GetMembershipResponse
Returns the attributes of a membership.
1410 1411 1412 1413 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1410 def get_membership(params = {}, = {}) req = build_request(:get_membership, params) req.send_request() end |
#list_case_edits(params = {}) ⇒ Types::ListCaseEditsResponse
Views the case history for edits made to a designated case.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1480 1481 1482 1483 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1480 def list_case_edits(params = {}, = {}) req = build_request(:list_case_edits, params) req.send_request() end |
#list_cases(params = {}) ⇒ Types::ListCasesResponse
Lists all cases the requester has access to.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1555 1556 1557 1558 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1555 def list_cases(params = {}, = {}) req = build_request(:list_cases, params) req.send_request() end |
#list_comments(params = {}) ⇒ Types::ListCommentsResponse
Returns comments for a designated case.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1623 1624 1625 1626 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1623 def list_comments(params = {}, = {}) req = build_request(:list_comments, params) req.send_request() end |
#list_investigations(params = {}) ⇒ Types::ListInvestigationsResponse
Investigation performed by an agent for a security incident...
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1701 1702 1703 1704 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1701 def list_investigations(params = {}, = {}) req = build_request(:list_investigations, params) req.send_request() end |
#list_memberships(params = {}) ⇒ Types::ListMembershipsResponse
Returns the memberships that the calling principal can access.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1764 1765 1766 1767 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1764 def list_memberships(params = {}, = {}) req = build_request(:list_memberships, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Returns currently configured tags on a resource.
1809 1810 1811 1812 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1809 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#send_feedback(params = {}) ⇒ Struct
Send feedback based on response investigation action
1870 1871 1872 1873 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1870 def send_feedback(params = {}, = {}) req = build_request(:send_feedback, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds a tag(s) to a designated resource.
1915 1916 1917 1918 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1915 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes a tag(s) from a designate resource.
1952 1953 1954 1955 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1952 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_case(params = {}) ⇒ Struct
Updates an existing case.
2167 2168 2169 2170 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 2167 def update_case(params = {}, = {}) req = build_request(:update_case, params) req.send_request() end |
#update_case_comment(params = {}) ⇒ Types::UpdateCaseCommentResponse
Updates an existing case comment.
2223 2224 2225 2226 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 2223 def update_case_comment(params = {}, = {}) req = build_request(:update_case_comment, params) req.send_request() end |
#update_case_status(params = {}) ⇒ Types::UpdateCaseStatusResponse
Updates the state transitions for a designated cases.
Self-managed: the following states are available for self-managed cases.
Submitted → Detection and Analysis
Detection and Analysis → Containment, Eradication, and Recovery
Detection and Analysis → Post-incident Activities
Containment, Eradication, and Recovery → Detection and Analysis
Containment, Eradication, and Recovery → Post-incident Activities
Post-incident Activities → Containment, Eradication, and Recovery
Post-incident Activities → Detection and Analysis
Any → Closed
AWS supported: You must use the CloseCase API to close.
2291 2292 2293 2294 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 2291 def update_case_status(params = {}, = {}) req = build_request(:update_case_status, params) req.send_request() end |
#update_membership(params = {}) ⇒ Struct
Updates membership configuration.
2398 2399 2400 2401 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 2398 def update_membership(params = {}, = {}) req = build_request(:update_membership, params) req.send_request() end |
#update_resolver_type(params = {}) ⇒ Types::UpdateResolverTypeResponse
Updates the resolver type for a case.
This is a one-way action and cannot be reversed.
2452 2453 2454 2455 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 2452 def update_resolver_type(params = {}, = {}) req = build_request(:update_resolver_type, params) req.send_request() end |