File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
ql/test/library-tests/frameworks/containers Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 1
- | app.bicep:2:1:78:1 | ContainerResource |
1
+ containers
2
+ | app.bicep:14:1:101:1 | ContainerResource |
3
+ containerConfig
4
+ | app.bicep:14:1:101:1 | ContainerResource | app.bicep:19:20:63:5 | ContainerConfiguration |
5
+ containerIngress
6
+ | app.bicep:14:1:101:1 | ContainerResource | app.bicep:20:16:44:7 | NetworkIngress |
7
+ containerSecrets
8
+ | app.bicep:14:1:101:1 | ContainerResource | app.bicep:46:9:49:9 | ContainerSecret |
9
+ | app.bicep:14:1:101:1 | ContainerResource | app.bicep:50:9:53:9 | ContainerSecret |
10
+ containerReg
11
+ | app.bicep:14:1:101:1 | ContainerResource | app.bicep:56:9:60:9 | ContainerRegistry |
Original file line number Diff line number Diff line change 1
1
import bicep
2
2
3
3
query predicate containers ( Containers:: ContainerResource container ) { any ( ) }
4
+
5
+ query predicate containerConfig (
6
+ Containers:: ContainerResource container ,
7
+ Containers:: ContainerProperties:: ContainerConfiguration config
8
+ ) {
9
+ container .getConfiguration ( ) = config
10
+ }
11
+
12
+ query predicate containerIngress ( Containers:: ContainerResource container , Network:: Ingress ingress ) {
13
+ container .getNetworkIngress ( ) = ingress
14
+ }
15
+
16
+ query predicate containerSecrets (
17
+ Containers:: ContainerResource container , Containers:: ContainerProperties:: ContainerSecret secrets
18
+ ) {
19
+ container .getConfiguration ( ) .getSecrets ( ) = secrets
20
+ }
21
+
22
+ query predicate containerReg (
23
+ Containers:: ContainerResource container , Containers:: ContainerProperties:: ContainerRegistry reg
24
+ ) {
25
+ reg = container .getConfiguration ( ) .getRegistries ( )
26
+ }
You can’t perform that action at this time.
0 commit comments