Learn R Programming

paws.security.identity (version 0.1.0)

inspector: Amazon Inspector

Description

Amazon Inspector enables you to analyze the behavior of your AWS resources and to identify potential security issues. For more information, see Amazon Inspector User Guide.

Usage

inspector()

Arguments

Operations

add_attributes_to_findings Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings
create_assessment_target Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup
create_assessment_template Creates an assessment template for the assessment target that is specified by the ARN of the assessment target
create_exclusions_preview Starts the generation of an exclusions preview for the specified assessment template
create_resource_group Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Amazon Inspector assessment target
delete_assessment_run Deletes the assessment run that is specified by the ARN of the assessment run
delete_assessment_target Deletes the assessment target that is specified by the ARN of the assessment target
delete_assessment_template Deletes the assessment template that is specified by the ARN of the assessment template
describe_assessment_runs Describes the assessment runs that are specified by the ARNs of the assessment runs
describe_assessment_targets Describes the assessment targets that are specified by the ARNs of the assessment targets
describe_assessment_templates Describes the assessment templates that are specified by the ARNs of the assessment templates
describe_cross_account_access_role Describes the IAM role that enables Amazon Inspector to access your AWS account
describe_exclusions Describes the exclusions that are specified by the exclusions' ARNs
describe_findings Describes the findings that are specified by the ARNs of the findings
describe_resource_groups Describes the resource groups that are specified by the ARNs of the resource groups
describe_rules_packages Describes the rules packages that are specified by the ARNs of the rules packages
get_assessment_report Produces an assessment report that includes detailed and comprehensive results of a specified assessment run
get_exclusions_preview Retrieves the exclusions preview (a list of ExclusionPreview objects) specified by the preview token
get_telemetry_metadata Information about the data that is collected for the specified assessment run
list_assessment_run_agents Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs
list_assessment_runs Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates
list_assessment_targets Lists the ARNs of the assessment targets within this AWS account
list_assessment_templates Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets
list_event_subscriptions Lists all the event subscriptions for the assessment template that is specified by the ARN of the assessment template
list_exclusions List exclusions that are generated by the assessment run
list_findings Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs
list_rules_packages Lists all available Amazon Inspector rules packages
list_tags_for_resource Lists all tags associated with an assessment template
preview_agents Previews the agents installed on the EC2 instances that are part of the specified assessment target
register_cross_account_access_role Registers the IAM role that grants Amazon Inspector access to AWS Services needed to perform security assessments
remove_attributes_from_findings Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists
set_tags_for_resource Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template
start_assessment_run Starts the assessment run specified by the ARN of the assessment template
stop_assessment_run Stops the assessment run that is specified by the ARN of the assessment run
subscribe_to_event Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic
unsubscribe_from_event Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic

Examples

Run this code
# NOT RUN {
# Assigns attributes (key and value pairs) to the findings that are
# specified by the ARNs of the findings.
# }
# NOT RUN {
svc <- inspector()
svc$add_attributes_to_findings(
  attributes = list(
    list(
      key = "Example",
      value = "example"
    )
  ),
  findingArns = list(
    "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-8l1VIE0D/run/0-Z0..."
  )
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab