Skip to content

Commit 6b93464

Browse files
committed
feat(version): v0.4.0
1 parent b76ac0a commit 6b93464

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

.github/action/dist/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13530,7 +13530,7 @@ const toolcache = __importStar(__nccwpck_require__(7784));
1353013530
const github = __importStar(__nccwpck_require__(5438));
1353113531
const toolrunner = __importStar(__nccwpck_require__(8159));
1353213532
exports.EXTRACTOR_REPOSITORY = "advanced-security/codeql-extractor-iac";
13533-
exports.EXTRACTOR_VERSION = "v0.0.4"; // stable version
13533+
exports.EXTRACTOR_VERSION = "v0.4.0"; // stable version
1353413534
async function newCodeQL() {
1353513535
var version = core.getInput("extractor-version");
1353613536
if (version === "") {

.github/action/src/codeql.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as github from "@actions/github";
77
import * as toolrunner from "@actions/exec/lib/toolrunner";
88

99
export const EXTRACTOR_REPOSITORY = "advanced-security/codeql-extractor-iac";
10-
export const EXTRACTOR_VERSION = "v0.0.4"; // stable version
10+
export const EXTRACTOR_VERSION = "v0.4.0"; // stable version
1111

1212
export interface CodeQLConfig {
1313
// The path to the codeql bundle.
@@ -48,7 +48,7 @@ export async function newCodeQL(): Promise<CodeQLConfig> {
4848

4949
export async function runCommand(
5050
config: CodeQLConfig,
51-
args: string[]
51+
args: string[],
5252
): Promise<any> {
5353
var bin = path.join(config.path, "codeql");
5454
let output = "";
@@ -68,7 +68,7 @@ export async function runCommand(
6868

6969
export async function runCommandJson(
7070
config: CodeQLConfig,
71-
args: string[]
71+
args: string[],
7272
): Promise<object> {
7373
return JSON.parse(await runCommand(config, args));
7474
}
@@ -130,12 +130,12 @@ export async function downloadExtractor(config: CodeQLConfig): Promise<string> {
130130
}
131131
// we assume there is only one tar.gz asset
132132
const assets = release.data.assets.filter((asset) =>
133-
asset.browser_download_url.endsWith(".tar.gz")
133+
asset.browser_download_url.endsWith(".tar.gz"),
134134
);
135135

136136
if (assets.length !== 1) {
137137
throw new Error(
138-
`Expected 1 asset to be found, but found ${assets.length} instead.`
138+
`Expected 1 asset to be found, but found ${assets.length} instead.`,
139139
);
140140
}
141141
var asset = assets[0];
@@ -148,7 +148,7 @@ export async function downloadExtractor(config: CodeQLConfig): Promise<string> {
148148
`token ${core.getInput("token")}`,
149149
{
150150
accept: "application/octet-stream",
151-
}
151+
},
152152
);
153153
core.debug(`Extractor downloaded to ${extractorPath}`);
154154

@@ -170,7 +170,7 @@ export async function downloadPack(codeql: CodeQLConfig): Promise<boolean> {
170170
}
171171

172172
export async function codeqlDatabaseCreate(
173-
codeql: CodeQLConfig
173+
codeql: CodeQLConfig,
174174
): Promise<string> {
175175
// get runner temp directory for database
176176
var temp = process.env["RUNNER_TEMP"];
@@ -196,7 +196,7 @@ export async function codeqlDatabaseCreate(
196196

197197
export async function codeqlDatabaseAnalyze(
198198
codeql: CodeQLConfig,
199-
database_path: string
199+
database_path: string,
200200
): Promise<string> {
201201
var codeql_output = codeql.output || "codeql-iac.sarif";
202202

.release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: codeql-extractor-iac
2-
version: 0.3.0
2+
version: 0.4.0
33
default: false
44

55
locations:

codeql-extractor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "iac"
22
display_name: "IAC"
3-
version: 0.0.5
3+
version: 0.4.0
44
column_kind: "utf8"
55
legacy_qltest_extraction: true
66
github_api_languages:

extractor/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "codeql-extractor-iac"
3-
version = "0.1.0"
3+
version = "0.4.0"
44
authors = ["GitHub"]
55
edition = "2018"
66

ql/lib/qlpack.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
library: true
33
warnOnImplicitThis: false
44
name: advanced-security/iac-all
5-
version: 0.3.0
5+
version: 0.4.0
66
dependencies:
77
codeql/util: ^0.1.2
88
codeql/yaml: ^0.1.2

ql/src/qlpack.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: advanced-security/iac-queries
2-
version: 0.3.0
2+
version: 0.4.0
33
groups:
44
- iac
55
- queries

0 commit comments

Comments
 (0)