awspec 0.46.0 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/doc/_resource_types/cloudtrail.md +10 -2
- data/doc/resource_types.md +16 -0
- data/lib/awspec/helper/finder/cloudtrail.rb +8 -0
- data/lib/awspec/stub/cloudtrail.rb +3 -0
- data/lib/awspec/type/cloudtrail.rb +4 -0
- data/lib/awspec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f75f06c93510af2f1a7f3931a5c63858d1bc47b6
|
4
|
+
data.tar.gz: f24d388ea583d2ae6357f4e1ec9ae447fe7e5258
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6bea348559eccdffee3c28ed315bd1efd7ca21dd7e2282704828ea7d6672f267cf6fe137a8cb019831030cae6fd899a277042f1b72aaac6f2266a104a86e7fc
|
7
|
+
data.tar.gz: 2683c4cd677e9022a2f26fa506a3bce06321bab15ec05cd9aac4d6354b87b6162b65b260bded05140b00306c511c4e090af6948f9948a7dfd8c5dc877ec03b84
|
@@ -6,11 +6,11 @@ describe cloudtrail('my-trail') do
|
|
6
6
|
end
|
7
7
|
```
|
8
8
|
|
9
|
-
###
|
9
|
+
### have_global_service_events_included
|
10
10
|
|
11
11
|
```ruby
|
12
12
|
describe cloudtrail('my-trail') do
|
13
|
-
it { should
|
13
|
+
it { should have_global_service_events_included }
|
14
14
|
end
|
15
15
|
```
|
16
16
|
|
@@ -29,3 +29,11 @@ describe cloudtrail('my-trail') do
|
|
29
29
|
it { should have_log_file_validation_enabled }
|
30
30
|
end
|
31
31
|
```
|
32
|
+
|
33
|
+
### be_logging
|
34
|
+
|
35
|
+
```ruby
|
36
|
+
describe cloudtrail('my-trail') do
|
37
|
+
it { should be_logging }
|
38
|
+
end
|
39
|
+
```
|
data/doc/resource_types.md
CHANGED
@@ -103,6 +103,14 @@ end
|
|
103
103
|
```
|
104
104
|
|
105
105
|
|
106
|
+
### be_logging
|
107
|
+
|
108
|
+
```ruby
|
109
|
+
describe cloudtrail('my-trail') do
|
110
|
+
it { should be_logging }
|
111
|
+
end
|
112
|
+
```
|
113
|
+
|
106
114
|
### be_multi_region_trail
|
107
115
|
|
108
116
|
```ruby
|
@@ -114,6 +122,13 @@ end
|
|
114
122
|
|
115
123
|
### have_global_service_events_included
|
116
124
|
|
125
|
+
```ruby
|
126
|
+
describe cloudtrail('my-trail') do
|
127
|
+
it { should have_global_service_events_included }
|
128
|
+
end
|
129
|
+
```
|
130
|
+
|
131
|
+
|
117
132
|
### have_log_file_validation_enabled
|
118
133
|
|
119
134
|
```ruby
|
@@ -122,6 +137,7 @@ describe cloudtrail('my-trail') do
|
|
122
137
|
end
|
123
138
|
```
|
124
139
|
|
140
|
+
|
125
141
|
### its(:name), its(:s3_bucket_name), its(:s3_key_prefix), its(:sns_topic_name), its(:include_global_service_events), its(:is_multi_region_trail), its(:home_region), its(:trail_arn), its(:log_file_validation_enabled), its(:cloud_watch_logs_log_group_arn), its(:cloud_watch_logs_role_arn), its(:kms_key_id)
|
126
142
|
## <a name="cloudwatch_alarm">cloudwatch_alarm</a>
|
127
143
|
|
data/lib/awspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.47.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- k1LoW
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|