aws-sdk-inspector 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-inspector.rb +1 -1
- data/lib/aws-sdk-inspector/client.rb +20 -10
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f920957b9d7d482a40265b0cf19348092ffe3e5
|
4
|
+
data.tar.gz: 53f9d6ba62fadab65e69f38304ed3f98002434ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d03889df7469e9fd54db3505f078859c7afcd1030297686f15785790fd2b9e47e20cb566cb247a1bbc77498e41935ffca725e9a0b39f71e32f469c62018354ca
|
7
|
+
data.tar.gz: 98f572cecca60bdba97ab69fd666b2bba3081ed98059de5931d9bd611510f22606c922c95dc370c9ca20ac1422fca88eaa8721e8e64bfb8b1f5fe0a47b572621
|
data/lib/aws-sdk-inspector.rb
CHANGED
@@ -244,7 +244,8 @@ module Aws::Inspector
|
|
244
244
|
#
|
245
245
|
# @example Example: Create assessment target
|
246
246
|
#
|
247
|
-
# # Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup. You can
|
247
|
+
# # Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup. You can
|
248
|
+
# # create up to 50 assessment targets per AWS account. You can run up to 500 concurrent agents per AWS account.
|
248
249
|
#
|
249
250
|
# resp = client.create_assessment_target({
|
250
251
|
# assessment_target_name: "ExampleAssessmentTarget",
|
@@ -380,7 +381,9 @@ module Aws::Inspector
|
|
380
381
|
#
|
381
382
|
# @example Example: Create resource group
|
382
383
|
#
|
383
|
-
# # Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances
|
384
|
+
# # Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances
|
385
|
+
# # to be included in an Amazon Inspector assessment target. The created resource group is then used to create an Amazon
|
386
|
+
# # Inspector assessment target.
|
384
387
|
#
|
385
388
|
# resp = client.create_resource_group({
|
386
389
|
# resource_group_tags: [
|
@@ -1597,7 +1600,8 @@ module Aws::Inspector
|
|
1597
1600
|
#
|
1598
1601
|
# @example Example: List assessment runs
|
1599
1602
|
#
|
1600
|
-
# # Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment
|
1603
|
+
# # Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment
|
1604
|
+
# # templates.
|
1601
1605
|
#
|
1602
1606
|
# resp = client.list_assessment_runs({
|
1603
1607
|
# assessment_template_arns: [
|
@@ -1769,7 +1773,8 @@ module Aws::Inspector
|
|
1769
1773
|
#
|
1770
1774
|
# @example Example: List assessment templates
|
1771
1775
|
#
|
1772
|
-
# # Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the
|
1776
|
+
# # Lists the assessment templates that correspond to the assessment targets that are specified by the ARNs of the
|
1777
|
+
# # assessment targets.
|
1773
1778
|
#
|
1774
1779
|
# resp = client.list_assessment_templates({
|
1775
1780
|
# assessment_target_arns: [
|
@@ -2188,7 +2193,8 @@ module Aws::Inspector
|
|
2188
2193
|
#
|
2189
2194
|
# @example Example: Register cross account access role
|
2190
2195
|
#
|
2191
|
-
# # Registers the IAM role that Amazon Inspector uses to list your EC2 instances at the start of the assessment run or when
|
2196
|
+
# # Registers the IAM role that Amazon Inspector uses to list your EC2 instances at the start of the assessment run or when
|
2197
|
+
# # you call the PreviewAgents action.
|
2192
2198
|
#
|
2193
2199
|
# resp = client.register_cross_account_access_role({
|
2194
2200
|
# role_arn: "arn:aws:iam::123456789012:role/inspector",
|
@@ -2228,7 +2234,8 @@ module Aws::Inspector
|
|
2228
2234
|
#
|
2229
2235
|
# @example Example: Remove attributes from findings
|
2230
2236
|
#
|
2231
|
-
# # Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where
|
2237
|
+
# # Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where
|
2238
|
+
# # an attribute with the specified key exists.
|
2232
2239
|
#
|
2233
2240
|
# resp = client.remove_attributes_from_findings({
|
2234
2241
|
# attribute_keys: [
|
@@ -2335,7 +2342,8 @@ module Aws::Inspector
|
|
2335
2342
|
#
|
2336
2343
|
# @example Example: Start assessment run
|
2337
2344
|
#
|
2338
|
-
# # Starts the assessment run specified by the ARN of the assessment template. For this API to function properly, you must
|
2345
|
+
# # Starts the assessment run specified by the ARN of the assessment template. For this API to function properly, you must
|
2346
|
+
# # not exceed the limit of running up to 500 concurrent agents per AWS account.
|
2339
2347
|
#
|
2340
2348
|
# resp = client.start_assessment_run({
|
2341
2349
|
# assessment_run_name: "examplerun",
|
@@ -2425,7 +2433,8 @@ module Aws::Inspector
|
|
2425
2433
|
#
|
2426
2434
|
# @example Example: Subscribe to event
|
2427
2435
|
#
|
2428
|
-
# # Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a
|
2436
|
+
# # Enables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a
|
2437
|
+
# # specified SNS topic.
|
2429
2438
|
#
|
2430
2439
|
# resp = client.subscribe_to_event({
|
2431
2440
|
# event: "ASSESSMENT_RUN_COMPLETED",
|
@@ -2468,7 +2477,8 @@ module Aws::Inspector
|
|
2468
2477
|
#
|
2469
2478
|
# @example Example: Unsubscribe from event
|
2470
2479
|
#
|
2471
|
-
# # Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a
|
2480
|
+
# # Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a
|
2481
|
+
# # specified SNS topic.
|
2472
2482
|
#
|
2473
2483
|
# resp = client.unsubscribe_from_event({
|
2474
2484
|
# event: "ASSESSMENT_RUN_COMPLETED",
|
@@ -2549,7 +2559,7 @@ module Aws::Inspector
|
|
2549
2559
|
params: params,
|
2550
2560
|
config: config)
|
2551
2561
|
context[:gem_name] = 'aws-sdk-inspector'
|
2552
|
-
context[:gem_version] = '1.
|
2562
|
+
context[:gem_version] = '1.1.0'
|
2553
2563
|
Seahorse::Client::Request.new(handlers, context)
|
2554
2564
|
end
|
2555
2565
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-inspector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -56,7 +56,9 @@ files:
|
|
56
56
|
homepage: http://github.com/aws/aws-sdk-ruby
|
57
57
|
licenses:
|
58
58
|
- Apache-2.0
|
59
|
-
metadata:
|
59
|
+
metadata:
|
60
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-inspector
|
61
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-inspector/CHANGELOG.md
|
60
62
|
post_install_message:
|
61
63
|
rdoc_options: []
|
62
64
|
require_paths:
|