Class: Aws::Inspector2::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Inspector2::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb
Overview
An API client for Inspector2. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::Inspector2::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
-
#associate_member(params = {}) ⇒ Types::AssociateMemberResponse
Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.
-
#batch_get_account_status(params = {}) ⇒ Types::BatchGetAccountStatusResponse
Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
-
#batch_get_code_snippet(params = {}) ⇒ Types::BatchGetCodeSnippetResponse
Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.
-
#batch_get_finding_details(params = {}) ⇒ Types::BatchGetFindingDetailsResponse
Gets vulnerability details for findings.
-
#batch_get_free_trial_info(params = {}) ⇒ Types::BatchGetFreeTrialInfoResponse
Gets free trial status for multiple Amazon Web Services accounts.
-
#batch_get_member_ec2_deep_inspection_status(params = {}) ⇒ Types::BatchGetMemberEc2DeepInspectionStatusResponse
Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization.
-
#batch_update_member_ec2_deep_inspection_status(params = {}) ⇒ Types::BatchUpdateMemberEc2DeepInspectionStatusResponse
Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization.
-
#cancel_findings_report(params = {}) ⇒ Types::CancelFindingsReportResponse
Cancels the given findings report.
-
#cancel_sbom_export(params = {}) ⇒ Types::CancelSbomExportResponse
Cancels a software bill of materials (SBOM) report.
-
#create_cis_scan_configuration(params = {}) ⇒ Types::CreateCisScanConfigurationResponse
Creates a CIS scan configuration.
-
#create_filter(params = {}) ⇒ Types::CreateFilterResponse
Creates a filter resource using specified filter criteria.
-
#create_findings_report(params = {}) ⇒ Types::CreateFindingsReportResponse
Creates a finding report.
-
#create_sbom_export(params = {}) ⇒ Types::CreateSbomExportResponse
Creates a software bill of materials (SBOM) report.
-
#delete_cis_scan_configuration(params = {}) ⇒ Types::DeleteCisScanConfigurationResponse
Deletes a CIS scan configuration.
-
#delete_filter(params = {}) ⇒ Types::DeleteFilterResponse
Deletes a filter resource.
-
#describe_organization_configuration(params = {}) ⇒ Types::DescribeOrganizationConfigurationResponse
Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
-
#disable(params = {}) ⇒ Types::DisableResponse
Disables Amazon Inspector scans for one or more Amazon Web Services accounts.
-
#disable_delegated_admin_account(params = {}) ⇒ Types::DisableDelegatedAdminAccountResponse
Disables the Amazon Inspector delegated administrator for your organization.
-
#disassociate_member(params = {}) ⇒ Types::DisassociateMemberResponse
Disassociates a member account from an Amazon Inspector delegated administrator.
-
#enable(params = {}) ⇒ Types::EnableResponse
Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
-
#enable_delegated_admin_account(params = {}) ⇒ Types::EnableDelegatedAdminAccountResponse
Enables the Amazon Inspector delegated administrator for your Organizations organization.
-
#get_cis_scan_report(params = {}) ⇒ Types::GetCisScanReportResponse
Retrieves a CIS scan report.
-
#get_cis_scan_result_details(params = {}) ⇒ Types::GetCisScanResultDetailsResponse
Retrieves CIS scan result details.
-
#get_configuration(params = {}) ⇒ Types::GetConfigurationResponse
Retrieves setting configurations for Inspector scans.
-
#get_delegated_admin_account(params = {}) ⇒ Types::GetDelegatedAdminAccountResponse
Retrieves information about the Amazon Inspector delegated administrator for your organization.
-
#get_ec2_deep_inspection_configuration(params = {}) ⇒ Types::GetEc2DeepInspectionConfigurationResponse
Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.
-
#get_encryption_key(params = {}) ⇒ Types::GetEncryptionKeyResponse
Gets an encryption key.
-
#get_findings_report_status(params = {}) ⇒ Types::GetFindingsReportStatusResponse
Gets the status of a findings report.
-
#get_member(params = {}) ⇒ Types::GetMemberResponse
Gets member information for your organization.
-
#get_sbom_export(params = {}) ⇒ Types::GetSbomExportResponse
Gets details of a software bill of materials (SBOM) report.
-
#list_account_permissions(params = {}) ⇒ Types::ListAccountPermissionsResponse
Lists the permissions an account has to configure Amazon Inspector.
-
#list_cis_scan_configurations(params = {}) ⇒ Types::ListCisScanConfigurationsResponse
Lists CIS scan configurations.
-
#list_cis_scan_results_aggregated_by_checks(params = {}) ⇒ Types::ListCisScanResultsAggregatedByChecksResponse
Lists scan results aggregated by checks.
-
#list_cis_scan_results_aggregated_by_target_resource(params = {}) ⇒ Types::ListCisScanResultsAggregatedByTargetResourceResponse
Lists scan results aggregated by a target resource.
-
#list_cis_scans(params = {}) ⇒ Types::ListCisScansResponse
Returns a CIS scan list.
-
#list_coverage(params = {}) ⇒ Types::ListCoverageResponse
Lists coverage details for you environment.
-
#list_coverage_statistics(params = {}) ⇒ Types::ListCoverageStatisticsResponse
Lists Amazon Inspector coverage statistics for your environment.
-
#list_delegated_admin_accounts(params = {}) ⇒ Types::ListDelegatedAdminAccountsResponse
Lists information about the Amazon Inspector delegated administrator of your organization.
-
#list_filters(params = {}) ⇒ Types::ListFiltersResponse
Lists the filters associated with your account.
-
#list_finding_aggregations(params = {}) ⇒ Types::ListFindingAggregationsResponse
Lists aggregated finding data for your environment based on specific criteria.
-
#list_findings(params = {}) ⇒ Types::ListFindingsResponse
Lists findings for your environment.
-
#list_members(params = {}) ⇒ Types::ListMembersResponse
List members associated with the Amazon Inspector delegated administrator for your organization.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists all tags attached to a given resource.
-
#list_usage_totals(params = {}) ⇒ Types::ListUsageTotalsResponse
Lists the Amazon Inspector usage totals over the last 30 days.
-
#reset_encryption_key(params = {}) ⇒ Struct
Resets an encryption key.
-
#search_vulnerabilities(params = {}) ⇒ Types::SearchVulnerabilitiesResponse
Lists Amazon Inspector coverage details for a specific vulnerability.
-
#send_cis_session_health(params = {}) ⇒ Struct
Sends a CIS session health.
-
#send_cis_session_telemetry(params = {}) ⇒ Struct
Sends a CIS session telemetry.
-
#start_cis_session(params = {}) ⇒ Struct
Starts a CIS session.
-
#stop_cis_session(params = {}) ⇒ Struct
Stops a CIS session.
-
#tag_resource(params = {}) ⇒ Struct
Adds tags to a resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
-
#update_cis_scan_configuration(params = {}) ⇒ Types::UpdateCisScanConfigurationResponse
Updates a CIS scan configuration.
-
#update_configuration(params = {}) ⇒ Struct
Updates setting configurations for your Amazon Inspector account.
-
#update_ec2_deep_inspection_configuration(params = {}) ⇒ Types::UpdateEc2DeepInspectionConfigurationResponse
Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.
-
#update_encryption_key(params = {}) ⇒ Struct
Updates an encryption key.
-
#update_filter(params = {}) ⇒ Types::UpdateFilterResponse
Specifies the action that is to be applied to the findings that match the filter.
-
#update_org_ec2_deep_inspection_configuration(params = {}) ⇒ Struct
Updates the Amazon Inspector deep inspection custom paths for your organization.
-
#update_organization_configuration(params = {}) ⇒ Types::UpdateOrganizationConfigurationResponse
Updates the configurations for your Amazon Inspector organization.
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.
444 445 446 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 444 def initialize(*args) super end |
Instance Method Details
#associate_member(params = {}) ⇒ Types::AssociateMemberResponse
Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response indicates the association was successfully started, but doesn’t indicate whether it was completed. You can check if the association completed by using ListMembers for multiple accounts or GetMembers for a single account.
484 485 486 487 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 484 def associate_member(params = {}, = {}) req = build_request(:associate_member, params) req.send_request() end |
#batch_get_account_status(params = {}) ⇒ Types::BatchGetAccountStatusResponse
Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
540 541 542 543 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 540 def batch_get_account_status(params = {}, = {}) req = build_request(:batch_get_account_status, params) req.send_request() end |
#batch_get_code_snippet(params = {}) ⇒ Types::BatchGetCodeSnippetResponse
Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.
584 585 586 587 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 584 def batch_get_code_snippet(params = {}, = {}) req = build_request(:batch_get_code_snippet, params) req.send_request() end |
#batch_get_finding_details(params = {}) ⇒ Types::BatchGetFindingDetailsResponse
Gets vulnerability details for findings.
637 638 639 640 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 637 def batch_get_finding_details(params = {}, = {}) req = build_request(:batch_get_finding_details, params) req.send_request() end |
#batch_get_free_trial_info(params = {}) ⇒ Types::BatchGetFreeTrialInfoResponse
Gets free trial status for multiple Amazon Web Services accounts.
676 677 678 679 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 676 def batch_get_free_trial_info(params = {}, = {}) req = build_request(:batch_get_free_trial_info, params) req.send_request() end |
#batch_get_member_ec2_deep_inspection_status(params = {}) ⇒ Types::BatchGetMemberEc2DeepInspectionStatusResponse
Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.
717 718 719 720 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 717 def batch_get_member_ec2_deep_inspection_status(params = {}, = {}) req = build_request(:batch_get_member_ec2_deep_inspection_status, params) req.send_request() end |
#batch_update_member_ec2_deep_inspection_status(params = {}) ⇒ Types::BatchUpdateMemberEc2DeepInspectionStatusResponse
Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.
762 763 764 765 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 762 def batch_update_member_ec2_deep_inspection_status(params = {}, = {}) req = build_request(:batch_update_member_ec2_deep_inspection_status, params) req.send_request() end |
#cancel_findings_report(params = {}) ⇒ Types::CancelFindingsReportResponse
Cancels the given findings report.
790 791 792 793 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 790 def cancel_findings_report(params = {}, = {}) req = build_request(:cancel_findings_report, params) req.send_request() end |
#cancel_sbom_export(params = {}) ⇒ Types::CancelSbomExportResponse
Cancels a software bill of materials (SBOM) report.
818 819 820 821 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 818 def cancel_sbom_export(params = {}, = {}) req = build_request(:cancel_sbom_export, params) req.send_request() end |
#create_cis_scan_configuration(params = {}) ⇒ Types::CreateCisScanConfigurationResponse
Creates a CIS scan configuration.
893 894 895 896 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 893 def create_cis_scan_configuration(params = {}, = {}) req = build_request(:create_cis_scan_configuration, params) req.send_request() end |
#create_filter(params = {}) ⇒ Types::CreateFilterResponse
Creates a filter resource using specified filter criteria. When the
filter action is set to SUPPRESS
this action creates a suppression
rule.
1228 1229 1230 1231 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1228 def create_filter(params = {}, = {}) req = build_request(:create_filter, params) req.send_request() end |
#create_findings_report(params = {}) ⇒ Types::CreateFindingsReportResponse
Creates a finding report. By default only ACTIVE
findings are
returned in the report. To see SUPRESSED
or CLOSED
findings you
must specify a value for the findingStatus
filter criteria.
1550 1551 1552 1553 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1550 def create_findings_report(params = {}, = {}) req = build_request(:create_findings_report, params) req.send_request() end |
#create_sbom_export(params = {}) ⇒ Types::CreateSbomExportResponse
Creates a software bill of materials (SBOM) report.
1643 1644 1645 1646 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1643 def create_sbom_export(params = {}, = {}) req = build_request(:create_sbom_export, params) req.send_request() end |
#delete_cis_scan_configuration(params = {}) ⇒ Types::DeleteCisScanConfigurationResponse
Deletes a CIS scan configuration.
1671 1672 1673 1674 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1671 def delete_cis_scan_configuration(params = {}, = {}) req = build_request(:delete_cis_scan_configuration, params) req.send_request() end |
#delete_filter(params = {}) ⇒ Types::DeleteFilterResponse
Deletes a filter resource.
1699 1700 1701 1702 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1699 def delete_filter(params = {}, = {}) req = build_request(:delete_filter, params) req.send_request() end |
#describe_organization_configuration(params = {}) ⇒ Types::DescribeOrganizationConfigurationResponse
Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
1724 1725 1726 1727 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1724 def describe_organization_configuration(params = {}, = {}) req = build_request(:describe_organization_configuration, params) req.send_request() end |
#disable(params = {}) ⇒ Types::DisableResponse
Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an account disables the Amazon Inspector service.
1775 1776 1777 1778 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1775 def disable(params = {}, = {}) req = build_request(:disable, params) req.send_request() end |
#disable_delegated_admin_account(params = {}) ⇒ Types::DisableDelegatedAdminAccountResponse
Disables the Amazon Inspector delegated administrator for your organization.
1805 1806 1807 1808 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1805 def disable_delegated_admin_account(params = {}, = {}) req = build_request(:disable_delegated_admin_account, params) req.send_request() end |
#disassociate_member(params = {}) ⇒ Types::DisassociateMemberResponse
Disassociates a member account from an Amazon Inspector delegated administrator.
1835 1836 1837 1838 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1835 def disassociate_member(params = {}, = {}) req = build_request(:disassociate_member, params) req.send_request() end |
#enable(params = {}) ⇒ Types::EnableResponse
Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
1891 1892 1893 1894 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1891 def enable(params = {}, = {}) req = build_request(:enable, params) req.send_request() end |
#enable_delegated_admin_account(params = {}) ⇒ Types::EnableDelegatedAdminAccountResponse
Enables the Amazon Inspector delegated administrator for your Organizations organization.
1928 1929 1930 1931 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1928 def enable_delegated_admin_account(params = {}, = {}) req = build_request(:enable_delegated_admin_account, params) req.send_request() end |
#get_cis_scan_report(params = {}) ⇒ Types::GetCisScanReportResponse
Retrieves a CIS scan report.
1967 1968 1969 1970 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1967 def get_cis_scan_report(params = {}, = {}) req = build_request(:get_cis_scan_report, params) req.send_request() end |
#get_cis_scan_result_details(params = {}) ⇒ Types::GetCisScanResultDetailsResponse
Retrieves CIS scan result details.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2072 2073 2074 2075 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2072 def get_cis_scan_result_details(params = {}, = {}) req = build_request(:get_cis_scan_result_details, params) req.send_request() end |
#get_configuration(params = {}) ⇒ Types::GetConfigurationResponse
Retrieves setting configurations for Inspector scans.
2097 2098 2099 2100 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2097 def get_configuration(params = {}, = {}) req = build_request(:get_configuration, params) req.send_request() end |
#get_delegated_admin_account(params = {}) ⇒ Types::GetDelegatedAdminAccountResponse
Retrieves information about the Amazon Inspector delegated administrator for your organization.
2118 2119 2120 2121 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2118 def get_delegated_admin_account(params = {}, = {}) req = build_request(:get_delegated_admin_account, params) req.send_request() end |
#get_ec2_deep_inspection_configuration(params = {}) ⇒ Types::GetEc2DeepInspectionConfigurationResponse
Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.
2146 2147 2148 2149 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2146 def get_ec2_deep_inspection_configuration(params = {}, = {}) req = build_request(:get_ec2_deep_inspection_configuration, params) req.send_request() end |
#get_encryption_key(params = {}) ⇒ Types::GetEncryptionKeyResponse
Gets an encryption key.
2178 2179 2180 2181 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2178 def get_encryption_key(params = {}, = {}) req = build_request(:get_encryption_key, params) req.send_request() end |
#get_findings_report_status(params = {}) ⇒ Types::GetFindingsReportStatusResponse
Gets the status of a findings report.
2356 2357 2358 2359 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2356 def get_findings_report_status(params = {}, = {}) req = build_request(:get_findings_report_status, params) req.send_request() end |
#get_member(params = {}) ⇒ Types::GetMemberResponse
Gets member information for your organization.
2388 2389 2390 2391 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2388 def get_member(params = {}, = {}) req = build_request(:get_member, params) req.send_request() end |
#get_sbom_export(params = {}) ⇒ Types::GetSbomExportResponse
Gets details of a software bill of materials (SBOM) report.
2455 2456 2457 2458 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2455 def get_sbom_export(params = {}, = {}) req = build_request(:get_sbom_export, params) req.send_request() end |
#list_account_permissions(params = {}) ⇒ Types::ListAccountPermissionsResponse
Lists the permissions an account has to configure Amazon Inspector.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2505 2506 2507 2508 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2505 def (params = {}, = {}) req = build_request(:list_account_permissions, params) req.send_request() end |
#list_cis_scan_configurations(params = {}) ⇒ Types::ListCisScanConfigurationsResponse
Lists CIS scan configurations.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2595 2596 2597 2598 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2595 def list_cis_scan_configurations(params = {}, = {}) req = build_request(:list_cis_scan_configurations, params) req.send_request() end |
#list_cis_scan_results_aggregated_by_checks(params = {}) ⇒ Types::ListCisScanResultsAggregatedByChecksResponse
Lists scan results aggregated by checks.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2696 2697 2698 2699 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2696 def list_cis_scan_results_aggregated_by_checks(params = {}, = {}) req = build_request(:list_cis_scan_results_aggregated_by_checks, params) req.send_request() end |
#list_cis_scan_results_aggregated_by_target_resource(params = {}) ⇒ Types::ListCisScanResultsAggregatedByTargetResourceResponse
Lists scan results aggregated by a target resource.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2818 2819 2820 2821 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2818 def list_cis_scan_results_aggregated_by_target_resource(params = {}, = {}) req = build_request(:list_cis_scan_results_aggregated_by_target_resource, params) req.send_request() end |
#list_cis_scans(params = {}) ⇒ Types::ListCisScansResponse
Returns a CIS scan list.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2947 2948 2949 2950 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2947 def list_cis_scans(params = {}, = {}) req = build_request(:list_cis_scans, params) req.send_request() end |
#list_coverage(params = {}) ⇒ Types::ListCoverageResponse
Lists coverage details for you environment.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3112 3113 3114 3115 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 3112 def list_coverage(params = {}, = {}) req = build_request(:list_coverage, params) req.send_request() end |
#list_coverage_statistics(params = {}) ⇒ Types::ListCoverageStatisticsResponse
Lists Amazon Inspector coverage statistics for your environment.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3254 3255 3256 3257 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 3254 def list_coverage_statistics(params = {}, = {}) req = build_request(:list_coverage_statistics, params) req.send_request() end |
#list_delegated_admin_accounts(params = {}) ⇒ Types::ListDelegatedAdminAccountsResponse
Lists information about the Amazon Inspector delegated administrator of your organization.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3301 3302 3303 3304 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 3301 def list_delegated_admin_accounts(params = {}, = {}) req = build_request(:list_delegated_admin_accounts, params) req.send_request() end |
#list_filters(params = {}) ⇒ Types::ListFiltersResponse
Lists the filters associated with your account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3502 3503 3504 3505 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 3502 def list_filters(params = {}, = {}) req = build_request(:list_filters, params) req.send_request() end |
#list_finding_aggregations(params = {}) ⇒ Types::ListFindingAggregationsResponse
Lists aggregated finding data for your environment based on specific criteria.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3855 3856 3857 3858 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 3855 def list_finding_aggregations(params = {}, = {}) req = build_request(:list_finding_aggregations, params) req.send_request() end |
#list_findings(params = {}) ⇒ Types::ListFindingsResponse
Lists findings for your environment.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4306 4307 4308 4309 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4306 def list_findings(params = {}, = {}) req = build_request(:list_findings, params) req.send_request() end |
#list_members(params = {}) ⇒ Types::ListMembersResponse
List members associated with the Amazon Inspector delegated administrator for your organization.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4360 4361 4362 4363 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4360 def list_members(params = {}, = {}) req = build_request(:list_members, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists all tags attached to a given resource.
4389 4390 4391 4392 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4389 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_usage_totals(params = {}) ⇒ Types::ListUsageTotalsResponse
Lists the Amazon Inspector usage totals over the last 30 days.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4443 4444 4445 4446 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4443 def list_usage_totals(params = {}, = {}) req = build_request(:list_usage_totals, params) req.send_request() end |
#reset_encryption_key(params = {}) ⇒ Struct
Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key.
4470 4471 4472 4473 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4470 def reset_encryption_key(params = {}, = {}) req = build_request(:reset_encryption_key, params) req.send_request() end |
#search_vulnerabilities(params = {}) ⇒ Types::SearchVulnerabilitiesResponse
Lists Amazon Inspector coverage details for a specific vulnerability.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4543 4544 4545 4546 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4543 def search_vulnerabilities(params = {}, = {}) req = build_request(:search_vulnerabilities, params) req.send_request() end |
#send_cis_session_health(params = {}) ⇒ Struct
Sends a CIS session health. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
4572 4573 4574 4575 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4572 def send_cis_session_health(params = {}, = {}) req = build_request(:send_cis_session_health, params) req.send_request() end |
#send_cis_session_telemetry(params = {}) ⇒ Struct
Sends a CIS session telemetry. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
4611 4612 4613 4614 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4611 def send_cis_session_telemetry(params = {}, = {}) req = build_request(:send_cis_session_telemetry, params) req.send_request() end |
#start_cis_session(params = {}) ⇒ Struct
Starts a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
4642 4643 4644 4645 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4642 def start_cis_session(params = {}, = {}) req = build_request(:start_cis_session, params) req.send_request() end |
#stop_cis_session(params = {}) ⇒ Struct
Stops a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
4695 4696 4697 4698 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4695 def stop_cis_session(params = {}, = {}) req = build_request(:stop_cis_session, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds tags to a resource.
4723 4724 4725 4726 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4723 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
4749 4750 4751 4752 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4749 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_cis_scan_configuration(params = {}) ⇒ Types::UpdateCisScanConfigurationResponse
Updates a CIS scan configuration.
4822 4823 4824 4825 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk- |