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 your 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 started but doesn’t indicate whether it completed. You can check if the association completed using ListMembers for multiple accounts or GetMembers for a single account. An HTTP 402 response indicates the association failed because the organization size exceeded its limit. For information on limits, see Amazon Inspector quotas.
487 488 489 490 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 487 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.
543 544 545 546 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 543 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.
587 588 589 590 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 587 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.
640 641 642 643 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 640 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.
679 680 681 682 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 679 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.
720 721 722 723 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 720 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.
765 766 767 768 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 765 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.
793 794 795 796 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 793 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.
821 822 823 824 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 821 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.
896 897 898 899 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 896 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.
1235 1236 1237 1238 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1235 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.
1561 1562 1563 1564 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1561 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.
1654 1655 1656 1657 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1654 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.
1682 1683 1684 1685 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1682 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.
1710 1711 1712 1713 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1710 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.
1735 1736 1737 1738 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1735 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.
1786 1787 1788 1789 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1786 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.
1816 1817 1818 1819 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1816 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.
1846 1847 1848 1849 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1846 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.
1902 1903 1904 1905 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1902 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.
1939 1940 1941 1942 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1939 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.
1978 1979 1980 1981 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 1978 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.
2083 2084 2085 2086 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2083 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.
2108 2109 2110 2111 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2108 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.
2129 2130 2131 2132 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2129 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.
2157 2158 2159 2160 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2157 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.
2189 2190 2191 2192 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2189 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.
2369 2370 2371 2372 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2369 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.
2401 2402 2403 2404 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2401 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.
2468 2469 2470 2471 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2468 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.
2518 2519 2520 2521 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2518 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.
2608 2609 2610 2611 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2608 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.
2709 2710 2711 2712 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2709 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.
2831 2832 2833 2834 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2831 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.
2960 2961 2962 2963 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 2960 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 your environment.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3125 3126 3127 3128 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 3125 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.
3267 3268 3269 3270 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 3267 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.
3314 3315 3316 3317 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 3314 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.
3517 3518 3519 3520 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 3517 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.
3870 3871 3872 3873 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 3870 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.
4325 4326 4327 4328 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4325 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.
4379 4380 4381 4382 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4379 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.
4408 4409 4410 4411 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4408 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.
4462 4463 4464 4465 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4462 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.
4489 4490 4491 4492 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4489 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.
4562 4563 4564 4565 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4562 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.
4591 4592 4593 4594 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4591 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.
4630 4631 4632 4633 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4630 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.
4661 4662 4663 4664 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4661 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 stop a CIS scan session for the scan ID supplied by the service.
4714 4715 4716 4717 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4714 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.
4742 4743 4744 4745 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4742 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
4768 4769 4770 4771 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4768 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.
4841 4842 4843 4844 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4841 def update_cis_scan_configuration(params = {}, = {}) req = build_request(:update_cis_scan_configuration, params) req.send_request() end |
#update_configuration(params = {}) ⇒ Struct
Updates setting configurations for your Amazon Inspector account. When you use this API as an Amazon Inspector delegated administrator this updates the setting for all accounts you manage. Member accounts in an organization cannot update this setting.
4877 4878 4879 4880 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4877 def update_configuration(params = {}, = {}) req = build_request(:update_configuration, params) req.send_request() end |
#update_ec2_deep_inspection_configuration(params = {}) ⇒ Types::UpdateEc2DeepInspectionConfigurationResponse
Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.
4927 4928 4929 4930 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4927 def update_ec2_deep_inspection_configuration(params = {}, = {}) req = build_request(:update_ec2_deep_inspection_configuration, params) req.send_request() end |
#update_encryption_key(params = {}) ⇒ Struct
Updates an encryption key. A ResourceNotFoundException
means that an
Amazon Web Services owned key is being used for encryption.
4958 4959 4960 4961 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 4958 def update_encryption_key(params = {}, = {}) req = build_request(:update_encryption_key, params) req.send_request() end |
#update_filter(params = {}) ⇒ Types::UpdateFilterResponse
Specifies the action that is to be applied to the findings that match the filter.
5292 5293 5294 5295 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 5292 def update_filter(params = {}, = {}) req = build_request(:update_filter, params) req.send_request() end |
#update_org_ec2_deep_inspection_configuration(params = {}) ⇒ Struct
Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.
5317 5318 5319 5320 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 5317 def update_org_ec2_deep_inspection_configuration(params = {}, = {}) req = build_request(:update_org_ec2_deep_inspection_configuration, params) req.send_request() end |
#update_organization_configuration(params = {}) ⇒ Types::UpdateOrganizationConfigurationResponse
Updates the configurations for your Amazon Inspector organization.
5354 5355 5356 5357 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb', line 5354 def update_organization_configuration(params = {}, = {}) req = build_request(:update_organization_configuration, params) req.send_request() end |