test/factories/alerts.rb in esp_sdk-2.0.0.rc1 vs test/factories/alerts.rb in esp_sdk-2.0.0
- old
+ new
@@ -6,11 +6,10 @@
type "alerts"
created_at { Time.current }
status "fail"
resource "resource-3"
updated_at nil
- metadata { { abc: 123 } }
started_at { Time.current }
ended_at nil
relationships do
{
external_account: {
@@ -45,9 +44,14 @@
id: "1",
type: "suppressions"
},
links: {
related: "http://test.host/api/v2/suppressions/1.json"
+ }
+ },
+ metadata: {
+ links: {
+ related: "http://test.host/api/v2/alerts/1017/metadata.json"
}
},
cloud_trail_events: {
data: [
{