We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8d34bb commit 3a3bed1Copy full SHA for 3a3bed1
queries/github_container_package.yaml
@@ -0,0 +1,29 @@
1
+ID: github_container_package
2
+Title: Find Container Packages to be utilized in tasks
3
+Description: Find Container Packages in GitHub for tasks
4
+IntegrationType:
5
+ - github_account
6
+Query:
7
+ Engine: CloudQL-v0.0.1
8
+ Parameters:
9
+ - Key: github_package
10
+ Required: true
11
+ DefaultValue: "*"
12
+ - Key: limit_of_packages
13
14
+ DefaultValue: "50"
15
+ QueryToExecute: |
16
+ SELECT
17
+ id,
18
+ name,
19
+ digest,
20
+ platform_integration_id
21
+ FROM
22
+ github_container_package
23
+ WHERE
24
+ (
25
+ COALESCE('{{.github_package}}', '*') = '*'
26
+ OR name = ANY(STRING_TO_ARRAY('{{.github_package}}', ','))
27
+ )
28
+ LIMIT {{.limit_of_packages}};
29
+Tags: {}
0 commit comments