mirror of
https://github.com/turbot/steampipe.git
synced 2026-02-25 14:00:26 -05:00
54 lines
1.0 KiB
SourcePawn
54 lines
1.0 KiB
SourcePawn
benchmark "cg_1"{
|
|
children = [
|
|
benchmark.cg_1_1,
|
|
benchmark.cg_1_2
|
|
]
|
|
}
|
|
benchmark "cg_1_1"{
|
|
children = [
|
|
benchmark.cg_1_1_1,
|
|
benchmark.cg_1_1_2,
|
|
control.c3,
|
|
]
|
|
}
|
|
benchmark "cg_1_2"{
|
|
}
|
|
benchmark "cg_1_1_1"{
|
|
children = [
|
|
control.c1,
|
|
]
|
|
}
|
|
benchmark "cg_1_1_2"{
|
|
children = [
|
|
control.c2,
|
|
control.c4,
|
|
control.c5
|
|
]
|
|
}
|
|
|
|
control "c1"{
|
|
title = "control 1"
|
|
sql = "select 'r1' as resource, 'alarm' as status, 'Im alarmed' as reason, 'dimension 1 val' as d1"
|
|
}
|
|
control "c2"{
|
|
title = "control 2"
|
|
sql = control.c3.sql
|
|
}
|
|
control "c3"{
|
|
title = "control 3"
|
|
sql = control.c4.sql
|
|
}
|
|
control "c4"{
|
|
title = "control 4"
|
|
sql = "select 'r4' as resource, 'alarm' as status, 'Im alarmed' as reason"
|
|
severity = "terrible"
|
|
}
|
|
control "c5"{
|
|
title = "control 5"
|
|
sql = "select 'r5' as resource, 'alarm' as status, 'Im alarmed' as reason"
|
|
}
|
|
control "c6"{
|
|
title = "control 6"
|
|
sql = "select 'r6' as resource, 'alarm' as status, 'Im alarmed' as reason"
|
|
}
|