esp_sdk 2.5.0 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.yardopts +1 -0
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +5 -3
- data/Guardfile +3 -1
- data/esp_sdk.gemspec +2 -1
- data/lib/esp/aws_clients.rb +2 -1
- data/lib/esp/commands/commands_tasks.rb +2 -1
- data/lib/esp/commands/console.rb +4 -0
- data/lib/esp/exceptions.rb +1 -0
- data/lib/esp/extensions/active_resource/dirty.rb +51 -0
- data/lib/esp/extensions/active_resource/formats/json_api_format.rb +5 -3
- data/lib/esp/extensions/active_resource/paginated_collection.rb +71 -38
- data/lib/esp/extensions/active_resource/validations.rb +4 -2
- data/lib/esp/external_account_creator.rb +4 -1
- data/lib/esp/resources/alert.rb +53 -42
- data/lib/esp/resources/cloud_trail_event.rb +18 -12
- data/lib/esp/resources/concerns/stat_totals.rb +70 -67
- data/lib/esp/resources/contact_request.rb +17 -14
- data/lib/esp/resources/custom_signature/definition.rb +46 -51
- data/lib/esp/resources/custom_signature/result/alert.rb +13 -5
- data/lib/esp/resources/custom_signature/result.rb +49 -53
- data/lib/esp/resources/custom_signature.rb +52 -61
- data/lib/esp/resources/dashboard.rb +11 -5
- data/lib/esp/resources/external_account.rb +59 -58
- data/lib/esp/resources/metadata.rb +21 -11
- data/lib/esp/resources/organization.rb +49 -39
- data/lib/esp/resources/region.rb +25 -28
- data/lib/esp/resources/report.rb +46 -44
- data/lib/esp/resources/reports/export/integration.rb +22 -13
- data/lib/esp/resources/resource.rb +4 -3
- data/lib/esp/resources/scan_interval.rb +19 -13
- data/lib/esp/resources/service.rb +17 -11
- data/lib/esp/resources/signature.rb +43 -53
- data/lib/esp/resources/stat.rb +72 -55
- data/lib/esp/resources/stat_custom_signature.rb +73 -65
- data/lib/esp/resources/stat_region.rb +76 -65
- data/lib/esp/resources/stat_service.rb +76 -65
- data/lib/esp/resources/stat_signature.rb +76 -65
- data/lib/esp/resources/sub_organization.rb +51 -60
- data/lib/esp/resources/suppression/region.rb +35 -30
- data/lib/esp/resources/suppression/signature.rb +35 -29
- data/lib/esp/resources/suppression/unique_identifier.rb +27 -22
- data/lib/esp/resources/suppression.rb +45 -34
- data/lib/esp/resources/tag.rb +20 -11
- data/lib/esp/resources/team.rb +56 -58
- data/lib/esp/resources/user.rb +35 -32
- data/lib/esp/version.rb +1 -1
- data/lib/esp.rb +39 -16
- data/lib/esp_sdk.rb +1 -0
- data/test/esp/extensions/active_resource/dirty_test.rb +81 -0
- data/test/esp/extensions/active_resource/formats/json_api_format_test.rb +8 -0
- data/test/esp/extensions/active_resource/paginated_collection_test.rb +7 -0
- data/test/esp/integration/json_api_format_integration_test.rb +5 -2
- data/test/esp/integration/organization_integration_test.rb +1 -1
- data/test/esp/resources/custom_signature_test.rb +15 -0
- data/test/factories/custom_signatures.rb +0 -10
- metadata +21 -3
@@ -2,33 +2,33 @@ module ESP
|
|
2
2
|
class StatRegion < ESP::Resource
|
3
3
|
include ESP::StatTotals
|
4
4
|
|
5
|
-
##
|
6
5
|
# The region these stats are for.
|
6
|
+
#
|
7
|
+
# @return [ESP::Region]
|
7
8
|
belongs_to :region, class_name: 'ESP::Region'
|
8
9
|
|
9
10
|
# Not Implemented. You cannot search for a StatSignature.
|
11
|
+
#
|
12
|
+
# @return [void]
|
10
13
|
def self.where(*)
|
11
14
|
fail ESP::NotImplementedError
|
12
15
|
end
|
13
16
|
|
14
17
|
# Returns a paginated collection of region stats for the given stat_id
|
15
|
-
# Convenience method to use instead of
|
16
|
-
#
|
17
|
-
# ==== Parameter
|
18
|
-
#
|
19
|
-
# +stat_id+ | Required | The ID of the stat to list region stats for
|
20
|
-
#
|
21
|
-
# +options+ | Optional | A hash of options
|
22
|
-
#
|
23
|
-
# ===== Valid Options
|
18
|
+
# Convenience method to use instead of {.find} since a stat_id is required to return region stats.
|
24
19
|
#
|
25
|
-
#
|
20
|
+
# @param stat_id [Integer, Numeric] Required ID of the stat to list region stats for.
|
21
|
+
# @param options [Hash] Optional hash of options.
|
22
|
+
# ===== Valid Options
|
26
23
|
#
|
27
|
-
#
|
24
|
+
# +include+ | The list of associated objects to return on the initial request.
|
28
25
|
#
|
29
|
-
#
|
26
|
+
# ===== valid Includable Associations
|
30
27
|
#
|
31
|
-
#
|
28
|
+
# See {API documentation}[http://api-docs.evident.io?ruby#stat-region-attributes] for valid arguments
|
29
|
+
# @return [ActiveResource::PaginatedCollection<ESP::StatRegion>]
|
30
|
+
# @raise [ArgumentError] if no +stat_id+ is supplied.
|
31
|
+
# @example
|
32
32
|
# stats = ESP::StatRegion.for_stat(1194)
|
33
33
|
def self.for_stat(stat_id = nil, options = {}) # rubocop:disable Style/OptionHash
|
34
34
|
fail ArgumentError, "You must supply a stat id." unless stat_id.present?
|
@@ -38,22 +38,27 @@ module ESP
|
|
38
38
|
|
39
39
|
# Find a StatRegion by id
|
40
40
|
#
|
41
|
-
#
|
41
|
+
# *call-seq* -> +super.find(id, options = {})+
|
42
42
|
#
|
43
|
-
#
|
43
|
+
# @overload find(id)
|
44
|
+
# @param id [Integer, Numeric] Required ID of the region stat to retrieve.
|
45
|
+
# @overload find(id, options)
|
46
|
+
# @param id [Integer, Numeric] Required ID of the region stat to retrieve.
|
47
|
+
# @param options [Hash] Optional hash of options.
|
48
|
+
# ===== Valid Options
|
44
49
|
#
|
45
|
-
#
|
50
|
+
# +include+ | The list of associated objects to return on the initial request.
|
46
51
|
#
|
47
|
-
#
|
52
|
+
# ===== valid Includable Associations
|
48
53
|
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
54
|
+
# See {API documentation}[http://api-docs.evident.io?ruby#stat-region-attributes] for valid arguments
|
55
|
+
# @overload find(scope, options)
|
56
|
+
# *call-seq* -> +super.all(options)+
|
57
|
+
# @api private
|
58
|
+
# @param scope [Object] *Example:* +:all+
|
59
|
+
# @param options [Hash] +params: { stat_id: Integer }+
|
60
|
+
# @raise [ArgumentError] if no +stat_id+ is supplied.
|
61
|
+
# @return [ESP::StatRegion]
|
57
62
|
def self.find(*arguments)
|
58
63
|
scope = arguments.slice!(0)
|
59
64
|
options = (arguments.slice!(0) || {}).with_indifferent_access
|
@@ -63,85 +68,91 @@ module ESP
|
|
63
68
|
for_stat(stat_id)
|
64
69
|
end
|
65
70
|
|
66
|
-
#
|
71
|
+
# @!method self.create
|
67
72
|
# Not Implemented. You cannot create a Stat.
|
73
|
+
#
|
74
|
+
# @return [void]
|
68
75
|
|
69
|
-
#
|
76
|
+
# @!method save
|
70
77
|
# Not Implemented. You cannot create or update a Stat.
|
78
|
+
#
|
79
|
+
# @return [void]
|
71
80
|
|
72
|
-
#
|
81
|
+
# @!method destroy
|
73
82
|
# Not Implemented. You cannot delete a Stat.
|
83
|
+
#
|
84
|
+
# @return [void]
|
74
85
|
|
75
|
-
#
|
86
|
+
# @!group 'total' rollup methods
|
76
87
|
|
77
|
-
#
|
88
|
+
# @!method total
|
78
89
|
|
79
|
-
#
|
90
|
+
# @!method total_pass
|
80
91
|
|
81
|
-
#
|
92
|
+
# @!method total_fail
|
82
93
|
|
83
|
-
#
|
94
|
+
# @!method total_warn
|
84
95
|
|
85
|
-
#
|
96
|
+
# @!method total_error
|
86
97
|
|
87
|
-
#
|
98
|
+
# @!method total_info
|
88
99
|
|
89
|
-
#
|
100
|
+
# @!method total_new_1h_pass
|
90
101
|
|
91
|
-
#
|
102
|
+
# @!method total_new_1h_fail
|
92
103
|
|
93
|
-
#
|
104
|
+
# @!method total_new_1h_warn
|
94
105
|
|
95
|
-
#
|
106
|
+
# @!method total_new_1h_error
|
96
107
|
|
97
|
-
#
|
108
|
+
# @!method total_new_1h_info
|
98
109
|
|
99
|
-
#
|
110
|
+
# @!method total_new_1d_pass
|
100
111
|
|
101
|
-
#
|
112
|
+
# @!method total_new_1d_fail
|
102
113
|
|
103
|
-
#
|
114
|
+
# @!method total_new_1d_warn
|
104
115
|
|
105
|
-
#
|
116
|
+
# @!method total_new_1d_error
|
106
117
|
|
107
|
-
#
|
118
|
+
# @!method total_new_1d_info
|
108
119
|
|
109
|
-
#
|
120
|
+
# @!method total_new_1w_pass
|
110
121
|
|
111
|
-
#
|
122
|
+
# @!method total_new_1w_fail
|
112
123
|
|
113
|
-
#
|
124
|
+
# @!method total_new_1w_error
|
114
125
|
|
115
|
-
#
|
126
|
+
# @!method total_new_1w_info
|
116
127
|
|
117
|
-
#
|
128
|
+
# @!method total_new_1w_warn
|
118
129
|
|
119
|
-
#
|
130
|
+
# @!method total_old_fail
|
120
131
|
|
121
|
-
#
|
132
|
+
# @!method total_old_pass
|
122
133
|
|
123
|
-
#
|
134
|
+
# @!method total_old_warn
|
124
135
|
|
125
|
-
#
|
136
|
+
# @!method total_old_error
|
126
137
|
|
127
|
-
#
|
138
|
+
# @!method total_old_info
|
128
139
|
|
129
|
-
#
|
140
|
+
# @!method total_suppressed
|
130
141
|
|
131
|
-
#
|
142
|
+
# @!method total_suppressed_pass
|
132
143
|
|
133
|
-
#
|
144
|
+
# @!method total_suppressed_fail
|
134
145
|
|
135
|
-
#
|
146
|
+
# @!method total_suppressed_warn
|
136
147
|
|
137
|
-
#
|
148
|
+
# @!method total_suppressed_error
|
138
149
|
|
139
|
-
#
|
150
|
+
# @!method total_new_1h
|
140
151
|
|
141
|
-
#
|
152
|
+
# @!method total_new_1d
|
142
153
|
|
143
|
-
#
|
154
|
+
# @!method total_new_1w
|
144
155
|
|
145
|
-
#
|
156
|
+
# @!method total_old
|
146
157
|
end
|
147
158
|
end
|
@@ -2,33 +2,33 @@ module ESP
|
|
2
2
|
class StatService < ESP::Resource
|
3
3
|
include ESP::StatTotals
|
4
4
|
|
5
|
-
##
|
6
5
|
# The service these stats are for.
|
6
|
+
#
|
7
|
+
# @return [ESP::Service]
|
7
8
|
belongs_to :service, class_name: 'ESP::Service'
|
8
9
|
|
9
10
|
# Not Implemented. You cannot search for a StatSignature.
|
11
|
+
#
|
12
|
+
# @return [void]
|
10
13
|
def self.where(*)
|
11
14
|
fail ESP::NotImplementedError
|
12
15
|
end
|
13
16
|
|
14
17
|
# Returns a paginated collection of service stats for the given stat_id
|
15
|
-
# Convenience method to use instead of
|
16
|
-
#
|
17
|
-
# ==== Parameter
|
18
|
-
#
|
19
|
-
# +stat_id+ | Required | The ID of the stat to list service stats for
|
20
|
-
#
|
21
|
-
# +options+ | Optional | A hash of options
|
22
|
-
#
|
23
|
-
# ===== Valid Options
|
18
|
+
# Convenience method to use instead of {.find} since a stat_id is required to return service stats.
|
24
19
|
#
|
25
|
-
#
|
20
|
+
# @param stat_id [Integer, Numeric] Required ID of the stat to list service stats for.
|
21
|
+
# @param options [Hash] Optional hash of options.
|
22
|
+
# ===== Valid Options
|
26
23
|
#
|
27
|
-
#
|
24
|
+
# +include+ | The list of associated objects to return on the initial request.
|
28
25
|
#
|
29
|
-
#
|
26
|
+
# ===== valid Includable Associations
|
30
27
|
#
|
31
|
-
#
|
28
|
+
# See {API documentation}[http://api-docs.evident.io?ruby#stat-service-attributes] for valid arguments
|
29
|
+
# @return [ActiveResource::PaginatedCollection<ESP::StatService>]
|
30
|
+
# @raise [ArgumentError] if no +stat_id+ is supplied.
|
31
|
+
# @example
|
32
32
|
# stats = ESP::StatService.for_stat(1194)
|
33
33
|
def self.for_stat(stat_id = nil, options = {}) # rubocop:disable Style/OptionHash
|
34
34
|
fail ArgumentError, "You must supply a stat id." unless stat_id.present?
|
@@ -38,22 +38,27 @@ module ESP
|
|
38
38
|
|
39
39
|
# Find a StatService by id
|
40
40
|
#
|
41
|
-
#
|
41
|
+
# *call-seq* -> +super.find(id, options = {})+
|
42
42
|
#
|
43
|
-
#
|
43
|
+
# @overload find(id)
|
44
|
+
# @param id [Integer, Numeric] Required ID of the service stat to retrieve.
|
45
|
+
# @overload find(id, options)
|
46
|
+
# @param id [Integer, Numeric] Required ID of the service stat to retrieve.
|
47
|
+
# @param options [Hash] Optional hash of options.
|
48
|
+
# ===== Valid Options
|
44
49
|
#
|
45
|
-
#
|
50
|
+
# +include+ | The list of associated objects to return on the initial request.
|
46
51
|
#
|
47
|
-
#
|
52
|
+
# ===== valid Includable Associations
|
48
53
|
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
54
|
+
# See {API documentation}[http://api-docs.evident.io?ruby#stat-service-attributes] for valid arguments
|
55
|
+
# @overload find(scope, options)
|
56
|
+
# *call-seq* -> +super.all(options)+
|
57
|
+
# @api private
|
58
|
+
# @param scope [Object] *Example:* +:all+
|
59
|
+
# @param options [Hash] +params: { stat_id: Integer }+
|
60
|
+
# @raise [ArgumentError] if no +stat_id+ is supplied.
|
61
|
+
# @return [ESP::StatService]
|
57
62
|
def self.find(*arguments)
|
58
63
|
scope = arguments.slice!(0)
|
59
64
|
options = (arguments.slice!(0) || {}).with_indifferent_access
|
@@ -63,85 +68,91 @@ module ESP
|
|
63
68
|
for_stat(stat_id)
|
64
69
|
end
|
65
70
|
|
66
|
-
#
|
71
|
+
# @!method self.create
|
67
72
|
# Not Implemented. You cannot create a Stat.
|
73
|
+
#
|
74
|
+
# @return [void]
|
68
75
|
|
69
|
-
#
|
76
|
+
# @!method save
|
70
77
|
# Not Implemented. You cannot create or update a Stat.
|
78
|
+
#
|
79
|
+
# @return [void]
|
71
80
|
|
72
|
-
#
|
81
|
+
# @!method destroy
|
73
82
|
# Not Implemented. You cannot delete a Stat.
|
83
|
+
#
|
84
|
+
# @return [void]
|
74
85
|
|
75
|
-
#
|
86
|
+
# @!group 'total' rollup methods
|
76
87
|
|
77
|
-
#
|
88
|
+
# @!method total
|
78
89
|
|
79
|
-
#
|
90
|
+
# @!method total_pass
|
80
91
|
|
81
|
-
#
|
92
|
+
# @!method total_fail
|
82
93
|
|
83
|
-
#
|
94
|
+
# @!method total_warn
|
84
95
|
|
85
|
-
#
|
96
|
+
# @!method total_error
|
86
97
|
|
87
|
-
#
|
98
|
+
# @!method total_info
|
88
99
|
|
89
|
-
#
|
100
|
+
# @!method total_new_1h_pass
|
90
101
|
|
91
|
-
#
|
102
|
+
# @!method total_new_1h_fail
|
92
103
|
|
93
|
-
#
|
104
|
+
# @!method total_new_1h_warn
|
94
105
|
|
95
|
-
#
|
106
|
+
# @!method total_new_1h_error
|
96
107
|
|
97
|
-
#
|
108
|
+
# @!method total_new_1h_info
|
98
109
|
|
99
|
-
#
|
110
|
+
# @!method total_new_1d_pass
|
100
111
|
|
101
|
-
#
|
112
|
+
# @!method total_new_1d_fail
|
102
113
|
|
103
|
-
#
|
114
|
+
# @!method total_new_1d_warn
|
104
115
|
|
105
|
-
#
|
116
|
+
# @!method total_new_1d_error
|
106
117
|
|
107
|
-
#
|
118
|
+
# @!method total_new_1d_info
|
108
119
|
|
109
|
-
#
|
120
|
+
# @!method total_new_1w_pass
|
110
121
|
|
111
|
-
#
|
122
|
+
# @!method total_new_1w_fail
|
112
123
|
|
113
|
-
#
|
124
|
+
# @!method total_new_1w_error
|
114
125
|
|
115
|
-
#
|
126
|
+
# @!method total_new_1w_info
|
116
127
|
|
117
|
-
#
|
128
|
+
# @!method total_new_1w_warn
|
118
129
|
|
119
|
-
#
|
130
|
+
# @!method total_old_fail
|
120
131
|
|
121
|
-
#
|
132
|
+
# @!method total_old_pass
|
122
133
|
|
123
|
-
#
|
134
|
+
# @!method total_old_warn
|
124
135
|
|
125
|
-
#
|
136
|
+
# @!method total_old_error
|
126
137
|
|
127
|
-
#
|
138
|
+
# @!method total_old_info
|
128
139
|
|
129
|
-
#
|
140
|
+
# @!method total_suppressed
|
130
141
|
|
131
|
-
#
|
142
|
+
# @!method total_suppressed_pass
|
132
143
|
|
133
|
-
#
|
144
|
+
# @!method total_suppressed_fail
|
134
145
|
|
135
|
-
#
|
146
|
+
# @!method total_suppressed_warn
|
136
147
|
|
137
|
-
#
|
148
|
+
# @!method total_suppressed_error
|
138
149
|
|
139
|
-
#
|
150
|
+
# @!method total_new_1h
|
140
151
|
|
141
|
-
#
|
152
|
+
# @!method total_new_1d
|
142
153
|
|
143
|
-
#
|
154
|
+
# @!method total_new_1w
|
144
155
|
|
145
|
-
#
|
156
|
+
# @!method total_old
|
146
157
|
end
|
147
158
|
end
|
@@ -2,33 +2,33 @@ module ESP
|
|
2
2
|
class StatSignature < ESP::Resource
|
3
3
|
include ESP::StatTotals
|
4
4
|
|
5
|
-
##
|
6
5
|
# The signature these stats are for.
|
6
|
+
#
|
7
|
+
# @return [ESP::Signature]
|
7
8
|
belongs_to :signature, class_name: 'ESP::Signature'
|
8
9
|
|
9
10
|
# Not Implemented. You cannot search for a StatSignature.
|
11
|
+
#
|
12
|
+
# @return [void]
|
10
13
|
def self.where(*)
|
11
14
|
fail ESP::NotImplementedError
|
12
15
|
end
|
13
16
|
|
14
17
|
# Returns a paginated collection of signature stats for the given stat_id
|
15
|
-
# Convenience method to use instead of
|
16
|
-
#
|
17
|
-
# ==== Parameter
|
18
|
-
#
|
19
|
-
# +stat_id+ | Required | The ID of the stat to list signature stats for
|
20
|
-
#
|
21
|
-
# +options+ | Optional | A hash of options
|
22
|
-
#
|
23
|
-
# ===== Valid Options
|
18
|
+
# Convenience method to use instead of {.find} since a stat_id is required to return signature stats.
|
24
19
|
#
|
25
|
-
#
|
20
|
+
# @param stat_id [Integer, Numeric] Required ID of the stat to list signature stats for.
|
21
|
+
# @param options [Hash] Optional hash of options.
|
22
|
+
# ===== Valid Options
|
26
23
|
#
|
27
|
-
#
|
24
|
+
# +include+ | The list of associated objects to return on the initial request.
|
28
25
|
#
|
29
|
-
#
|
26
|
+
# ===== valid Includable Associations
|
30
27
|
#
|
31
|
-
#
|
28
|
+
# See {API documentation}[http://api-docs.evident.io?ruby#stat-signature-attributes] for valid arguments
|
29
|
+
# @return [ActiveResource::PaginatedCollection<ESP::StatSignature>]
|
30
|
+
# @raise [ArgumentError] if no +stat_id+ is supplied.
|
31
|
+
# @example
|
32
32
|
# stats = ESP::StatSignature.for_stat(1194)
|
33
33
|
def self.for_stat(stat_id = nil, options = {}) # rubocop:disable Style/OptionHash
|
34
34
|
fail ArgumentError, "You must supply a stat id." unless stat_id.present?
|
@@ -38,22 +38,27 @@ module ESP
|
|
38
38
|
|
39
39
|
# Find a StatRegion by id
|
40
40
|
#
|
41
|
-
#
|
41
|
+
# *call-seq* -> +super.find(id, options = {})+
|
42
42
|
#
|
43
|
-
#
|
43
|
+
# @overload find(id)
|
44
|
+
# @param id [Integer, Numeric, #to_i] Required ID of the signature stat to retrieve.
|
45
|
+
# @overload find(id, options)
|
46
|
+
# @param id [Integer, Numeric, #to_i] Required ID of the signature stat to retrieve.
|
47
|
+
# @param options | Optional hash of options.
|
48
|
+
# ===== Valid Options
|
44
49
|
#
|
45
|
-
#
|
50
|
+
# +include+ | The list of associated objects to return on the initial request.
|
46
51
|
#
|
47
|
-
#
|
52
|
+
# ===== valid Includable Associations
|
48
53
|
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
54
|
+
# See {API documentation}[http://api-docs.evident.io?ruby#stat-signature-attributes] for valid arguments
|
55
|
+
# @overload find(scope, options)
|
56
|
+
# *call-seq* -> +super.all(options)+
|
57
|
+
# @api private
|
58
|
+
# @param scope [Object] *Example:* +:all+
|
59
|
+
# @param options [Hash] +params: { stat_id: Integer }+
|
60
|
+
# @raise [ArgumentError] if no +stat_id+ is supplied.
|
61
|
+
# @return [ESP::StatSignature
|
57
62
|
def self.find(*arguments)
|
58
63
|
scope = arguments.slice!(0)
|
59
64
|
options = (arguments.slice!(0) || {}).with_indifferent_access
|
@@ -63,85 +68,91 @@ module ESP
|
|
63
68
|
for_stat(stat_id)
|
64
69
|
end
|
65
70
|
|
66
|
-
#
|
71
|
+
# @!method self.create
|
67
72
|
# Not Implemented. You cannot create a Stat.
|
73
|
+
#
|
74
|
+
# @return [void]
|
68
75
|
|
69
|
-
#
|
76
|
+
# @!method save
|
70
77
|
# Not Implemented. You cannot create or update a Stat.
|
78
|
+
#
|
79
|
+
# @return [void]
|
71
80
|
|
72
|
-
#
|
81
|
+
# @!method destroy
|
73
82
|
# Not Implemented. You cannot delete a Stat.
|
83
|
+
#
|
84
|
+
# @return [void]
|
74
85
|
|
75
|
-
#
|
86
|
+
# @!group 'total' rollup methods
|
76
87
|
|
77
|
-
#
|
88
|
+
# @!method total
|
78
89
|
|
79
|
-
#
|
90
|
+
# @!method total_pass
|
80
91
|
|
81
|
-
#
|
92
|
+
# @!method total_fail
|
82
93
|
|
83
|
-
#
|
94
|
+
# @!method total_warn
|
84
95
|
|
85
|
-
#
|
96
|
+
# @!method total_error
|
86
97
|
|
87
|
-
#
|
98
|
+
# @!method total_info
|
88
99
|
|
89
|
-
#
|
100
|
+
# @!method total_new_1h_pass
|
90
101
|
|
91
|
-
#
|
102
|
+
# @!method total_new_1h_fail
|
92
103
|
|
93
|
-
#
|
104
|
+
# @!method total_new_1h_warn
|
94
105
|
|
95
|
-
#
|
106
|
+
# @!method total_new_1h_error
|
96
107
|
|
97
|
-
#
|
108
|
+
# @!method total_new_1h_info
|
98
109
|
|
99
|
-
#
|
110
|
+
# @!method total_new_1d_pass
|
100
111
|
|
101
|
-
#
|
112
|
+
# @!method total_new_1d_fail
|
102
113
|
|
103
|
-
#
|
114
|
+
# @!method total_new_1d_warn
|
104
115
|
|
105
|
-
#
|
116
|
+
# @!method total_new_1d_error
|
106
117
|
|
107
|
-
#
|
118
|
+
# @!method total_new_1d_info
|
108
119
|
|
109
|
-
#
|
120
|
+
# @!method total_new_1w_pass
|
110
121
|
|
111
|
-
#
|
122
|
+
# @!method total_new_1w_fail
|
112
123
|
|
113
|
-
#
|
124
|
+
# @!method total_new_1w_error
|
114
125
|
|
115
|
-
#
|
126
|
+
# @!method total_new_1w_info
|
116
127
|
|
117
|
-
#
|
128
|
+
# @!method total_new_1w_warn
|
118
129
|
|
119
|
-
#
|
130
|
+
# @!method total_old_fail
|
120
131
|
|
121
|
-
#
|
132
|
+
# @!method total_old_pass
|
122
133
|
|
123
|
-
#
|
134
|
+
# @!method total_old_warn
|
124
135
|
|
125
|
-
#
|
136
|
+
# @!method total_old_error
|
126
137
|
|
127
|
-
#
|
138
|
+
# @!method total_old_info
|
128
139
|
|
129
|
-
#
|
140
|
+
# @!method total_suppressed
|
130
141
|
|
131
|
-
#
|
142
|
+
# @!method total_suppressed_pass
|
132
143
|
|
133
|
-
#
|
144
|
+
# @!method total_suppressed_fail
|
134
145
|
|
135
|
-
#
|
146
|
+
# @!method total_suppressed_warn
|
136
147
|
|
137
|
-
#
|
148
|
+
# @!method total_suppressed_error
|
138
149
|
|
139
|
-
#
|
150
|
+
# @!method total_new_1h
|
140
151
|
|
141
|
-
#
|
152
|
+
# @!method total_new_1d
|
142
153
|
|
143
|
-
#
|
154
|
+
# @!method total_new_1w
|
144
155
|
|
145
|
-
#
|
156
|
+
# @!method total_old
|
146
157
|
end
|
147
158
|
end
|