Merge remote-tracking branch 'origin/main' into koesie10/msw-integration-test
This commit is contained in:
6
.vscode/launch.json
vendored
6
.vscode/launch.json
vendored
@@ -44,10 +44,8 @@
|
||||
"bdd",
|
||||
"--colors",
|
||||
"--diff",
|
||||
"-r",
|
||||
"ts-node/register",
|
||||
"-r",
|
||||
"test/mocha.setup.js",
|
||||
"--config",
|
||||
".mocharc.json",
|
||||
"test/pure-tests/**/*.ts"
|
||||
],
|
||||
"stopOnEntry": false,
|
||||
|
||||
@@ -144,6 +144,49 @@ The CLI integration tests require the CodeQL standard libraries in order to run
|
||||
|
||||
3. Run the VSCode task from the "Run and Debug" view called _Launch Integration Tests - With CLI_.
|
||||
|
||||
#### Using a mock GitHub API server
|
||||
|
||||
Multi-Repo Variant Analyses (MRVA) rely on the GitHub API. In order to make development and testing easy, we have functionality that allows us to intercept requests to the GitHub API and provide mock responses.
|
||||
|
||||
##### Using a pre-recorded test scenario
|
||||
|
||||
To run a mock MRVA scenario, follow these steps:
|
||||
1. Enable the mock GitHub API server by adding the following in your VS Code user settings (which can be found by running the `Preferences: Open User Settings (JSON)` VS Code command):
|
||||
```json
|
||||
"codeQL.mockGitHubApiServer": {
|
||||
"enabled": true
|
||||
}
|
||||
```
|
||||
|
||||
1. Run the `CodeQL: Mock GitHub API Server: Load Scenario` command from the command pallet, and choose one of the scenarios to load.
|
||||
1. Execute a normal MRVA. At this point you should see the scenario being played out, rather than an actual MRVA running.
|
||||
1. Once you're done, you can stop using the mock scenario with `CodeQL: Mock GitHub API Server: Unload Scenario`
|
||||
|
||||
If you want to replay the same scenario you should unload and reload it so requests are replayed from the start.
|
||||
|
||||
##### Recording a new test scenario
|
||||
To record a new mock MRVA scenario, follow these steps:
|
||||
|
||||
1. Enable the mock GitHub API server by adding the following in your VS Code user settings (which can be found by running the `Preferences: Open User Settings (JSON)` VS Code command):
|
||||
```json
|
||||
"codeQL.mockGitHubApiServer": {
|
||||
"enabled": true
|
||||
}
|
||||
```
|
||||
|
||||
1. Run the `CodeQL: Mock GitHub API Server: Start Scenario Recording` VS Code command from the command pallet.
|
||||
1. Execute a normal MRVA.
|
||||
1. Once what you wanted to record is done (e.g. the MRVA has finished), then run the `CodeQL: Mock GitHub API Server: Save Scenario` command from the command pallet.
|
||||
1. The scenario should then be available for replaying.
|
||||
|
||||
If you want to cancel recording, run the `CodeQL: Mock GitHub API Server: Cancel Scenario Recording` command.
|
||||
|
||||
Once the scenario has been recorded, it's often useful to remove some of the requests to speed up the replay, particularly ones that fetch the variant analysis status. Once some of the request files have manually been removed, the [fix-scenario-file-numbering script](./extensions/ql-vscode/scripts/fix-scenario-file-numbering.ts) can be used to update the number of the files. See the script file for details on how to use.
|
||||
|
||||
#### Scenario data location
|
||||
|
||||
Pre-recorded scenarios are stored in `./src/mocks/scenarios`. However, it's possible to configure the location, by setting the `codeQL.mockGitHubApiServer.scenariosPath` configuration property in the VS Code user settings.
|
||||
|
||||
## Releasing (write access required)
|
||||
|
||||
1. Double-check the `CHANGELOG.md` contains all desired change comments and has the version to be released with date at the top.
|
||||
|
||||
6
extensions/ql-vscode/.mocharc.json
Normal file
6
extensions/ql-vscode/.mocharc.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"exit": true,
|
||||
"require": [
|
||||
"test/mocha.setup.js"
|
||||
]
|
||||
}
|
||||
109
extensions/ql-vscode/package-lock.json
generated
109
extensions/ql-vscode/package-lock.json
generated
@@ -101,6 +101,7 @@
|
||||
"@types/xml2js": "~0.4.4",
|
||||
"@typescript-eslint/eslint-plugin": "^4.26.0",
|
||||
"@typescript-eslint/parser": "^4.26.0",
|
||||
"@vscode/test-electron": "^2.2.0",
|
||||
"ajv": "^8.11.0",
|
||||
"ansi-colors": "^4.1.1",
|
||||
"applicationinsights": "^2.3.5",
|
||||
@@ -142,7 +143,6 @@
|
||||
"typescript": "^4.5.5",
|
||||
"typescript-formatter": "^7.2.2",
|
||||
"vsce": "^2.7.0",
|
||||
"vscode-test": "^1.4.0",
|
||||
"webpack": "^5.62.2",
|
||||
"webpack-cli": "^4.6.0"
|
||||
},
|
||||
@@ -14789,6 +14789,36 @@
|
||||
"resolved": "https://registry.npmjs.org/@vscode/codicons/-/codicons-0.0.31.tgz",
|
||||
"integrity": "sha512-fldpXy7pHsQAMlU1pnGI23ypQ6xLk5u6SiABMFoAmlj4f2MR0iwg7C19IB1xvAEGG+dkxOfRSrbKF8ry7QqGQA=="
|
||||
},
|
||||
"node_modules/@vscode/test-electron": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@vscode/test-electron/-/test-electron-2.2.0.tgz",
|
||||
"integrity": "sha512-xk2xrOTMG75/hxO8OVVZ+GErv9gmdZwOD8rEHV3ty3n1Joav2yFcfrmqD6Ukref27U13LEL8gVvSHzauGAK5nQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"http-proxy-agent": "^4.0.1",
|
||||
"https-proxy-agent": "^5.0.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"unzipper": "^0.10.11"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8.9.3"
|
||||
}
|
||||
},
|
||||
"node_modules/@vscode/test-electron/node_modules/rimraf": {
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
|
||||
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"glob": "^7.1.3"
|
||||
},
|
||||
"bin": {
|
||||
"rimraf": "bin.js"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/@vscode/webview-ui-toolkit": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@vscode/webview-ui-toolkit/-/webview-ui-toolkit-1.0.1.tgz",
|
||||
@@ -40250,22 +40280,6 @@
|
||||
"resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.15.1.tgz",
|
||||
"integrity": "sha512-+a9MPUQrNGRrGU630OGbYVQ+11iOIovjCkqxajPa9w57Sd5ruK8WQNsslzpa0x/QJqC8kRc2DUxWjIFwoNm4ZQ=="
|
||||
},
|
||||
"node_modules/vscode-test": {
|
||||
"version": "1.6.1",
|
||||
"resolved": "https://registry.npmjs.org/vscode-test/-/vscode-test-1.6.1.tgz",
|
||||
"integrity": "sha512-086q88T2ca1k95mUzffvbzb7esqQNvJgiwY4h29ukPhFo8u+vXOOmelUoU5EQUHs3Of8+JuQ3oGdbVCqaxuTXA==",
|
||||
"deprecated": "This package has been renamed to @vscode/test-electron, please update to the new name",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"http-proxy-agent": "^4.0.1",
|
||||
"https-proxy-agent": "^5.0.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"unzipper": "^0.10.11"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8.9.3"
|
||||
}
|
||||
},
|
||||
"node_modules/vscode-test-adapter-api": {
|
||||
"version": "1.7.0",
|
||||
"resolved": "https://registry.npmjs.org/vscode-test-adapter-api/-/vscode-test-adapter-api-1.7.0.tgz",
|
||||
@@ -40294,21 +40308,6 @@
|
||||
"vscode": "^1.23.0"
|
||||
}
|
||||
},
|
||||
"node_modules/vscode-test/node_modules/rimraf": {
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
|
||||
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"glob": "^7.1.3"
|
||||
},
|
||||
"bin": {
|
||||
"rimraf": "bin.js"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/w3c-hr-time": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz",
|
||||
@@ -52571,6 +52570,29 @@
|
||||
"resolved": "https://registry.npmjs.org/@vscode/codicons/-/codicons-0.0.31.tgz",
|
||||
"integrity": "sha512-fldpXy7pHsQAMlU1pnGI23ypQ6xLk5u6SiABMFoAmlj4f2MR0iwg7C19IB1xvAEGG+dkxOfRSrbKF8ry7QqGQA=="
|
||||
},
|
||||
"@vscode/test-electron": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@vscode/test-electron/-/test-electron-2.2.0.tgz",
|
||||
"integrity": "sha512-xk2xrOTMG75/hxO8OVVZ+GErv9gmdZwOD8rEHV3ty3n1Joav2yFcfrmqD6Ukref27U13LEL8gVvSHzauGAK5nQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"http-proxy-agent": "^4.0.1",
|
||||
"https-proxy-agent": "^5.0.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"unzipper": "^0.10.11"
|
||||
},
|
||||
"dependencies": {
|
||||
"rimraf": {
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
|
||||
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"glob": "^7.1.3"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"@vscode/webview-ui-toolkit": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@vscode/webview-ui-toolkit/-/webview-ui-toolkit-1.0.1.tgz",
|
||||
@@ -72414,29 +72436,6 @@
|
||||
"resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.15.1.tgz",
|
||||
"integrity": "sha512-+a9MPUQrNGRrGU630OGbYVQ+11iOIovjCkqxajPa9w57Sd5ruK8WQNsslzpa0x/QJqC8kRc2DUxWjIFwoNm4ZQ=="
|
||||
},
|
||||
"vscode-test": {
|
||||
"version": "1.6.1",
|
||||
"resolved": "https://registry.npmjs.org/vscode-test/-/vscode-test-1.6.1.tgz",
|
||||
"integrity": "sha512-086q88T2ca1k95mUzffvbzb7esqQNvJgiwY4h29ukPhFo8u+vXOOmelUoU5EQUHs3Of8+JuQ3oGdbVCqaxuTXA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"http-proxy-agent": "^4.0.1",
|
||||
"https-proxy-agent": "^5.0.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"unzipper": "^0.10.11"
|
||||
},
|
||||
"dependencies": {
|
||||
"rimraf": {
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
|
||||
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"glob": "^7.1.3"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"vscode-test-adapter-api": {
|
||||
"version": "1.7.0",
|
||||
"resolved": "https://registry.npmjs.org/vscode-test-adapter-api/-/vscode-test-adapter-api-1.7.0.tgz",
|
||||
|
||||
@@ -1248,7 +1248,7 @@
|
||||
"watch:extension": "tsc --watch",
|
||||
"watch:webpack": "gulp watchView",
|
||||
"test": "npm-run-all -p test:*",
|
||||
"test:unit": "mocha --exit -r ts-node/register -r test/mocha.setup.js test/pure-tests/**/*.ts",
|
||||
"test:unit": "mocha --config .mocharc.json test/pure-tests/**/*.ts",
|
||||
"test:view": "jest",
|
||||
"preintegration": "rm -rf ./out/vscode-tests && gulp",
|
||||
"integration": "node ./out/vscode-tests/run-integration-tests.js no-workspace,minimal-workspace",
|
||||
@@ -1354,6 +1354,7 @@
|
||||
"@types/xml2js": "~0.4.4",
|
||||
"@typescript-eslint/eslint-plugin": "^4.26.0",
|
||||
"@typescript-eslint/parser": "^4.26.0",
|
||||
"@vscode/test-electron": "^2.2.0",
|
||||
"ajv": "^8.11.0",
|
||||
"ansi-colors": "^4.1.1",
|
||||
"applicationinsights": "^2.3.5",
|
||||
@@ -1395,7 +1396,6 @@
|
||||
"typescript": "^4.5.5",
|
||||
"typescript-formatter": "^7.2.2",
|
||||
"vsce": "^2.7.0",
|
||||
"vscode-test": "^1.4.0",
|
||||
"webpack": "^5.62.2",
|
||||
"webpack-cli": "^4.6.0"
|
||||
},
|
||||
|
||||
78
extensions/ql-vscode/scripts/fix-scenario-file-numbering.ts
Normal file
78
extensions/ql-vscode/scripts/fix-scenario-file-numbering.ts
Normal file
@@ -0,0 +1,78 @@
|
||||
/**
|
||||
* This scripts helps after recording a scenario to be used for replaying
|
||||
* with the mock GitHub API server.
|
||||
*
|
||||
* Once the scenario has been recorded, it's often useful to remove some of
|
||||
* the requests to speed up the replay, particularly ones that fetch the
|
||||
* variant analysis status. Once some of the requests have manually been
|
||||
* removed, this script can be used to update the numbering of the files.
|
||||
*
|
||||
* Usage: npx ts-node scripts/fix-scenario-file-numbering.ts <scenario-name>
|
||||
*/
|
||||
|
||||
import * as fs from 'fs-extra';
|
||||
import * as path from 'path';
|
||||
|
||||
if (process.argv.length !== 3) {
|
||||
console.error('Expected 1 argument - the scenario name')
|
||||
}
|
||||
|
||||
const scenarioName = process.argv[2];
|
||||
|
||||
const extensionDirectory = path.resolve(__dirname, '..');
|
||||
const scenariosDirectory = path.resolve(extensionDirectory, 'src/mocks/scenarios');
|
||||
const scenarioDirectory = path.resolve(scenariosDirectory, scenarioName);
|
||||
|
||||
async function fixScenarioFiles() {
|
||||
console.log(scenarioDirectory);
|
||||
if (!(await fs.pathExists(scenarioDirectory))) {
|
||||
console.error('Scenario directory does not exist: ' + scenarioDirectory);
|
||||
return;
|
||||
}
|
||||
|
||||
const files = await fs.readdir(scenarioDirectory);
|
||||
|
||||
const orderedFiles = files.sort((a, b) => {
|
||||
const aNum = parseInt(a.split('-')[0]);
|
||||
const bNum = parseInt(b.split('-')[0]);
|
||||
return aNum - bNum;
|
||||
});
|
||||
|
||||
let index = 0;
|
||||
for (let file of orderedFiles) {
|
||||
const ext = path.extname(file);
|
||||
if (ext === '.json') {
|
||||
const fileName = path.basename(file, ext);
|
||||
const fileCurrentIndex = parseInt(fileName.split('-')[0]);
|
||||
const fileNameWithoutIndex = fileName.split('-')[1];
|
||||
if (fileCurrentIndex !== index) {
|
||||
const newFileName = `${index}-${fileNameWithoutIndex}${ext}`;
|
||||
const oldFilePath = path.join(scenarioDirectory, file);
|
||||
const newFilePath = path.join(scenarioDirectory, newFileName);
|
||||
console.log(`Rename: ${oldFilePath} -> ${newFilePath}`);
|
||||
await fs.rename(oldFilePath, newFilePath);
|
||||
|
||||
if (fileNameWithoutIndex === 'getVariantAnalysisRepoResult') {
|
||||
const oldZipFileName = `${fileCurrentIndex}-getVariantAnalysisRepoResult.body.zip`;
|
||||
const newZipFileName = `${index}-getVariantAnalysisRepoResult.body.zip`;
|
||||
const oldZipFilePath = path.join(scenarioDirectory, oldZipFileName);
|
||||
const newZipFilePath = path.join(scenarioDirectory, newZipFileName);
|
||||
console.log(`Rename: ${oldZipFilePath} -> ${newZipFilePath}`);
|
||||
await fs.rename(oldZipFilePath, newZipFilePath);
|
||||
|
||||
const json = await fs.readJson(newFilePath);
|
||||
json.response.body = `file:${newZipFileName}`;
|
||||
console.log(`Response.body change to ${json.response.body}`);
|
||||
await fs.writeJSON(newFilePath, json);
|
||||
}
|
||||
}
|
||||
|
||||
index++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fixScenarioFiles().catch(e => {
|
||||
console.error(e);
|
||||
process.exit(2);
|
||||
});
|
||||
@@ -116,7 +116,7 @@ import {
|
||||
} from './remote-queries/gh-api/variant-analysis';
|
||||
import { VariantAnalysisManager } from './remote-queries/variant-analysis-manager';
|
||||
import { createVariantAnalysisContentProvider } from './remote-queries/variant-analysis-content-provider';
|
||||
import { MockGitHubApiServer } from './mocks/mock-gh-api-server';
|
||||
import { VSCodeMockGitHubApiServer } from './mocks/vscode-mock-gh-api-server';
|
||||
import { VariantAnalysisResultsManager } from './remote-queries/variant-analysis-results-manager';
|
||||
|
||||
/**
|
||||
@@ -1194,7 +1194,7 @@ async function activateWithInstalledDistribution(
|
||||
)
|
||||
);
|
||||
|
||||
const mockServer = new MockGitHubApiServer(ctx);
|
||||
const mockServer = new VSCodeMockGitHubApiServer(ctx);
|
||||
ctx.subscriptions.push(mockServer);
|
||||
ctx.subscriptions.push(
|
||||
commandRunner(
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
import * as path from 'path';
|
||||
import * as fs from 'fs-extra';
|
||||
import { commands, env, ExtensionContext, ExtensionMode, QuickPickItem, Uri, window } from 'vscode';
|
||||
import { setupServer, SetupServerApi } from 'msw/node';
|
||||
|
||||
import { getMockGitHubApiServerScenariosPath, MockGitHubApiConfigListener } from '../config';
|
||||
import { DisposableObject } from '../pure/disposable-object';
|
||||
|
||||
import { Recorder } from './recorder';
|
||||
@@ -14,211 +12,128 @@ import { getDirectoryNamesInsidePath } from '../pure/files';
|
||||
* Enables mocking of the GitHub API server via HTTP interception, using msw.
|
||||
*/
|
||||
export class MockGitHubApiServer extends DisposableObject {
|
||||
private isListening: boolean;
|
||||
private config: MockGitHubApiConfigListener;
|
||||
private _isListening: boolean;
|
||||
|
||||
private readonly server: SetupServerApi;
|
||||
private readonly recorder: Recorder;
|
||||
|
||||
constructor(
|
||||
private readonly ctx: ExtensionContext,
|
||||
) {
|
||||
constructor() {
|
||||
super();
|
||||
this.isListening = false;
|
||||
this.config = new MockGitHubApiConfigListener();
|
||||
this._isListening = false;
|
||||
|
||||
this.server = setupServer();
|
||||
this.recorder = this.push(new Recorder(this.server));
|
||||
|
||||
this.setupConfigListener();
|
||||
}
|
||||
|
||||
public startServer(): void {
|
||||
if (this.isListening) {
|
||||
if (this._isListening) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.server.listen();
|
||||
this.isListening = true;
|
||||
this._isListening = true;
|
||||
}
|
||||
|
||||
public stopServer(): void {
|
||||
this.server.close();
|
||||
this.isListening = false;
|
||||
this._isListening = false;
|
||||
}
|
||||
|
||||
public async loadScenario(): Promise<void> {
|
||||
const scenariosPath = await this.getScenariosPath();
|
||||
public async loadScenario(scenarioName: string, scenariosPath?: string): Promise<void> {
|
||||
if (!scenariosPath) {
|
||||
return;
|
||||
scenariosPath = await this.getDefaultScenariosPath();
|
||||
if (!scenariosPath) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
const scenarioNames = await getDirectoryNamesInsidePath(scenariosPath);
|
||||
const scenarioQuickPickItems = scenarioNames.map(s => ({ label: s }));
|
||||
const quickPickOptions = {
|
||||
placeHolder: 'Select a scenario to load',
|
||||
};
|
||||
const selectedScenario = await window.showQuickPick<QuickPickItem>(
|
||||
scenarioQuickPickItems,
|
||||
quickPickOptions);
|
||||
if (!selectedScenario) {
|
||||
return;
|
||||
}
|
||||
|
||||
const scenarioName = selectedScenario.label;
|
||||
const scenarioPath = path.join(scenariosPath, scenarioName);
|
||||
|
||||
const handlers = await createRequestHandlers(scenarioPath);
|
||||
this.server.resetHandlers();
|
||||
this.server.use(...handlers);
|
||||
}
|
||||
|
||||
// Set a value in the context to track whether we have a scenario loaded.
|
||||
// This allows us to use this to show/hide commands (see package.json)
|
||||
await commands.executeCommand('setContext', 'codeQL.mockGitHubApiServer.scenarioLoaded', true);
|
||||
public async saveScenario(scenarioName: string, scenariosPath?: string): Promise<string> {
|
||||
if (!scenariosPath) {
|
||||
scenariosPath = await this.getDefaultScenariosPath();
|
||||
if (!scenariosPath) {
|
||||
throw new Error('Could not find scenarios path');
|
||||
}
|
||||
}
|
||||
|
||||
await window.showInformationMessage(`Loaded scenario '${scenarioName}'`);
|
||||
const filePath = await this.recorder.save(scenariosPath, scenarioName);
|
||||
|
||||
await this.stopRecording();
|
||||
|
||||
return filePath;
|
||||
}
|
||||
|
||||
public async unloadScenario(): Promise<void> {
|
||||
if (!this.isScenarioLoaded()) {
|
||||
await window.showInformationMessage('No scenario currently loaded');
|
||||
}
|
||||
else {
|
||||
await this.unloadAllScenarios();
|
||||
await window.showInformationMessage('Unloaded scenario');
|
||||
if (!this.isScenarioLoaded) {
|
||||
return;
|
||||
}
|
||||
|
||||
await this.unloadAllScenarios();
|
||||
}
|
||||
|
||||
public async startRecording(): Promise<void> {
|
||||
if (this.recorder.isRecording) {
|
||||
void window.showErrorMessage('A scenario is already being recorded. Use the "Save Scenario" or "Cancel Scenario" commands to finish recording.');
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.isScenarioLoaded()) {
|
||||
if (this.isScenarioLoaded) {
|
||||
await this.unloadAllScenarios();
|
||||
void window.showInformationMessage('A scenario was loaded so it has been unloaded');
|
||||
}
|
||||
|
||||
this.recorder.start();
|
||||
// Set a value in the context to track whether we are recording. This allows us to use this to show/hide commands (see package.json)
|
||||
await commands.executeCommand('setContext', 'codeQL.mockGitHubApiServer.recording', true);
|
||||
|
||||
await window.showInformationMessage('Recording scenario. To save the scenario, use the "CodeQL Mock GitHub API Server: Save Scenario" command.');
|
||||
}
|
||||
|
||||
public async saveScenario(): Promise<void> {
|
||||
const scenariosPath = await this.getScenariosPath();
|
||||
if (!scenariosPath) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Set a value in the context to track whether we are recording. This allows us to use this to show/hide commands (see package.json)
|
||||
await commands.executeCommand('setContext', 'codeQL.mockGitHubApiServer.recording', false);
|
||||
|
||||
if (!this.recorder.isRecording) {
|
||||
void window.showErrorMessage('No scenario is currently being recorded.');
|
||||
return;
|
||||
}
|
||||
if (!this.recorder.anyRequestsRecorded) {
|
||||
void window.showWarningMessage('No requests were recorded. Cancelling scenario.');
|
||||
|
||||
await this.stopRecording();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
const name = await window.showInputBox({
|
||||
title: 'Save scenario',
|
||||
prompt: 'Enter a name for the scenario.',
|
||||
placeHolder: 'successful-run',
|
||||
});
|
||||
if (!name) {
|
||||
return;
|
||||
}
|
||||
|
||||
const filePath = await this.recorder.save(scenariosPath, name);
|
||||
|
||||
await this.stopRecording();
|
||||
|
||||
const action = await window.showInformationMessage(`Scenario saved to ${filePath}`, 'Open directory');
|
||||
if (action === 'Open directory') {
|
||||
await env.openExternal(Uri.file(filePath));
|
||||
}
|
||||
}
|
||||
|
||||
public async cancelRecording(): Promise<void> {
|
||||
if (!this.recorder.isRecording) {
|
||||
void window.showErrorMessage('No scenario is currently being recorded.');
|
||||
return;
|
||||
}
|
||||
|
||||
await this.stopRecording();
|
||||
|
||||
void window.showInformationMessage('Recording cancelled.');
|
||||
}
|
||||
|
||||
private async stopRecording(): Promise<void> {
|
||||
// Set a value in the context to track whether we are recording. This allows us to use this to show/hide commands (see package.json)
|
||||
await commands.executeCommand('setContext', 'codeQL.mockGitHubApiServer.recording', false);
|
||||
|
||||
public async stopRecording(): Promise<void> {
|
||||
await this.recorder.stop();
|
||||
await this.recorder.clear();
|
||||
}
|
||||
|
||||
private async getScenariosPath(): Promise<string | undefined> {
|
||||
const scenariosPath = getMockGitHubApiServerScenariosPath();
|
||||
if (scenariosPath) {
|
||||
return scenariosPath;
|
||||
}
|
||||
|
||||
if (this.ctx.extensionMode === ExtensionMode.Development) {
|
||||
const developmentScenariosPath = Uri.joinPath(this.ctx.extensionUri, 'src/mocks/scenarios').fsPath.toString();
|
||||
if (await fs.pathExists(developmentScenariosPath)) {
|
||||
return developmentScenariosPath;
|
||||
public async getScenarioNames(scenariosPath?: string): Promise<string[]> {
|
||||
if (!scenariosPath) {
|
||||
scenariosPath = await this.getDefaultScenariosPath();
|
||||
if (!scenariosPath) {
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
const directories = await window.showOpenDialog({
|
||||
canSelectFolders: true,
|
||||
canSelectFiles: false,
|
||||
canSelectMany: false,
|
||||
openLabel: 'Select scenarios directory',
|
||||
title: 'Select scenarios directory',
|
||||
});
|
||||
if (directories === undefined || directories.length === 0) {
|
||||
void window.showErrorMessage('No scenarios directory selected.');
|
||||
return undefined;
|
||||
}
|
||||
|
||||
// Unfortunately, we cannot save the directory in the configuration because that requires
|
||||
// the configuration to be registered. If we do that, it would be visible to all users; there
|
||||
// is no "when" clause that would allow us to only show it to users who have enabled the feature flag.
|
||||
|
||||
return directories[0].fsPath;
|
||||
return await getDirectoryNamesInsidePath(scenariosPath);
|
||||
}
|
||||
|
||||
private isScenarioLoaded(): boolean {
|
||||
public get isListening(): boolean {
|
||||
return this._isListening;
|
||||
}
|
||||
|
||||
public get isRecording(): boolean {
|
||||
return this.recorder.isRecording;
|
||||
}
|
||||
|
||||
public get anyRequestsRecorded(): boolean {
|
||||
return this.recorder.anyRequestsRecorded;
|
||||
}
|
||||
|
||||
public get isScenarioLoaded(): boolean {
|
||||
return this.server.listHandlers().length > 0;
|
||||
}
|
||||
|
||||
public async getDefaultScenariosPath(): Promise<string | undefined> {
|
||||
// This should be the directory where package.json is located
|
||||
const rootDirectory = path.resolve(__dirname, '../..');
|
||||
|
||||
const scenariosPath = path.resolve(rootDirectory, 'src/mocks/scenarios');
|
||||
if (await fs.pathExists(scenariosPath)) {
|
||||
return scenariosPath;
|
||||
}
|
||||
|
||||
return undefined;
|
||||
}
|
||||
|
||||
private async unloadAllScenarios(): Promise<void> {
|
||||
this.server.resetHandlers();
|
||||
await commands.executeCommand('setContext', 'codeQL.mockGitHubApiServer.scenarioLoaded', false);
|
||||
}
|
||||
|
||||
private setupConfigListener(): void {
|
||||
// The config "changes" from the default at startup, so we need to call onConfigChange() to ensure the server is
|
||||
// started if required.
|
||||
this.onConfigChange();
|
||||
this.config.onDidChangeConfiguration(() => this.onConfigChange());
|
||||
}
|
||||
|
||||
private onConfigChange(): void {
|
||||
if (this.config.mockServerEnabled && !this.isListening) {
|
||||
this.startServer();
|
||||
} else if (!this.config.mockServerEnabled && this.isListening) {
|
||||
this.stopServer();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,159 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getRepo"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments",
|
||||
"created_at": "2022-10-26T10:37:59Z",
|
||||
"updated_at": "2022-10-26T10:37:59Z",
|
||||
"pushed_at": "2022-10-26T10:38:02Z",
|
||||
"git_url": "git://github.com/github/mrva-demo-controller-repo.git",
|
||||
"ssh_url": "git@github.com:github/mrva-demo-controller-repo.git",
|
||||
"clone_url": "https://github.com/github/mrva-demo-controller-repo.git",
|
||||
"svn_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"allow_forking": false,
|
||||
"is_template": false,
|
||||
"web_commit_signoff_required": false,
|
||||
"topics": [],
|
||||
"visibility": "private",
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"maintain": true,
|
||||
"push": true,
|
||||
"triage": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "AACMDDJDUEDYNJMXGTD2FZDDLI32O",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"allow_auto_merge": false,
|
||||
"delete_branch_on_merge": false,
|
||||
"allow_update_branch": false,
|
||||
"use_squash_pr_title_as_default": false,
|
||||
"squash_merge_commit_message": "COMMIT_MESSAGES",
|
||||
"squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
|
||||
"merge_commit_message": "PR_TITLE",
|
||||
"merge_commit_title": "MERGE_MESSAGE",
|
||||
"organization": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"security_and_analysis": {
|
||||
"advanced_security": {
|
||||
"status": "enabled"
|
||||
},
|
||||
"secret_scanning": {
|
||||
"status": "enabled"
|
||||
},
|
||||
"secret_scanning_push_protection": {
|
||||
"status": "enabled"
|
||||
}
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "submitVariantAnalysis"
|
||||
},
|
||||
"response": {
|
||||
"status": 201,
|
||||
"body": {
|
||||
"id": 151,
|
||||
"controller_repo": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments"
|
||||
},
|
||||
"actor": {
|
||||
"login": "charisk",
|
||||
"id": 311693,
|
||||
"node_id": "MDQ6VXNlcjMxMTY5Mw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/311693?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/charisk",
|
||||
"html_url": "https://github.com/charisk",
|
||||
"followers_url": "https://api.github.com/users/charisk/followers",
|
||||
"following_url": "https://api.github.com/users/charisk/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/charisk/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/charisk/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/charisk/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/charisk/orgs",
|
||||
"repos_url": "https://api.github.com/users/charisk/repos",
|
||||
"events_url": "https://api.github.com/users/charisk/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/charisk/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"query_language": "javascript",
|
||||
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/151/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T074259Z&X-Amz-Expires=3600&X-Amz-Signature=e4cda8a5cf9fdb154204dea6bc0ddd70ba5fbc3b3102e922368e08391f7c47de&X-Amz-SignedHeaders=host",
|
||||
"created_at": "2022-10-27T07:42:59Z",
|
||||
"updated_at": "2022-10-27T07:42:59Z",
|
||||
"status": "in_progress",
|
||||
"skipped_repositories": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysisRepo",
|
||||
"repositoryId": 18782726
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"repository": {
|
||||
"id": 18782726,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkxODc4MjcyNg==",
|
||||
"name": "OwlCarousel2",
|
||||
"full_name": "OwlCarousel2/OwlCarousel2",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "OwlCarousel2",
|
||||
"id": 18146764,
|
||||
"node_id": "MDQ6VXNlcjE4MTQ2NzY0",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/18146764?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/OwlCarousel2",
|
||||
"html_url": "https://github.com/OwlCarousel2",
|
||||
"followers_url": "https://api.github.com/users/OwlCarousel2/followers",
|
||||
"following_url": "https://api.github.com/users/OwlCarousel2/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/OwlCarousel2/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/OwlCarousel2/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/OwlCarousel2/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/OwlCarousel2/orgs",
|
||||
"repos_url": "https://api.github.com/users/OwlCarousel2/repos",
|
||||
"events_url": "https://api.github.com/users/OwlCarousel2/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/OwlCarousel2/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/OwlCarousel2/OwlCarousel2",
|
||||
"description": "DEPRECATED jQuery Responsive Carousel.",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2",
|
||||
"forks_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/forks",
|
||||
"keys_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/teams",
|
||||
"hooks_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/events",
|
||||
"assignees_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/tags",
|
||||
"blobs_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/subscription",
|
||||
"commits_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/merges",
|
||||
"archive_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/downloads",
|
||||
"issues_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/OwlCarousel2/OwlCarousel2/deployments"
|
||||
},
|
||||
"analysis_status": "succeeded",
|
||||
"artifact_size_in_bytes": 30819,
|
||||
"result_count": 3,
|
||||
"database_commit_sha": "4eedccac4ea061931162a86e3f268332c16a1ad0",
|
||||
"source_location_prefix": "/home/runner/work/bulk-builder/bulk-builder",
|
||||
"artifact_url": "https://objects-origin.githubusercontent.com/codeql-query-console/codeql-variant-analysis-repo-tasks/151/18782726/a770474d-fd1c-4628-aee7-cfda1cf23c5d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T074804Z&X-Amz-Expires=300&X-Amz-Signature=e16cf33b90cb9c1d20ba6bb6e658f01a329ae181372e7180889438370c86360a&X-Amz-SignedHeaders=host&actor_id=311693&key_id=0&repo_id=557804416"
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysisRepoResult",
|
||||
"repositoryId": 17335035
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": "file:11-getVariantAnalysisRepoResult.body.zip",
|
||||
"contentType": "application/zip"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysisRepoResult",
|
||||
"repositoryId": 18782726
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": "file:12-getVariantAnalysisRepoResult.body.zip",
|
||||
"contentType": "application/zip"
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,863 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysis"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"id": 151,
|
||||
"controller_repo": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments"
|
||||
},
|
||||
"actor": {
|
||||
"login": "charisk",
|
||||
"id": 311693,
|
||||
"node_id": "MDQ6VXNlcjMxMTY5Mw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/311693?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/charisk",
|
||||
"html_url": "https://github.com/charisk",
|
||||
"followers_url": "https://api.github.com/users/charisk/followers",
|
||||
"following_url": "https://api.github.com/users/charisk/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/charisk/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/charisk/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/charisk/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/charisk/orgs",
|
||||
"repos_url": "https://api.github.com/users/charisk/repos",
|
||||
"events_url": "https://api.github.com/users/charisk/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/charisk/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"query_language": "javascript",
|
||||
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/151/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T074305Z&X-Amz-Expires=3600&X-Amz-Signature=6c876b3401d3350a3c68801e25f3cd123a729547402fdafeedb6200f4a23ef77&X-Amz-SignedHeaders=host",
|
||||
"created_at": "2022-10-27T07:42:59Z",
|
||||
"updated_at": "2022-10-27T07:43:02Z",
|
||||
"actions_workflow_run_id": 3335462873,
|
||||
"status": "in_progress",
|
||||
"scanned_repositories": [
|
||||
{
|
||||
"repository": {
|
||||
"id": 478996,
|
||||
"name": "jquery-ui",
|
||||
"full_name": "jquery/jquery-ui",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "pending"
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 648414,
|
||||
"name": "jquery-validation",
|
||||
"full_name": "jquery-validation/jquery-validation",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "pending"
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 2950981,
|
||||
"name": "azure-sdk-for-node",
|
||||
"full_name": "Azure/azure-sdk-for-node",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "pending"
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 17335035,
|
||||
"name": "bootstrap-fileinput",
|
||||
"full_name": "kartik-v/bootstrap-fileinput",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "pending"
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 18782726,
|
||||
"name": "OwlCarousel2",
|
||||
"full_name": "OwlCarousel2/OwlCarousel2",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "pending"
|
||||
}
|
||||
],
|
||||
"skipped_repositories": {
|
||||
"access_mismatch_repos": {
|
||||
"repository_count": 100,
|
||||
"repositories": [
|
||||
{
|
||||
"id": 48296,
|
||||
"name": "raphael",
|
||||
"full_name": "DmitryBaranovskiy/raphael",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 63557,
|
||||
"name": "jquery-mousewheel",
|
||||
"full_name": "jquery/jquery-mousewheel",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 75547,
|
||||
"name": "showdown",
|
||||
"full_name": "showdownjs/showdown",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 84009,
|
||||
"name": "jasmine",
|
||||
"full_name": "jasmine/jasmine",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 84822,
|
||||
"name": "js-beautify",
|
||||
"full_name": "beautify-web/js-beautify",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 165557,
|
||||
"name": "js-base64",
|
||||
"full_name": "dankogai/js-base64",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 167174,
|
||||
"name": "jquery",
|
||||
"full_name": "jquery/jquery",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 237159,
|
||||
"name": "express",
|
||||
"full_name": "expressjs/express",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 292525,
|
||||
"name": "jszip",
|
||||
"full_name": "Stuk/jszip",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 317757,
|
||||
"name": "Modernizr",
|
||||
"full_name": "Modernizr/Modernizr",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 326688,
|
||||
"name": "mustache.js",
|
||||
"full_name": "janl/mustache.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 349241,
|
||||
"name": "underscore",
|
||||
"full_name": "jashkenas/underscore",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 357681,
|
||||
"name": "node-glob",
|
||||
"full_name": "isaacs/node-glob",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 381979,
|
||||
"name": "fullcalendar",
|
||||
"full_name": "fullcalendar/fullcalendar",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 402046,
|
||||
"name": "jsPDF",
|
||||
"full_name": "parallax/jsPDF",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 441854,
|
||||
"name": "markdown-js",
|
||||
"full_name": "evilstreak/markdown-js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 462292,
|
||||
"name": "node-mongodb-native",
|
||||
"full_name": "mongodb/node-mongodb-native",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 467471,
|
||||
"name": "tinymce",
|
||||
"full_name": "tinymce/tinymce",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 475599,
|
||||
"name": "log4js-node",
|
||||
"full_name": "log4js-node/log4js-node",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 478584,
|
||||
"name": "jsdom",
|
||||
"full_name": "jsdom/jsdom",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 486550,
|
||||
"name": "html5-boilerplate",
|
||||
"full_name": "h5bp/html5-boilerplate",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 501326,
|
||||
"name": "requirejs",
|
||||
"full_name": "requirejs/requirejs",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 504220,
|
||||
"name": "html-minifier",
|
||||
"full_name": "kangax/html-minifier",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 508894,
|
||||
"name": "sax-js",
|
||||
"full_name": "isaacs/sax-js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 519390,
|
||||
"name": "emmet",
|
||||
"full_name": "emmetio/emmet",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 527644,
|
||||
"name": "less.js",
|
||||
"full_name": "less/less.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 534940,
|
||||
"name": "mime",
|
||||
"full_name": "broofa/mime",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 557977,
|
||||
"name": "socket.io-client",
|
||||
"full_name": "socketio/socket.io-client",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 557980,
|
||||
"name": "socket.io",
|
||||
"full_name": "socketio/socket.io",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 560495,
|
||||
"name": "jsdoc",
|
||||
"full_name": "jsdoc/jsdoc",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 573569,
|
||||
"name": "jake",
|
||||
"full_name": "jakejs/jake",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 576201,
|
||||
"name": "three.js",
|
||||
"full_name": "mrdoob/three.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 597879,
|
||||
"name": "mongoose",
|
||||
"full_name": "Automattic/mongoose",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 600637,
|
||||
"name": "stats.js",
|
||||
"full_name": "mrdoob/stats.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 602604,
|
||||
"name": "pegjs",
|
||||
"full_name": "pegjs/pegjs",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 620636,
|
||||
"name": "webfontloader",
|
||||
"full_name": "typekit/webfontloader",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 655209,
|
||||
"name": "formidable",
|
||||
"full_name": "node-formidable/formidable",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 667006,
|
||||
"name": "video.js",
|
||||
"full_name": "videojs/video.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 679662,
|
||||
"name": "node-lru-cache",
|
||||
"full_name": "isaacs/node-lru-cache",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 687836,
|
||||
"name": "connect",
|
||||
"full_name": "senchalabs/connect",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 691146,
|
||||
"name": "tween.js",
|
||||
"full_name": "tweenjs/tween.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 698041,
|
||||
"name": "async",
|
||||
"full_name": "caolan/async",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 712530,
|
||||
"name": "fabric.js",
|
||||
"full_name": "fabricjs/fabric.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 714074,
|
||||
"name": "pouchdb",
|
||||
"full_name": "pouchdb/pouchdb",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 715168,
|
||||
"name": "colors.js",
|
||||
"full_name": "Marak/colors.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 734934,
|
||||
"name": "pug",
|
||||
"full_name": "pugjs/pug",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 734957,
|
||||
"name": "node-cron",
|
||||
"full_name": "kelektiv/node-cron",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 743723,
|
||||
"name": "store.js",
|
||||
"full_name": "marcuswestin/store.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 747698,
|
||||
"name": "sinon",
|
||||
"full_name": "sinonjs/sinon",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 757363,
|
||||
"name": "knockout",
|
||||
"full_name": "knockout/knockout",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 779570,
|
||||
"name": "forge",
|
||||
"full_name": "digitalbazaar/forge",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 790359,
|
||||
"name": "sequelize",
|
||||
"full_name": "sequelize/sequelize",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 795421,
|
||||
"name": "node-http-proxy",
|
||||
"full_name": "http-party/node-http-proxy",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 800115,
|
||||
"name": "underscore.string",
|
||||
"full_name": "esamattis/underscore.string",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 805461,
|
||||
"name": "mysql",
|
||||
"full_name": "mysqljs/mysql",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 809601,
|
||||
"name": "handlebars.js",
|
||||
"full_name": "handlebars-lang/handlebars.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 887025,
|
||||
"name": "q",
|
||||
"full_name": "kriskowal/q",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 893522,
|
||||
"name": "node-serialport",
|
||||
"full_name": "serialport/node-serialport",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 908893,
|
||||
"name": "node-redis",
|
||||
"full_name": "redis/node-redis",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 914603,
|
||||
"name": "es5-shim",
|
||||
"full_name": "es-shims/es5-shim",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 926231,
|
||||
"name": "Inputmask",
|
||||
"full_name": "RobinHerbots/Inputmask",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 931039,
|
||||
"name": "browserify",
|
||||
"full_name": "browserify/browserify",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 931135,
|
||||
"name": "Leaflet",
|
||||
"full_name": "Leaflet/Leaflet",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 942903,
|
||||
"name": "forever",
|
||||
"full_name": "foreversd/forever",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 943149,
|
||||
"name": "d3",
|
||||
"full_name": "d3/d3",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 947175,
|
||||
"name": "json-schema",
|
||||
"full_name": "kriszyp/json-schema",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 952189,
|
||||
"name": "backbone",
|
||||
"full_name": "jashkenas/backbone",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 958314,
|
||||
"name": "nodemon",
|
||||
"full_name": "remy/nodemon",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 965782,
|
||||
"name": "validator.js",
|
||||
"full_name": "validatorjs/validator.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 991475,
|
||||
"name": "node-postgres",
|
||||
"full_name": "brianc/node-postgres",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 996158,
|
||||
"name": "watch",
|
||||
"full_name": "mikeal/watch",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1025209,
|
||||
"name": "CSSOM",
|
||||
"full_name": "NV/CSSOM",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1130565,
|
||||
"name": "node-config",
|
||||
"full_name": "node-config/node-config",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1186030,
|
||||
"name": "node-qrcode",
|
||||
"full_name": "soldair/node-qrcode",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1203139,
|
||||
"name": "uuid",
|
||||
"full_name": "uuidjs/uuid",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1204214,
|
||||
"name": "stylus",
|
||||
"full_name": "stylus/stylus",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1206546,
|
||||
"name": "winston",
|
||||
"full_name": "winstonjs/winston",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1213225,
|
||||
"name": "highlight.js",
|
||||
"full_name": "highlightjs/highlight.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1218383,
|
||||
"name": "cli-table",
|
||||
"full_name": "Automattic/cli-table",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1254497,
|
||||
"name": "codemirror5",
|
||||
"full_name": "codemirror/codemirror5",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1272424,
|
||||
"name": "nodemailer",
|
||||
"full_name": "nodemailer/nodemailer",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1272666,
|
||||
"name": "jshint",
|
||||
"full_name": "jshint/jshint",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1283503,
|
||||
"name": "request",
|
||||
"full_name": "request/request",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1295612,
|
||||
"name": "flot",
|
||||
"full_name": "flot/flot",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1341324,
|
||||
"name": "rimraf",
|
||||
"full_name": "isaacs/rimraf",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1357199,
|
||||
"name": "node-semver",
|
||||
"full_name": "npm/node-semver",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1369824,
|
||||
"name": "csso",
|
||||
"full_name": "css/csso",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1419138,
|
||||
"name": "clean-css",
|
||||
"full_name": "clean-css/clean-css",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1424470,
|
||||
"name": "moment",
|
||||
"full_name": "moment/moment",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1451352,
|
||||
"name": "mocha",
|
||||
"full_name": "mochajs/mocha",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1474943,
|
||||
"name": "node-dateformat",
|
||||
"full_name": "felixge/node-dateformat",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1534331,
|
||||
"name": "node-tar",
|
||||
"full_name": "npm/node-tar",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1542219,
|
||||
"name": "jsdiff",
|
||||
"full_name": "kpdecker/jsdiff",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1544436,
|
||||
"name": "nopt",
|
||||
"full_name": "npm/nopt",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1545869,
|
||||
"name": "when",
|
||||
"full_name": "cujojs/when",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1569980,
|
||||
"name": "MQTT.js",
|
||||
"full_name": "mqttjs/MQTT.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1580001,
|
||||
"name": "inherits",
|
||||
"full_name": "isaacs/inherits",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1580851,
|
||||
"name": "PhotoSwipe",
|
||||
"full_name": "dimsemenov/PhotoSwipe",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1588997,
|
||||
"name": "node-spdy",
|
||||
"full_name": "spdy-http2/node-spdy",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1590986,
|
||||
"name": "WebSocket-Node",
|
||||
"full_name": "theturtle32/WebSocket-Node",
|
||||
"private": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"not_found_repo_nwos": {
|
||||
"repository_count": 110,
|
||||
"repository_full_names": [
|
||||
"evanw/node-source-map-support",
|
||||
"angular-ui/ui-router",
|
||||
"webpack/tapable",
|
||||
"pixijs/pixijs",
|
||||
"chjj/blessed",
|
||||
"goldfire/howler.js",
|
||||
"expressjs/cors",
|
||||
"karma-runner/karma-jasmine",
|
||||
"vega/vega",
|
||||
"mdevils/html-entities",
|
||||
"josdejong/mathjs",
|
||||
"jshttp/methods",
|
||||
"moll/json-stringify-safe",
|
||||
"twitter/typeahead.js",
|
||||
"webpack/node-libs-browser",
|
||||
"processing/p5.js",
|
||||
"protobufjs/protobuf.js",
|
||||
"googleapis/google-api-nodejs-client",
|
||||
"mapbox/mapbox-gl-js",
|
||||
"usablica/intro.js",
|
||||
"jimhigson/oboe.js",
|
||||
"postcss/autoprefixer",
|
||||
"chartjs/Chart.js",
|
||||
"pimterry/loglevel",
|
||||
"google/traceur-compiler",
|
||||
"plurals/pluralize",
|
||||
"alexei/sprintf.js",
|
||||
"ecomfe/zrender",
|
||||
"apache/echarts",
|
||||
"npm/normalize-package-data",
|
||||
"brix/crypto-js",
|
||||
"Semantic-Org/Semantic-UI",
|
||||
"strongloop/loopback",
|
||||
"photonstorm/phaser",
|
||||
"blakeembrey/change-case",
|
||||
"sidorares/node-mysql2",
|
||||
"hiddentao/fast-levenshtein",
|
||||
"uncss/uncss",
|
||||
"pure-css/pure",
|
||||
"benjamn/ast-types",
|
||||
"nuysoft/Mock",
|
||||
"summernote/summernote",
|
||||
"dcodeIO/bcrypt.js",
|
||||
"louischatriot/nedb",
|
||||
"TryGhost/Ghost",
|
||||
"pieroxy/lz-string",
|
||||
"systemjs/systemjs",
|
||||
"SBoudrias/Inquirer.js",
|
||||
"bripkens/connect-history-api-fallback",
|
||||
"algolia/algoliasearch-client-javascript",
|
||||
"mathiasbynens/regenerate",
|
||||
"Unitech/pm2",
|
||||
"facebook/react",
|
||||
"mattboldt/typed.js",
|
||||
"mscdex/busboy",
|
||||
"Grsmto/simplebar",
|
||||
"mathiasbynens/jsesc",
|
||||
"tj/co",
|
||||
"chancejs/chancejs",
|
||||
"ramda/ramda",
|
||||
"elastic/elasticsearch-js",
|
||||
"mathiasbynens/he",
|
||||
"BabylonJS/Babylon.js",
|
||||
"eslint/eslint",
|
||||
"auth0/node-jsonwebtoken",
|
||||
"image-size/image-size",
|
||||
"gulpjs/gulp",
|
||||
"KaTeX/KaTeX",
|
||||
"motdotla/dotenv",
|
||||
"TooTallNate/node-https-proxy-agent",
|
||||
"kriskowal/asap",
|
||||
"estools/esquery",
|
||||
"micromatch/anymatch",
|
||||
"zloirock/core-js",
|
||||
"sindresorhus/slash",
|
||||
"koajs/koa",
|
||||
"techfort/LokiJS",
|
||||
"vuejs/vue",
|
||||
"chalk/ansi-styles",
|
||||
"rvagg/through2",
|
||||
"chalk/supports-color",
|
||||
"chalk/chalk",
|
||||
"mafintosh/pump",
|
||||
"adobe-webplatform/Snap.svg",
|
||||
"lovell/sharp",
|
||||
"rstacruz/nprogress",
|
||||
"ionic-team/ionic-framework",
|
||||
"dlmanning/gulp-sass",
|
||||
"node-red/node-red",
|
||||
"petkaantonov/bluebird",
|
||||
"stream-utils/raw-body",
|
||||
"alvarotrigo/fullPage.js",
|
||||
"janpaepke/ScrollMagic",
|
||||
"postcss/postcss",
|
||||
"primus/eventemitter3",
|
||||
"Turfjs/turf",
|
||||
"request/request-promise",
|
||||
"facebook/regenerator",
|
||||
"mholt/PapaParse",
|
||||
"ionic-team/ionicons"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysisRepo",
|
||||
"repositoryId": 648414
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"repository": {
|
||||
"id": 648414,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnk2NDg0MTQ=",
|
||||
"name": "jquery-validation",
|
||||
"full_name": "jquery-validation/jquery-validation",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "jquery-validation",
|
||||
"id": 25417692,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjI1NDE3Njky",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/25417692?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jquery-validation",
|
||||
"html_url": "https://github.com/jquery-validation",
|
||||
"followers_url": "https://api.github.com/users/jquery-validation/followers",
|
||||
"following_url": "https://api.github.com/users/jquery-validation/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jquery-validation/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jquery-validation/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jquery-validation/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jquery-validation/orgs",
|
||||
"repos_url": "https://api.github.com/users/jquery-validation/repos",
|
||||
"events_url": "https://api.github.com/users/jquery-validation/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jquery-validation/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/jquery-validation/jquery-validation",
|
||||
"description": "jQuery Validation Plugin library sources",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/jquery-validation/jquery-validation",
|
||||
"forks_url": "https://api.github.com/repos/jquery-validation/jquery-validation/forks",
|
||||
"keys_url": "https://api.github.com/repos/jquery-validation/jquery-validation/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/jquery-validation/jquery-validation/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/jquery-validation/jquery-validation/teams",
|
||||
"hooks_url": "https://api.github.com/repos/jquery-validation/jquery-validation/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/jquery-validation/jquery-validation/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/jquery-validation/jquery-validation/events",
|
||||
"assignees_url": "https://api.github.com/repos/jquery-validation/jquery-validation/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/jquery-validation/jquery-validation/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/jquery-validation/jquery-validation/tags",
|
||||
"blobs_url": "https://api.github.com/repos/jquery-validation/jquery-validation/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/jquery-validation/jquery-validation/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/jquery-validation/jquery-validation/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/jquery-validation/jquery-validation/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/jquery-validation/jquery-validation/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/jquery-validation/jquery-validation/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/jquery-validation/jquery-validation/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/jquery-validation/jquery-validation/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/jquery-validation/jquery-validation/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/jquery-validation/jquery-validation/subscription",
|
||||
"commits_url": "https://api.github.com/repos/jquery-validation/jquery-validation/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/jquery-validation/jquery-validation/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/jquery-validation/jquery-validation/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/jquery-validation/jquery-validation/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/jquery-validation/jquery-validation/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/jquery-validation/jquery-validation/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/jquery-validation/jquery-validation/merges",
|
||||
"archive_url": "https://api.github.com/repos/jquery-validation/jquery-validation/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/jquery-validation/jquery-validation/downloads",
|
||||
"issues_url": "https://api.github.com/repos/jquery-validation/jquery-validation/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/jquery-validation/jquery-validation/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/jquery-validation/jquery-validation/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/jquery-validation/jquery-validation/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/jquery-validation/jquery-validation/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/jquery-validation/jquery-validation/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/jquery-validation/jquery-validation/deployments"
|
||||
},
|
||||
"analysis_status": "succeeded",
|
||||
"artifact_size_in_bytes": 64526,
|
||||
"result_count": 2,
|
||||
"database_commit_sha": "f1bb23544bb7a796402b763af115662651aa6dbd",
|
||||
"source_location_prefix": "/home/runner/work/jquery-validation/jquery-validation",
|
||||
"artifact_url": "https://objects-origin.githubusercontent.com/codeql-query-console/codeql-variant-analysis-repo-tasks/151/648414/63b1ecf8-76fb-48d3-a937-11aec3d1f665?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T075306Z&X-Amz-Expires=300&X-Amz-Signature=50bbc50bffeeb521765cce9ed00d5e4afd2807219fb6de810fa0acac75d94d36&X-Amz-SignedHeaders=host&actor_id=311693&key_id=0&repo_id=557804416"
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysisRepoResult",
|
||||
"repositoryId": 648414
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": "file:25-getVariantAnalysisRepoResult.body.zip",
|
||||
"contentType": "application/zip"
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,863 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysis"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"id": 151,
|
||||
"controller_repo": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments"
|
||||
},
|
||||
"actor": {
|
||||
"login": "charisk",
|
||||
"id": 311693,
|
||||
"node_id": "MDQ6VXNlcjMxMTY5Mw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/311693?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/charisk",
|
||||
"html_url": "https://github.com/charisk",
|
||||
"followers_url": "https://api.github.com/users/charisk/followers",
|
||||
"following_url": "https://api.github.com/users/charisk/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/charisk/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/charisk/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/charisk/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/charisk/orgs",
|
||||
"repos_url": "https://api.github.com/users/charisk/repos",
|
||||
"events_url": "https://api.github.com/users/charisk/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/charisk/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"query_language": "javascript",
|
||||
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/151/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T074311Z&X-Amz-Expires=3600&X-Amz-Signature=f64eab84c8e1fd07362dbcfd5fa0447bf22a7d565c88d862aed667fa6b37234e&X-Amz-SignedHeaders=host",
|
||||
"created_at": "2022-10-27T07:42:59Z",
|
||||
"updated_at": "2022-10-27T07:43:02Z",
|
||||
"actions_workflow_run_id": 3335462873,
|
||||
"status": "in_progress",
|
||||
"scanned_repositories": [
|
||||
{
|
||||
"repository": {
|
||||
"id": 478996,
|
||||
"name": "jquery-ui",
|
||||
"full_name": "jquery/jquery-ui",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "pending"
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 648414,
|
||||
"name": "jquery-validation",
|
||||
"full_name": "jquery-validation/jquery-validation",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "pending"
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 2950981,
|
||||
"name": "azure-sdk-for-node",
|
||||
"full_name": "Azure/azure-sdk-for-node",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "pending"
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 17335035,
|
||||
"name": "bootstrap-fileinput",
|
||||
"full_name": "kartik-v/bootstrap-fileinput",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "pending"
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 18782726,
|
||||
"name": "OwlCarousel2",
|
||||
"full_name": "OwlCarousel2/OwlCarousel2",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "pending"
|
||||
}
|
||||
],
|
||||
"skipped_repositories": {
|
||||
"access_mismatch_repos": {
|
||||
"repository_count": 100,
|
||||
"repositories": [
|
||||
{
|
||||
"id": 48296,
|
||||
"name": "raphael",
|
||||
"full_name": "DmitryBaranovskiy/raphael",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 63557,
|
||||
"name": "jquery-mousewheel",
|
||||
"full_name": "jquery/jquery-mousewheel",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 75547,
|
||||
"name": "showdown",
|
||||
"full_name": "showdownjs/showdown",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 84009,
|
||||
"name": "jasmine",
|
||||
"full_name": "jasmine/jasmine",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 84822,
|
||||
"name": "js-beautify",
|
||||
"full_name": "beautify-web/js-beautify",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 165557,
|
||||
"name": "js-base64",
|
||||
"full_name": "dankogai/js-base64",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 167174,
|
||||
"name": "jquery",
|
||||
"full_name": "jquery/jquery",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 237159,
|
||||
"name": "express",
|
||||
"full_name": "expressjs/express",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 292525,
|
||||
"name": "jszip",
|
||||
"full_name": "Stuk/jszip",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 317757,
|
||||
"name": "Modernizr",
|
||||
"full_name": "Modernizr/Modernizr",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 326688,
|
||||
"name": "mustache.js",
|
||||
"full_name": "janl/mustache.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 349241,
|
||||
"name": "underscore",
|
||||
"full_name": "jashkenas/underscore",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 357681,
|
||||
"name": "node-glob",
|
||||
"full_name": "isaacs/node-glob",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 381979,
|
||||
"name": "fullcalendar",
|
||||
"full_name": "fullcalendar/fullcalendar",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 402046,
|
||||
"name": "jsPDF",
|
||||
"full_name": "parallax/jsPDF",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 441854,
|
||||
"name": "markdown-js",
|
||||
"full_name": "evilstreak/markdown-js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 462292,
|
||||
"name": "node-mongodb-native",
|
||||
"full_name": "mongodb/node-mongodb-native",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 467471,
|
||||
"name": "tinymce",
|
||||
"full_name": "tinymce/tinymce",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 475599,
|
||||
"name": "log4js-node",
|
||||
"full_name": "log4js-node/log4js-node",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 478584,
|
||||
"name": "jsdom",
|
||||
"full_name": "jsdom/jsdom",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 486550,
|
||||
"name": "html5-boilerplate",
|
||||
"full_name": "h5bp/html5-boilerplate",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 501326,
|
||||
"name": "requirejs",
|
||||
"full_name": "requirejs/requirejs",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 504220,
|
||||
"name": "html-minifier",
|
||||
"full_name": "kangax/html-minifier",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 508894,
|
||||
"name": "sax-js",
|
||||
"full_name": "isaacs/sax-js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 519390,
|
||||
"name": "emmet",
|
||||
"full_name": "emmetio/emmet",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 527644,
|
||||
"name": "less.js",
|
||||
"full_name": "less/less.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 534940,
|
||||
"name": "mime",
|
||||
"full_name": "broofa/mime",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 557977,
|
||||
"name": "socket.io-client",
|
||||
"full_name": "socketio/socket.io-client",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 557980,
|
||||
"name": "socket.io",
|
||||
"full_name": "socketio/socket.io",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 560495,
|
||||
"name": "jsdoc",
|
||||
"full_name": "jsdoc/jsdoc",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 573569,
|
||||
"name": "jake",
|
||||
"full_name": "jakejs/jake",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 576201,
|
||||
"name": "three.js",
|
||||
"full_name": "mrdoob/three.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 597879,
|
||||
"name": "mongoose",
|
||||
"full_name": "Automattic/mongoose",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 600637,
|
||||
"name": "stats.js",
|
||||
"full_name": "mrdoob/stats.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 602604,
|
||||
"name": "pegjs",
|
||||
"full_name": "pegjs/pegjs",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 620636,
|
||||
"name": "webfontloader",
|
||||
"full_name": "typekit/webfontloader",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 655209,
|
||||
"name": "formidable",
|
||||
"full_name": "node-formidable/formidable",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 667006,
|
||||
"name": "video.js",
|
||||
"full_name": "videojs/video.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 679662,
|
||||
"name": "node-lru-cache",
|
||||
"full_name": "isaacs/node-lru-cache",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 687836,
|
||||
"name": "connect",
|
||||
"full_name": "senchalabs/connect",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 691146,
|
||||
"name": "tween.js",
|
||||
"full_name": "tweenjs/tween.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 698041,
|
||||
"name": "async",
|
||||
"full_name": "caolan/async",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 712530,
|
||||
"name": "fabric.js",
|
||||
"full_name": "fabricjs/fabric.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 714074,
|
||||
"name": "pouchdb",
|
||||
"full_name": "pouchdb/pouchdb",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 715168,
|
||||
"name": "colors.js",
|
||||
"full_name": "Marak/colors.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 734934,
|
||||
"name": "pug",
|
||||
"full_name": "pugjs/pug",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 734957,
|
||||
"name": "node-cron",
|
||||
"full_name": "kelektiv/node-cron",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 743723,
|
||||
"name": "store.js",
|
||||
"full_name": "marcuswestin/store.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 747698,
|
||||
"name": "sinon",
|
||||
"full_name": "sinonjs/sinon",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 757363,
|
||||
"name": "knockout",
|
||||
"full_name": "knockout/knockout",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 779570,
|
||||
"name": "forge",
|
||||
"full_name": "digitalbazaar/forge",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 790359,
|
||||
"name": "sequelize",
|
||||
"full_name": "sequelize/sequelize",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 795421,
|
||||
"name": "node-http-proxy",
|
||||
"full_name": "http-party/node-http-proxy",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 800115,
|
||||
"name": "underscore.string",
|
||||
"full_name": "esamattis/underscore.string",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 805461,
|
||||
"name": "mysql",
|
||||
"full_name": "mysqljs/mysql",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 809601,
|
||||
"name": "handlebars.js",
|
||||
"full_name": "handlebars-lang/handlebars.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 887025,
|
||||
"name": "q",
|
||||
"full_name": "kriskowal/q",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 893522,
|
||||
"name": "node-serialport",
|
||||
"full_name": "serialport/node-serialport",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 908893,
|
||||
"name": "node-redis",
|
||||
"full_name": "redis/node-redis",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 914603,
|
||||
"name": "es5-shim",
|
||||
"full_name": "es-shims/es5-shim",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 926231,
|
||||
"name": "Inputmask",
|
||||
"full_name": "RobinHerbots/Inputmask",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 931039,
|
||||
"name": "browserify",
|
||||
"full_name": "browserify/browserify",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 931135,
|
||||
"name": "Leaflet",
|
||||
"full_name": "Leaflet/Leaflet",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 942903,
|
||||
"name": "forever",
|
||||
"full_name": "foreversd/forever",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 943149,
|
||||
"name": "d3",
|
||||
"full_name": "d3/d3",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 947175,
|
||||
"name": "json-schema",
|
||||
"full_name": "kriszyp/json-schema",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 952189,
|
||||
"name": "backbone",
|
||||
"full_name": "jashkenas/backbone",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 958314,
|
||||
"name": "nodemon",
|
||||
"full_name": "remy/nodemon",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 965782,
|
||||
"name": "validator.js",
|
||||
"full_name": "validatorjs/validator.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 991475,
|
||||
"name": "node-postgres",
|
||||
"full_name": "brianc/node-postgres",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 996158,
|
||||
"name": "watch",
|
||||
"full_name": "mikeal/watch",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1025209,
|
||||
"name": "CSSOM",
|
||||
"full_name": "NV/CSSOM",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1130565,
|
||||
"name": "node-config",
|
||||
"full_name": "node-config/node-config",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1186030,
|
||||
"name": "node-qrcode",
|
||||
"full_name": "soldair/node-qrcode",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1203139,
|
||||
"name": "uuid",
|
||||
"full_name": "uuidjs/uuid",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1204214,
|
||||
"name": "stylus",
|
||||
"full_name": "stylus/stylus",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1206546,
|
||||
"name": "winston",
|
||||
"full_name": "winstonjs/winston",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1213225,
|
||||
"name": "highlight.js",
|
||||
"full_name": "highlightjs/highlight.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1218383,
|
||||
"name": "cli-table",
|
||||
"full_name": "Automattic/cli-table",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1254497,
|
||||
"name": "codemirror5",
|
||||
"full_name": "codemirror/codemirror5",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1272424,
|
||||
"name": "nodemailer",
|
||||
"full_name": "nodemailer/nodemailer",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1272666,
|
||||
"name": "jshint",
|
||||
"full_name": "jshint/jshint",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1283503,
|
||||
"name": "request",
|
||||
"full_name": "request/request",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1295612,
|
||||
"name": "flot",
|
||||
"full_name": "flot/flot",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1341324,
|
||||
"name": "rimraf",
|
||||
"full_name": "isaacs/rimraf",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1357199,
|
||||
"name": "node-semver",
|
||||
"full_name": "npm/node-semver",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1369824,
|
||||
"name": "csso",
|
||||
"full_name": "css/csso",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1419138,
|
||||
"name": "clean-css",
|
||||
"full_name": "clean-css/clean-css",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1424470,
|
||||
"name": "moment",
|
||||
"full_name": "moment/moment",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1451352,
|
||||
"name": "mocha",
|
||||
"full_name": "mochajs/mocha",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1474943,
|
||||
"name": "node-dateformat",
|
||||
"full_name": "felixge/node-dateformat",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1534331,
|
||||
"name": "node-tar",
|
||||
"full_name": "npm/node-tar",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1542219,
|
||||
"name": "jsdiff",
|
||||
"full_name": "kpdecker/jsdiff",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1544436,
|
||||
"name": "nopt",
|
||||
"full_name": "npm/nopt",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1545869,
|
||||
"name": "when",
|
||||
"full_name": "cujojs/when",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1569980,
|
||||
"name": "MQTT.js",
|
||||
"full_name": "mqttjs/MQTT.js",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1580001,
|
||||
"name": "inherits",
|
||||
"full_name": "isaacs/inherits",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1580851,
|
||||
"name": "PhotoSwipe",
|
||||
"full_name": "dimsemenov/PhotoSwipe",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1588997,
|
||||
"name": "node-spdy",
|
||||
"full_name": "spdy-http2/node-spdy",
|
||||
"private": false
|
||||
},
|
||||
{
|
||||
"id": 1590986,
|
||||
"name": "WebSocket-Node",
|
||||
"full_name": "theturtle32/WebSocket-Node",
|
||||
"private": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"not_found_repo_nwos": {
|
||||
"repository_count": 110,
|
||||
"repository_full_names": [
|
||||
"evanw/node-source-map-support",
|
||||
"angular-ui/ui-router",
|
||||
"webpack/tapable",
|
||||
"pixijs/pixijs",
|
||||
"chjj/blessed",
|
||||
"goldfire/howler.js",
|
||||
"expressjs/cors",
|
||||
"karma-runner/karma-jasmine",
|
||||
"vega/vega",
|
||||
"mdevils/html-entities",
|
||||
"josdejong/mathjs",
|
||||
"jshttp/methods",
|
||||
"moll/json-stringify-safe",
|
||||
"twitter/typeahead.js",
|
||||
"webpack/node-libs-browser",
|
||||
"processing/p5.js",
|
||||
"protobufjs/protobuf.js",
|
||||
"googleapis/google-api-nodejs-client",
|
||||
"mapbox/mapbox-gl-js",
|
||||
"usablica/intro.js",
|
||||
"jimhigson/oboe.js",
|
||||
"postcss/autoprefixer",
|
||||
"chartjs/Chart.js",
|
||||
"pimterry/loglevel",
|
||||
"google/traceur-compiler",
|
||||
"plurals/pluralize",
|
||||
"alexei/sprintf.js",
|
||||
"ecomfe/zrender",
|
||||
"apache/echarts",
|
||||
"npm/normalize-package-data",
|
||||
"brix/crypto-js",
|
||||
"Semantic-Org/Semantic-UI",
|
||||
"strongloop/loopback",
|
||||
"photonstorm/phaser",
|
||||
"blakeembrey/change-case",
|
||||
"sidorares/node-mysql2",
|
||||
"hiddentao/fast-levenshtein",
|
||||
"uncss/uncss",
|
||||
"pure-css/pure",
|
||||
"benjamn/ast-types",
|
||||
"nuysoft/Mock",
|
||||
"summernote/summernote",
|
||||
"dcodeIO/bcrypt.js",
|
||||
"louischatriot/nedb",
|
||||
"TryGhost/Ghost",
|
||||
"pieroxy/lz-string",
|
||||
"systemjs/systemjs",
|
||||
"SBoudrias/Inquirer.js",
|
||||
"bripkens/connect-history-api-fallback",
|
||||
"algolia/algoliasearch-client-javascript",
|
||||
"mathiasbynens/regenerate",
|
||||
"Unitech/pm2",
|
||||
"facebook/react",
|
||||
"mattboldt/typed.js",
|
||||
"mscdex/busboy",
|
||||
"Grsmto/simplebar",
|
||||
"mathiasbynens/jsesc",
|
||||
"tj/co",
|
||||
"chancejs/chancejs",
|
||||
"ramda/ramda",
|
||||
"elastic/elasticsearch-js",
|
||||
"mathiasbynens/he",
|
||||
"BabylonJS/Babylon.js",
|
||||
"eslint/eslint",
|
||||
"auth0/node-jsonwebtoken",
|
||||
"image-size/image-size",
|
||||
"gulpjs/gulp",
|
||||
"KaTeX/KaTeX",
|
||||
"motdotla/dotenv",
|
||||
"TooTallNate/node-https-proxy-agent",
|
||||
"kriskowal/asap",
|
||||
"estools/esquery",
|
||||
"micromatch/anymatch",
|
||||
"zloirock/core-js",
|
||||
"sindresorhus/slash",
|
||||
"koajs/koa",
|
||||
"techfort/LokiJS",
|
||||
"vuejs/vue",
|
||||
"chalk/ansi-styles",
|
||||
"rvagg/through2",
|
||||
"chalk/supports-color",
|
||||
"chalk/chalk",
|
||||
"mafintosh/pump",
|
||||
"adobe-webplatform/Snap.svg",
|
||||
"lovell/sharp",
|
||||
"rstacruz/nprogress",
|
||||
"ionic-team/ionic-framework",
|
||||
"dlmanning/gulp-sass",
|
||||
"node-red/node-red",
|
||||
"petkaantonov/bluebird",
|
||||
"stream-utils/raw-body",
|
||||
"alvarotrigo/fullPage.js",
|
||||
"janpaepke/ScrollMagic",
|
||||
"postcss/postcss",
|
||||
"primus/eventemitter3",
|
||||
"Turfjs/turf",
|
||||
"request/request-promise",
|
||||
"facebook/regenerator",
|
||||
"mholt/PapaParse",
|
||||
"ionic-team/ionicons"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysisRepo",
|
||||
"repositoryId": 478996
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"repository": {
|
||||
"id": 478996,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnk0Nzg5OTY=",
|
||||
"name": "jquery-ui",
|
||||
"full_name": "jquery/jquery-ui",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "jquery",
|
||||
"id": 70142,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjcwMTQy",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/70142?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jquery",
|
||||
"html_url": "https://github.com/jquery",
|
||||
"followers_url": "https://api.github.com/users/jquery/followers",
|
||||
"following_url": "https://api.github.com/users/jquery/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jquery/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jquery/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jquery/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jquery/orgs",
|
||||
"repos_url": "https://api.github.com/users/jquery/repos",
|
||||
"events_url": "https://api.github.com/users/jquery/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jquery/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/jquery/jquery-ui",
|
||||
"description": "The official jQuery user interface library.",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/jquery/jquery-ui",
|
||||
"forks_url": "https://api.github.com/repos/jquery/jquery-ui/forks",
|
||||
"keys_url": "https://api.github.com/repos/jquery/jquery-ui/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/jquery/jquery-ui/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/jquery/jquery-ui/teams",
|
||||
"hooks_url": "https://api.github.com/repos/jquery/jquery-ui/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/jquery/jquery-ui/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/jquery/jquery-ui/events",
|
||||
"assignees_url": "https://api.github.com/repos/jquery/jquery-ui/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/jquery/jquery-ui/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/jquery/jquery-ui/tags",
|
||||
"blobs_url": "https://api.github.com/repos/jquery/jquery-ui/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/jquery/jquery-ui/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/jquery/jquery-ui/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/jquery/jquery-ui/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/jquery/jquery-ui/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/jquery/jquery-ui/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/jquery/jquery-ui/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/jquery/jquery-ui/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/jquery/jquery-ui/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/jquery/jquery-ui/subscription",
|
||||
"commits_url": "https://api.github.com/repos/jquery/jquery-ui/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/jquery/jquery-ui/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/jquery/jquery-ui/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/jquery/jquery-ui/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/jquery/jquery-ui/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/jquery/jquery-ui/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/jquery/jquery-ui/merges",
|
||||
"archive_url": "https://api.github.com/repos/jquery/jquery-ui/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/jquery/jquery-ui/downloads",
|
||||
"issues_url": "https://api.github.com/repos/jquery/jquery-ui/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/jquery/jquery-ui/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/jquery/jquery-ui/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/jquery/jquery-ui/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/jquery/jquery-ui/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/jquery/jquery-ui/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/jquery/jquery-ui/deployments"
|
||||
},
|
||||
"analysis_status": "succeeded",
|
||||
"artifact_size_in_bytes": 11914,
|
||||
"result_count": 1,
|
||||
"database_commit_sha": "62f2ccc5678a8b09df85afd006eb623ac38af189",
|
||||
"source_location_prefix": "/home/runner/work/bulk-builder/bulk-builder",
|
||||
"artifact_url": "https://objects-origin.githubusercontent.com/codeql-query-console/codeql-variant-analysis-repo-tasks/151/478996/5a59f15d-2d55-47d5-b0ba-10e82cb2b37a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T075535Z&X-Amz-Expires=300&X-Amz-Signature=804571915e8ead1ad35315af86964cfdcc2bdee00ef0284094620605af537019&X-Amz-SignedHeaders=host&actor_id=311693&key_id=0&repo_id=557804416"
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysisRepoResult",
|
||||
"repositoryId": 478996
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": "file:37-getVariantAnalysisRepoResult.body.zip",
|
||||
"contentType": "application/zip"
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysisRepo",
|
||||
"repositoryId": 2950981
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"repository": {
|
||||
"id": 2950981,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyOTUwOTgx",
|
||||
"name": "azure-sdk-for-node",
|
||||
"full_name": "Azure/azure-sdk-for-node",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "Azure",
|
||||
"id": 6844498,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6844498?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/Azure",
|
||||
"html_url": "https://github.com/Azure",
|
||||
"followers_url": "https://api.github.com/users/Azure/followers",
|
||||
"following_url": "https://api.github.com/users/Azure/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/Azure/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/Azure/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/Azure/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/Azure/orgs",
|
||||
"repos_url": "https://api.github.com/users/Azure/repos",
|
||||
"events_url": "https://api.github.com/users/Azure/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/Azure/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/Azure/azure-sdk-for-node",
|
||||
"description": "Azure SDK for Node.js - Documentation",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/Azure/azure-sdk-for-node",
|
||||
"forks_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/forks",
|
||||
"keys_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/teams",
|
||||
"hooks_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/events",
|
||||
"assignees_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/tags",
|
||||
"blobs_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/subscription",
|
||||
"commits_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/merges",
|
||||
"archive_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/downloads",
|
||||
"issues_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/Azure/azure-sdk-for-node/deployments"
|
||||
},
|
||||
"analysis_status": "succeeded",
|
||||
"artifact_size_in_bytes": 13977,
|
||||
"result_count": 1,
|
||||
"database_commit_sha": "f20f4a702e111a2798d48561ade45c39fdf31225",
|
||||
"source_location_prefix": "/home/runner/work/bulk-builder/bulk-builder",
|
||||
"artifact_url": "https://objects-origin.githubusercontent.com/codeql-query-console/codeql-variant-analysis-repo-tasks/151/2950981/08e27209-4004-48de-8d59-a35c8142f0f9?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T080529Z&X-Amz-Expires=300&X-Amz-Signature=b792d8481436aa5194a6556408311781e3fa8171ff0f903ccbdc865332d333e8&X-Amz-SignedHeaders=host&actor_id=311693&key_id=0&repo_id=557804416"
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysisRepoResult",
|
||||
"repositoryId": 2950981
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": "file:46-getVariantAnalysisRepoResult.body.zip",
|
||||
"contentType": "application/zip"
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysisRepo",
|
||||
"repositoryId": 17335035
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"repository": {
|
||||
"id": 17335035,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkxNzMzNTAzNQ==",
|
||||
"name": "bootstrap-fileinput",
|
||||
"full_name": "kartik-v/bootstrap-fileinput",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "kartik-v",
|
||||
"id": 3592619,
|
||||
"node_id": "MDQ6VXNlcjM1OTI2MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/3592619?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/kartik-v",
|
||||
"html_url": "https://github.com/kartik-v",
|
||||
"followers_url": "https://api.github.com/users/kartik-v/followers",
|
||||
"following_url": "https://api.github.com/users/kartik-v/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/kartik-v/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/kartik-v/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/kartik-v/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/kartik-v/orgs",
|
||||
"repos_url": "https://api.github.com/users/kartik-v/repos",
|
||||
"events_url": "https://api.github.com/users/kartik-v/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/kartik-v/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/kartik-v/bootstrap-fileinput",
|
||||
"description": "An enhanced HTML 5 file input for Bootstrap 5.x/4.x./3.x with file preview, multiple selection, and more features.",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput",
|
||||
"forks_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/forks",
|
||||
"keys_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/teams",
|
||||
"hooks_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/events",
|
||||
"assignees_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/tags",
|
||||
"blobs_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/subscription",
|
||||
"commits_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/merges",
|
||||
"archive_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/downloads",
|
||||
"issues_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/kartik-v/bootstrap-fileinput/deployments"
|
||||
},
|
||||
"analysis_status": "succeeded",
|
||||
"artifact_size_in_bytes": 36673,
|
||||
"result_count": 1,
|
||||
"database_commit_sha": "8af6df403f4c37a6e497361eb9c3caafb8ec4d82",
|
||||
"source_location_prefix": "/home/runner/work/bulk-builder/bulk-builder",
|
||||
"artifact_url": "https://objects-origin.githubusercontent.com/codeql-query-console/codeql-variant-analysis-repo-tasks/151/17335035/06769b4f-0218-4306-9f37-2f5374bb7980?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T074803Z&X-Amz-Expires=300&X-Amz-Signature=1a1c13b9c37d9722fa62246f7e2941cc7ae12735eea6979a14209caa38ad1ee2&X-Amz-SignedHeaders=host&actor_id=311693&key_id=0&repo_id=557804416"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,159 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getRepo"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments",
|
||||
"created_at": "2022-10-26T10:37:59Z",
|
||||
"updated_at": "2022-10-26T10:37:59Z",
|
||||
"pushed_at": "2022-10-26T10:38:02Z",
|
||||
"git_url": "git://github.com/github/mrva-demo-controller-repo.git",
|
||||
"ssh_url": "git@github.com:github/mrva-demo-controller-repo.git",
|
||||
"clone_url": "https://github.com/github/mrva-demo-controller-repo.git",
|
||||
"svn_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"allow_forking": false,
|
||||
"is_template": false,
|
||||
"web_commit_signoff_required": false,
|
||||
"topics": [],
|
||||
"visibility": "private",
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"maintain": true,
|
||||
"push": true,
|
||||
"triage": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "AACMDDI33PDNBWD4ICUWGILDLJZ76",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"allow_auto_merge": false,
|
||||
"delete_branch_on_merge": false,
|
||||
"allow_update_branch": false,
|
||||
"use_squash_pr_title_as_default": false,
|
||||
"squash_merge_commit_message": "COMMIT_MESSAGES",
|
||||
"squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
|
||||
"merge_commit_message": "PR_TITLE",
|
||||
"merge_commit_title": "MERGE_MESSAGE",
|
||||
"organization": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"security_and_analysis": {
|
||||
"advanced_security": {
|
||||
"status": "enabled"
|
||||
},
|
||||
"secret_scanning": {
|
||||
"status": "enabled"
|
||||
},
|
||||
"secret_scanning_push_protection": {
|
||||
"status": "enabled"
|
||||
}
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "submitVariantAnalysis"
|
||||
},
|
||||
"response": {
|
||||
"status": 201,
|
||||
"body": {
|
||||
"id": 155,
|
||||
"controller_repo": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments"
|
||||
},
|
||||
"actor": {
|
||||
"login": "charisk",
|
||||
"id": 311693,
|
||||
"node_id": "MDQ6VXNlcjMxMTY5Mw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/311693?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/charisk",
|
||||
"html_url": "https://github.com/charisk",
|
||||
"followers_url": "https://api.github.com/users/charisk/followers",
|
||||
"following_url": "https://api.github.com/users/charisk/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/charisk/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/charisk/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/charisk/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/charisk/orgs",
|
||||
"repos_url": "https://api.github.com/users/charisk/repos",
|
||||
"events_url": "https://api.github.com/users/charisk/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/charisk/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"query_language": "javascript",
|
||||
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/155/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T120027Z&X-Amz-Expires=3600&X-Amz-Signature=af8ca3b6568695c9725053d36c972cb1c698daf9c98d923e2326c79c2e2366f5&X-Amz-SignedHeaders=host",
|
||||
"created_at": "2022-10-27T12:00:27Z",
|
||||
"updated_at": "2022-10-27T12:00:27Z",
|
||||
"status": "in_progress",
|
||||
"skipped_repositories": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysisRepo",
|
||||
"repositoryId": 23418517
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"repository": {
|
||||
"id": 23418517,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyMzQxODUxNw==",
|
||||
"name": "hadoop",
|
||||
"full_name": "apache/hadoop",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "apache",
|
||||
"id": 47359,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3MzU5",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/47359?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/apache",
|
||||
"html_url": "https://github.com/apache",
|
||||
"followers_url": "https://api.github.com/users/apache/followers",
|
||||
"following_url": "https://api.github.com/users/apache/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/apache/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/apache/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/apache/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/apache/orgs",
|
||||
"repos_url": "https://api.github.com/users/apache/repos",
|
||||
"events_url": "https://api.github.com/users/apache/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/apache/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/apache/hadoop",
|
||||
"description": "Apache Hadoop",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/apache/hadoop",
|
||||
"forks_url": "https://api.github.com/repos/apache/hadoop/forks",
|
||||
"keys_url": "https://api.github.com/repos/apache/hadoop/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/apache/hadoop/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/apache/hadoop/teams",
|
||||
"hooks_url": "https://api.github.com/repos/apache/hadoop/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/apache/hadoop/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/apache/hadoop/events",
|
||||
"assignees_url": "https://api.github.com/repos/apache/hadoop/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/apache/hadoop/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/apache/hadoop/tags",
|
||||
"blobs_url": "https://api.github.com/repos/apache/hadoop/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/apache/hadoop/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/apache/hadoop/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/apache/hadoop/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/apache/hadoop/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/apache/hadoop/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/apache/hadoop/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/apache/hadoop/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/apache/hadoop/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/apache/hadoop/subscription",
|
||||
"commits_url": "https://api.github.com/repos/apache/hadoop/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/apache/hadoop/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/apache/hadoop/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/apache/hadoop/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/apache/hadoop/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/apache/hadoop/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/apache/hadoop/merges",
|
||||
"archive_url": "https://api.github.com/repos/apache/hadoop/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/apache/hadoop/downloads",
|
||||
"issues_url": "https://api.github.com/repos/apache/hadoop/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/apache/hadoop/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/apache/hadoop/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/apache/hadoop/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/apache/hadoop/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/apache/hadoop/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/apache/hadoop/deployments"
|
||||
},
|
||||
"analysis_status": "succeeded",
|
||||
"artifact_size_in_bytes": 66895,
|
||||
"result_count": 3,
|
||||
"database_commit_sha": "aac87ffe76451c2fd535350b7aefb384e2be6241",
|
||||
"source_location_prefix": "/home/runner/work/bulk-builder/bulk-builder",
|
||||
"artifact_url": "https://objects-origin.githubusercontent.com/codeql-query-console/codeql-variant-analysis-repo-tasks/155/23418517/d997a42f-9b44-4442-af90-36000938356f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T120250Z&X-Amz-Expires=300&X-Amz-Signature=d31d9994cfe6b1d74ecadd6df4ffe652617de4c0952dbb3f64c15ea52e02e3fd&X-Amz-SignedHeaders=host&actor_id=311693&key_id=0&repo_id=557804416"
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysisRepoResult",
|
||||
"repositoryId": 23418517
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": "file:11-getVariantAnalysisRepoResult.body.zip",
|
||||
"contentType": "application/zip"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysis"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"id": 155,
|
||||
"controller_repo": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments"
|
||||
},
|
||||
"actor": {
|
||||
"login": "charisk",
|
||||
"id": 311693,
|
||||
"node_id": "MDQ6VXNlcjMxMTY5Mw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/311693?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/charisk",
|
||||
"html_url": "https://github.com/charisk",
|
||||
"followers_url": "https://api.github.com/users/charisk/followers",
|
||||
"following_url": "https://api.github.com/users/charisk/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/charisk/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/charisk/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/charisk/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/charisk/orgs",
|
||||
"repos_url": "https://api.github.com/users/charisk/repos",
|
||||
"events_url": "https://api.github.com/users/charisk/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/charisk/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"query_language": "javascript",
|
||||
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/155/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T120255Z&X-Amz-Expires=3600&X-Amz-Signature=e33f798995954f03998ff5496056ad19d53e95e66e3ef3ce13e4af467626d933&X-Amz-SignedHeaders=host",
|
||||
"created_at": "2022-10-27T12:00:27Z",
|
||||
"updated_at": "2022-10-27T12:00:30Z",
|
||||
"actions_workflow_run_id": 3337181325,
|
||||
"status": "in_progress",
|
||||
"scanned_repositories": [
|
||||
{
|
||||
"repository": {
|
||||
"id": 23418517,
|
||||
"name": "hadoop",
|
||||
"full_name": "apache/hadoop",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "succeeded",
|
||||
"artifact_size_in_bytes": 66895,
|
||||
"result_count": 3
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 105590837,
|
||||
"name": "amplify-js",
|
||||
"full_name": "aws-amplify/amplify-js",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "in_progress"
|
||||
}
|
||||
],
|
||||
"skipped_repositories": {
|
||||
"access_mismatch_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"no_codeql_db_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"over_limit_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysis"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"id": 155,
|
||||
"controller_repo": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments"
|
||||
},
|
||||
"actor": {
|
||||
"login": "charisk",
|
||||
"id": 311693,
|
||||
"node_id": "MDQ6VXNlcjMxMTY5Mw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/311693?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/charisk",
|
||||
"html_url": "https://github.com/charisk",
|
||||
"followers_url": "https://api.github.com/users/charisk/followers",
|
||||
"following_url": "https://api.github.com/users/charisk/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/charisk/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/charisk/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/charisk/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/charisk/orgs",
|
||||
"repos_url": "https://api.github.com/users/charisk/repos",
|
||||
"events_url": "https://api.github.com/users/charisk/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/charisk/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"query_language": "javascript",
|
||||
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/155/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T120354Z&X-Amz-Expires=3600&X-Amz-Signature=46ecd2b9e5fe47ed71dc981d6b1b091dbce727672c16b2ba3ed2ce17950406b3&X-Amz-SignedHeaders=host",
|
||||
"created_at": "2022-10-27T12:00:27Z",
|
||||
"updated_at": "2022-10-27T12:00:30Z",
|
||||
"actions_workflow_run_id": 3337181325,
|
||||
"status": "in_progress",
|
||||
"scanned_repositories": [
|
||||
{
|
||||
"repository": {
|
||||
"id": 23418517,
|
||||
"name": "hadoop",
|
||||
"full_name": "apache/hadoop",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "succeeded",
|
||||
"artifact_size_in_bytes": 66895,
|
||||
"result_count": 3
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 105590837,
|
||||
"name": "amplify-js",
|
||||
"full_name": "aws-amplify/amplify-js",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "in_progress"
|
||||
}
|
||||
],
|
||||
"skipped_repositories": {
|
||||
"access_mismatch_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"no_codeql_db_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"over_limit_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,141 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysis"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"id": 155,
|
||||
"controller_repo": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments"
|
||||
},
|
||||
"actor": {
|
||||
"login": "charisk",
|
||||
"id": 311693,
|
||||
"node_id": "MDQ6VXNlcjMxMTY5Mw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/311693?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/charisk",
|
||||
"html_url": "https://github.com/charisk",
|
||||
"followers_url": "https://api.github.com/users/charisk/followers",
|
||||
"following_url": "https://api.github.com/users/charisk/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/charisk/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/charisk/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/charisk/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/charisk/orgs",
|
||||
"repos_url": "https://api.github.com/users/charisk/repos",
|
||||
"events_url": "https://api.github.com/users/charisk/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/charisk/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"query_language": "javascript",
|
||||
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/155/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T120400Z&X-Amz-Expires=3600&X-Amz-Signature=82be4605ffe607c0845d7cf36dbf2af7ffb824327d080991533dbc5cc8c53faa&X-Amz-SignedHeaders=host",
|
||||
"created_at": "2022-10-27T12:00:27Z",
|
||||
"updated_at": "2022-10-27T12:00:30Z",
|
||||
"actions_workflow_run_id": 3337181325,
|
||||
"status": "in_progress",
|
||||
"scanned_repositories": [
|
||||
{
|
||||
"repository": {
|
||||
"id": 23418517,
|
||||
"name": "hadoop",
|
||||
"full_name": "apache/hadoop",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "succeeded",
|
||||
"artifact_size_in_bytes": 66895,
|
||||
"result_count": 3
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 105590837,
|
||||
"name": "amplify-js",
|
||||
"full_name": "aws-amplify/amplify-js",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "failed",
|
||||
"failure_message": "The GitHub Actions workflow failed or was cancelled."
|
||||
}
|
||||
],
|
||||
"skipped_repositories": {
|
||||
"access_mismatch_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"no_codeql_db_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"over_limit_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,142 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysis"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"id": 155,
|
||||
"controller_repo": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments"
|
||||
},
|
||||
"actor": {
|
||||
"login": "charisk",
|
||||
"id": 311693,
|
||||
"node_id": "MDQ6VXNlcjMxMTY5Mw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/311693?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/charisk",
|
||||
"html_url": "https://github.com/charisk",
|
||||
"followers_url": "https://api.github.com/users/charisk/followers",
|
||||
"following_url": "https://api.github.com/users/charisk/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/charisk/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/charisk/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/charisk/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/charisk/orgs",
|
||||
"repos_url": "https://api.github.com/users/charisk/repos",
|
||||
"events_url": "https://api.github.com/users/charisk/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/charisk/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"query_language": "javascript",
|
||||
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/155/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T120405Z&X-Amz-Expires=3600&X-Amz-Signature=d24386120eb42d852b2fd5275fbc548bd93eab66a41578485b52c2dbf219aa9c&X-Amz-SignedHeaders=host",
|
||||
"created_at": "2022-10-27T12:00:27Z",
|
||||
"updated_at": "2022-10-27T12:00:30Z",
|
||||
"actions_workflow_run_id": 3337181325,
|
||||
"status": "completed",
|
||||
"completed_at": "2022-10-27T12:04:03Z",
|
||||
"scanned_repositories": [
|
||||
{
|
||||
"repository": {
|
||||
"id": 23418517,
|
||||
"name": "hadoop",
|
||||
"full_name": "apache/hadoop",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "succeeded",
|
||||
"artifact_size_in_bytes": 66895,
|
||||
"result_count": 3
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 105590837,
|
||||
"name": "amplify-js",
|
||||
"full_name": "aws-amplify/amplify-js",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "failed",
|
||||
"failure_message": "There was a problem when running the query."
|
||||
}
|
||||
],
|
||||
"skipped_repositories": {
|
||||
"access_mismatch_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"no_codeql_db_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"over_limit_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysis"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"id": 155,
|
||||
"controller_repo": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments"
|
||||
},
|
||||
"actor": {
|
||||
"login": "charisk",
|
||||
"id": 311693,
|
||||
"node_id": "MDQ6VXNlcjMxMTY5Mw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/311693?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/charisk",
|
||||
"html_url": "https://github.com/charisk",
|
||||
"followers_url": "https://api.github.com/users/charisk/followers",
|
||||
"following_url": "https://api.github.com/users/charisk/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/charisk/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/charisk/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/charisk/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/charisk/orgs",
|
||||
"repos_url": "https://api.github.com/users/charisk/repos",
|
||||
"events_url": "https://api.github.com/users/charisk/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/charisk/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"query_language": "javascript",
|
||||
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/155/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T120033Z&X-Amz-Expires=3600&X-Amz-Signature=6ccb3e4a41667c3672debd55d1e9f056dde3c9bdda1bca2c194cc6daccef4440&X-Amz-SignedHeaders=host",
|
||||
"created_at": "2022-10-27T12:00:27Z",
|
||||
"updated_at": "2022-10-27T12:00:30Z",
|
||||
"actions_workflow_run_id": 3337181325,
|
||||
"status": "in_progress",
|
||||
"scanned_repositories": [
|
||||
{
|
||||
"repository": {
|
||||
"id": 23418517,
|
||||
"name": "hadoop",
|
||||
"full_name": "apache/hadoop",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "pending"
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 105590837,
|
||||
"name": "amplify-js",
|
||||
"full_name": "aws-amplify/amplify-js",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "pending"
|
||||
}
|
||||
],
|
||||
"skipped_repositories": {
|
||||
"access_mismatch_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"no_codeql_db_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"over_limit_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysis"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"id": 155,
|
||||
"controller_repo": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments"
|
||||
},
|
||||
"actor": {
|
||||
"login": "charisk",
|
||||
"id": 311693,
|
||||
"node_id": "MDQ6VXNlcjMxMTY5Mw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/311693?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/charisk",
|
||||
"html_url": "https://github.com/charisk",
|
||||
"followers_url": "https://api.github.com/users/charisk/followers",
|
||||
"following_url": "https://api.github.com/users/charisk/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/charisk/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/charisk/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/charisk/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/charisk/orgs",
|
||||
"repos_url": "https://api.github.com/users/charisk/repos",
|
||||
"events_url": "https://api.github.com/users/charisk/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/charisk/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"query_language": "javascript",
|
||||
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/155/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T120054Z&X-Amz-Expires=3600&X-Amz-Signature=8ee8a4e0c30214ddd05e76917552c849718d970cf4e7f49db69336911a33fc7f&X-Amz-SignedHeaders=host",
|
||||
"created_at": "2022-10-27T12:00:27Z",
|
||||
"updated_at": "2022-10-27T12:00:30Z",
|
||||
"actions_workflow_run_id": 3337181325,
|
||||
"status": "in_progress",
|
||||
"scanned_repositories": [
|
||||
{
|
||||
"repository": {
|
||||
"id": 23418517,
|
||||
"name": "hadoop",
|
||||
"full_name": "apache/hadoop",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "pending"
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 105590837,
|
||||
"name": "amplify-js",
|
||||
"full_name": "aws-amplify/amplify-js",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "pending"
|
||||
}
|
||||
],
|
||||
"skipped_repositories": {
|
||||
"access_mismatch_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"no_codeql_db_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"over_limit_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysis"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"id": 155,
|
||||
"controller_repo": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments"
|
||||
},
|
||||
"actor": {
|
||||
"login": "charisk",
|
||||
"id": 311693,
|
||||
"node_id": "MDQ6VXNlcjMxMTY5Mw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/311693?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/charisk",
|
||||
"html_url": "https://github.com/charisk",
|
||||
"followers_url": "https://api.github.com/users/charisk/followers",
|
||||
"following_url": "https://api.github.com/users/charisk/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/charisk/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/charisk/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/charisk/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/charisk/orgs",
|
||||
"repos_url": "https://api.github.com/users/charisk/repos",
|
||||
"events_url": "https://api.github.com/users/charisk/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/charisk/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"query_language": "javascript",
|
||||
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/155/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T120100Z&X-Amz-Expires=3600&X-Amz-Signature=d188e7d8059a6a1b12ac82a7d2232ded89644866cc30f016d98410826272a581&X-Amz-SignedHeaders=host",
|
||||
"created_at": "2022-10-27T12:00:27Z",
|
||||
"updated_at": "2022-10-27T12:00:30Z",
|
||||
"actions_workflow_run_id": 3337181325,
|
||||
"status": "in_progress",
|
||||
"scanned_repositories": [
|
||||
{
|
||||
"repository": {
|
||||
"id": 23418517,
|
||||
"name": "hadoop",
|
||||
"full_name": "apache/hadoop",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "in_progress"
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 105590837,
|
||||
"name": "amplify-js",
|
||||
"full_name": "aws-amplify/amplify-js",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "in_progress"
|
||||
}
|
||||
],
|
||||
"skipped_repositories": {
|
||||
"access_mismatch_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"no_codeql_db_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"over_limit_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysis"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"id": 155,
|
||||
"controller_repo": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments"
|
||||
},
|
||||
"actor": {
|
||||
"login": "charisk",
|
||||
"id": 311693,
|
||||
"node_id": "MDQ6VXNlcjMxMTY5Mw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/311693?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/charisk",
|
||||
"html_url": "https://github.com/charisk",
|
||||
"followers_url": "https://api.github.com/users/charisk/followers",
|
||||
"following_url": "https://api.github.com/users/charisk/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/charisk/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/charisk/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/charisk/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/charisk/orgs",
|
||||
"repos_url": "https://api.github.com/users/charisk/repos",
|
||||
"events_url": "https://api.github.com/users/charisk/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/charisk/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"query_language": "javascript",
|
||||
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/155/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T120105Z&X-Amz-Expires=3600&X-Amz-Signature=60a003ef46673c65134ae19950cc92a3b1518df97435b9d4aa3f287a64f1abb8&X-Amz-SignedHeaders=host",
|
||||
"created_at": "2022-10-27T12:00:27Z",
|
||||
"updated_at": "2022-10-27T12:00:30Z",
|
||||
"actions_workflow_run_id": 3337181325,
|
||||
"status": "in_progress",
|
||||
"scanned_repositories": [
|
||||
{
|
||||
"repository": {
|
||||
"id": 23418517,
|
||||
"name": "hadoop",
|
||||
"full_name": "apache/hadoop",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "in_progress"
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 105590837,
|
||||
"name": "amplify-js",
|
||||
"full_name": "aws-amplify/amplify-js",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "in_progress"
|
||||
}
|
||||
],
|
||||
"skipped_repositories": {
|
||||
"access_mismatch_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"no_codeql_db_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"over_limit_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysis"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"id": 155,
|
||||
"controller_repo": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments"
|
||||
},
|
||||
"actor": {
|
||||
"login": "charisk",
|
||||
"id": 311693,
|
||||
"node_id": "MDQ6VXNlcjMxMTY5Mw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/311693?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/charisk",
|
||||
"html_url": "https://github.com/charisk",
|
||||
"followers_url": "https://api.github.com/users/charisk/followers",
|
||||
"following_url": "https://api.github.com/users/charisk/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/charisk/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/charisk/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/charisk/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/charisk/orgs",
|
||||
"repos_url": "https://api.github.com/users/charisk/repos",
|
||||
"events_url": "https://api.github.com/users/charisk/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/charisk/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"query_language": "javascript",
|
||||
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/155/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T120144Z&X-Amz-Expires=3600&X-Amz-Signature=97225026e4eaa2fd6bf1954315a6be8278b284f6f501074e66dfceeb7b4f4474&X-Amz-SignedHeaders=host",
|
||||
"created_at": "2022-10-27T12:00:27Z",
|
||||
"updated_at": "2022-10-27T12:00:30Z",
|
||||
"actions_workflow_run_id": 3337181325,
|
||||
"status": "in_progress",
|
||||
"scanned_repositories": [
|
||||
{
|
||||
"repository": {
|
||||
"id": 23418517,
|
||||
"name": "hadoop",
|
||||
"full_name": "apache/hadoop",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "in_progress"
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 105590837,
|
||||
"name": "amplify-js",
|
||||
"full_name": "aws-amplify/amplify-js",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "in_progress"
|
||||
}
|
||||
],
|
||||
"skipped_repositories": {
|
||||
"access_mismatch_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"no_codeql_db_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"over_limit_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysis"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"id": 155,
|
||||
"controller_repo": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments"
|
||||
},
|
||||
"actor": {
|
||||
"login": "charisk",
|
||||
"id": 311693,
|
||||
"node_id": "MDQ6VXNlcjMxMTY5Mw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/311693?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/charisk",
|
||||
"html_url": "https://github.com/charisk",
|
||||
"followers_url": "https://api.github.com/users/charisk/followers",
|
||||
"following_url": "https://api.github.com/users/charisk/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/charisk/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/charisk/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/charisk/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/charisk/orgs",
|
||||
"repos_url": "https://api.github.com/users/charisk/repos",
|
||||
"events_url": "https://api.github.com/users/charisk/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/charisk/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"query_language": "javascript",
|
||||
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/155/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T120239Z&X-Amz-Expires=3600&X-Amz-Signature=b8c886ae812947d1e02cdf50c9fac9b388bfdeabb0e97774f2c4e3cdc4d5bd61&X-Amz-SignedHeaders=host",
|
||||
"created_at": "2022-10-27T12:00:27Z",
|
||||
"updated_at": "2022-10-27T12:00:30Z",
|
||||
"actions_workflow_run_id": 3337181325,
|
||||
"status": "in_progress",
|
||||
"scanned_repositories": [
|
||||
{
|
||||
"repository": {
|
||||
"id": 23418517,
|
||||
"name": "hadoop",
|
||||
"full_name": "apache/hadoop",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "in_progress"
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 105590837,
|
||||
"name": "amplify-js",
|
||||
"full_name": "aws-amplify/amplify-js",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "in_progress"
|
||||
}
|
||||
],
|
||||
"skipped_repositories": {
|
||||
"access_mismatch_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"no_codeql_db_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"over_limit_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysis"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"id": 155,
|
||||
"controller_repo": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments"
|
||||
},
|
||||
"actor": {
|
||||
"login": "charisk",
|
||||
"id": 311693,
|
||||
"node_id": "MDQ6VXNlcjMxMTY5Mw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/311693?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/charisk",
|
||||
"html_url": "https://github.com/charisk",
|
||||
"followers_url": "https://api.github.com/users/charisk/followers",
|
||||
"following_url": "https://api.github.com/users/charisk/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/charisk/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/charisk/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/charisk/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/charisk/orgs",
|
||||
"repos_url": "https://api.github.com/users/charisk/repos",
|
||||
"events_url": "https://api.github.com/users/charisk/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/charisk/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"query_language": "javascript",
|
||||
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/155/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T120244Z&X-Amz-Expires=3600&X-Amz-Signature=c310fb55d5098fe34f453605fa01788f45536af818b73d167ad7d88441a9c471&X-Amz-SignedHeaders=host",
|
||||
"created_at": "2022-10-27T12:00:27Z",
|
||||
"updated_at": "2022-10-27T12:00:30Z",
|
||||
"actions_workflow_run_id": 3337181325,
|
||||
"status": "in_progress",
|
||||
"scanned_repositories": [
|
||||
{
|
||||
"repository": {
|
||||
"id": 23418517,
|
||||
"name": "hadoop",
|
||||
"full_name": "apache/hadoop",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "in_progress"
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 105590837,
|
||||
"name": "amplify-js",
|
||||
"full_name": "aws-amplify/amplify-js",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "in_progress"
|
||||
}
|
||||
],
|
||||
"skipped_repositories": {
|
||||
"access_mismatch_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"no_codeql_db_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"over_limit_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"request": {
|
||||
"kind": "getVariantAnalysis"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": {
|
||||
"id": 155,
|
||||
"controller_repo": {
|
||||
"id": 557804416,
|
||||
"node_id": "R_kgDOIT9rgA",
|
||||
"name": "mrva-demo-controller-repo",
|
||||
"full_name": "github/mrva-demo-controller-repo",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "github",
|
||||
"id": 9919,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github",
|
||||
"html_url": "https://github.com/github",
|
||||
"followers_url": "https://api.github.com/users/github/followers",
|
||||
"following_url": "https://api.github.com/users/github/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github/orgs",
|
||||
"repos_url": "https://api.github.com/users/github/repos",
|
||||
"events_url": "https://api.github.com/users/github/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github/mrva-demo-controller-repo",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github/mrva-demo-controller-repo",
|
||||
"forks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/forks",
|
||||
"keys_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/events",
|
||||
"assignees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/merges",
|
||||
"archive_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github/mrva-demo-controller-repo/deployments"
|
||||
},
|
||||
"actor": {
|
||||
"login": "charisk",
|
||||
"id": 311693,
|
||||
"node_id": "MDQ6VXNlcjMxMTY5Mw==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/311693?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/charisk",
|
||||
"html_url": "https://github.com/charisk",
|
||||
"followers_url": "https://api.github.com/users/charisk/followers",
|
||||
"following_url": "https://api.github.com/users/charisk/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/charisk/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/charisk/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/charisk/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/charisk/orgs",
|
||||
"repos_url": "https://api.github.com/users/charisk/repos",
|
||||
"events_url": "https://api.github.com/users/charisk/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/charisk/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true
|
||||
},
|
||||
"query_language": "javascript",
|
||||
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/155/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20221027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221027T120250Z&X-Amz-Expires=3600&X-Amz-Signature=609bbdcd9d73bbf321a65f468fa44ddf0475521cc01d6b6157c1313481822b4b&X-Amz-SignedHeaders=host",
|
||||
"created_at": "2022-10-27T12:00:27Z",
|
||||
"updated_at": "2022-10-27T12:00:30Z",
|
||||
"actions_workflow_run_id": 3337181325,
|
||||
"status": "in_progress",
|
||||
"scanned_repositories": [
|
||||
{
|
||||
"repository": {
|
||||
"id": 23418517,
|
||||
"name": "hadoop",
|
||||
"full_name": "apache/hadoop",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "succeeded",
|
||||
"artifact_size_in_bytes": 66895,
|
||||
"result_count": 3
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"id": 105590837,
|
||||
"name": "amplify-js",
|
||||
"full_name": "aws-amplify/amplify-js",
|
||||
"private": false
|
||||
},
|
||||
"analysis_status": "in_progress"
|
||||
}
|
||||
],
|
||||
"skipped_repositories": {
|
||||
"access_mismatch_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"no_codeql_db_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
},
|
||||
"over_limit_repos": {
|
||||
"repository_count": 0,
|
||||
"repositories": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
201
extensions/ql-vscode/src/mocks/vscode-mock-gh-api-server.ts
Normal file
201
extensions/ql-vscode/src/mocks/vscode-mock-gh-api-server.ts
Normal file
@@ -0,0 +1,201 @@
|
||||
import * as fs from 'fs-extra';
|
||||
import { commands, env, ExtensionContext, ExtensionMode, QuickPickItem, Uri, window } from 'vscode';
|
||||
|
||||
import { getMockGitHubApiServerScenariosPath, MockGitHubApiConfigListener } from '../config';
|
||||
import { DisposableObject } from '../pure/disposable-object';
|
||||
import { MockGitHubApiServer } from './mock-gh-api-server';
|
||||
|
||||
/**
|
||||
* "Interface" to the mock GitHub API server which implements VSCode interactions, such as
|
||||
* listening for config changes, asking for scenario names, etc.
|
||||
*
|
||||
* This should not be used in tests. For tests, use the `MockGitHubApiServer` class directly.
|
||||
*/
|
||||
export class VSCodeMockGitHubApiServer extends DisposableObject {
|
||||
private readonly server: MockGitHubApiServer;
|
||||
private readonly config: MockGitHubApiConfigListener;
|
||||
|
||||
constructor(
|
||||
private readonly ctx: ExtensionContext,
|
||||
) {
|
||||
super();
|
||||
this.server = new MockGitHubApiServer();
|
||||
this.config = new MockGitHubApiConfigListener();
|
||||
|
||||
this.setupConfigListener();
|
||||
}
|
||||
|
||||
public async startServer(): Promise<void> {
|
||||
await this.server.startServer();
|
||||
}
|
||||
|
||||
public async stopServer(): Promise<void> {
|
||||
await this.server.stopServer();
|
||||
|
||||
await commands.executeCommand('setContext', 'codeQL.mockGitHubApiServer.scenarioLoaded', false);
|
||||
await commands.executeCommand('setContext', 'codeQL.mockGitHubApiServer.recording', false);
|
||||
}
|
||||
|
||||
public async loadScenario(): Promise<void> {
|
||||
const scenariosPath = await this.getScenariosPath();
|
||||
if (!scenariosPath) {
|
||||
return;
|
||||
}
|
||||
|
||||
const scenarioNames = await this.server.getScenarioNames(scenariosPath);
|
||||
const scenarioQuickPickItems = scenarioNames.map(s => ({ label: s }));
|
||||
const quickPickOptions = {
|
||||
placeHolder: 'Select a scenario to load',
|
||||
};
|
||||
const selectedScenario = await window.showQuickPick<QuickPickItem>(
|
||||
scenarioQuickPickItems,
|
||||
quickPickOptions);
|
||||
if (!selectedScenario) {
|
||||
return;
|
||||
}
|
||||
|
||||
const scenarioName = selectedScenario.label;
|
||||
|
||||
await this.server.loadScenario(scenarioName, scenariosPath);
|
||||
|
||||
// Set a value in the context to track whether we have a scenario loaded.
|
||||
// This allows us to use this to show/hide commands (see package.json)
|
||||
await commands.executeCommand('setContext', 'codeQL.mockGitHubApiServer.scenarioLoaded', true);
|
||||
|
||||
await window.showInformationMessage(`Loaded scenario '${scenarioName}'`);
|
||||
}
|
||||
|
||||
public async unloadScenario(): Promise<void> {
|
||||
if (!this.server.isScenarioLoaded) {
|
||||
await window.showInformationMessage('No scenario currently loaded');
|
||||
} else {
|
||||
await this.server.unloadScenario();
|
||||
await commands.executeCommand('setContext', 'codeQL.mockGitHubApiServer.scenarioLoaded', false);
|
||||
await window.showInformationMessage('Unloaded scenario');
|
||||
}
|
||||
}
|
||||
|
||||
public async startRecording(): Promise<void> {
|
||||
if (this.server.isRecording) {
|
||||
void window.showErrorMessage('A scenario is already being recorded. Use the "Save Scenario" or "Cancel Scenario" commands to finish recording.');
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.server.isScenarioLoaded) {
|
||||
await this.server.unloadScenario();
|
||||
await commands.executeCommand('setContext', 'codeQL.mockGitHubApiServer.scenarioLoaded', false);
|
||||
void window.showInformationMessage('A scenario was loaded so it has been unloaded');
|
||||
}
|
||||
|
||||
await this.server.startRecording();
|
||||
// Set a value in the context to track whether we are recording. This allows us to use this to show/hide commands (see package.json)
|
||||
await commands.executeCommand('setContext', 'codeQL.mockGitHubApiServer.recording', true);
|
||||
|
||||
await window.showInformationMessage('Recording scenario. To save the scenario, use the "CodeQL Mock GitHub API Server: Save Scenario" command.');
|
||||
}
|
||||
|
||||
public async saveScenario(): Promise<void> {
|
||||
const scenariosPath = await this.getScenariosPath();
|
||||
if (!scenariosPath) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Set a value in the context to track whether we are recording. This allows us to use this to show/hide commands (see package.json)
|
||||
await commands.executeCommand('setContext', 'codeQL.mockGitHubApiServer.recording', false);
|
||||
|
||||
if (!this.server.isRecording) {
|
||||
void window.showErrorMessage('No scenario is currently being recorded.');
|
||||
return;
|
||||
}
|
||||
if (!this.server.anyRequestsRecorded) {
|
||||
void window.showWarningMessage('No requests were recorded. Cancelling scenario.');
|
||||
|
||||
await this.stopRecording();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
const name = await window.showInputBox({
|
||||
title: 'Save scenario',
|
||||
prompt: 'Enter a name for the scenario.',
|
||||
placeHolder: 'successful-run',
|
||||
});
|
||||
if (!name) {
|
||||
return;
|
||||
}
|
||||
|
||||
const filePath = await this.server.saveScenario(name, scenariosPath);
|
||||
|
||||
await this.stopRecording();
|
||||
|
||||
const action = await window.showInformationMessage(`Scenario saved to ${filePath}`, 'Open directory');
|
||||
if (action === 'Open directory') {
|
||||
await env.openExternal(Uri.file(filePath));
|
||||
}
|
||||
}
|
||||
|
||||
public async cancelRecording(): Promise<void> {
|
||||
if (!this.server.isRecording) {
|
||||
void window.showErrorMessage('No scenario is currently being recorded.');
|
||||
return;
|
||||
}
|
||||
|
||||
await this.stopRecording();
|
||||
|
||||
void window.showInformationMessage('Recording cancelled.');
|
||||
}
|
||||
|
||||
private async stopRecording(): Promise<void> {
|
||||
// Set a value in the context to track whether we are recording. This allows us to use this to show/hide commands (see package.json)
|
||||
await commands.executeCommand('setContext', 'codeQL.mockGitHubApiServer.recording', false);
|
||||
|
||||
await this.server.stopRecording();
|
||||
}
|
||||
|
||||
private async getScenariosPath(): Promise<string | undefined> {
|
||||
const scenariosPath = getMockGitHubApiServerScenariosPath();
|
||||
if (scenariosPath) {
|
||||
return scenariosPath;
|
||||
}
|
||||
|
||||
if (this.ctx.extensionMode === ExtensionMode.Development) {
|
||||
const developmentScenariosPath = Uri.joinPath(this.ctx.extensionUri, 'src/mocks/scenarios').fsPath.toString();
|
||||
if (await fs.pathExists(developmentScenariosPath)) {
|
||||
return developmentScenariosPath;
|
||||
}
|
||||
}
|
||||
|
||||
const directories = await window.showOpenDialog({
|
||||
canSelectFolders: true,
|
||||
canSelectFiles: false,
|
||||
canSelectMany: false,
|
||||
openLabel: 'Select scenarios directory',
|
||||
title: 'Select scenarios directory',
|
||||
});
|
||||
if (directories === undefined || directories.length === 0) {
|
||||
void window.showErrorMessage('No scenarios directory selected.');
|
||||
return undefined;
|
||||
}
|
||||
|
||||
// Unfortunately, we cannot save the directory in the configuration because that requires
|
||||
// the configuration to be registered. If we do that, it would be visible to all users; there
|
||||
// is no "when" clause that would allow us to only show it to users who have enabled the feature flag.
|
||||
|
||||
return directories[0].fsPath;
|
||||
}
|
||||
|
||||
private setupConfigListener(): void {
|
||||
// The config "changes" from the default at startup, so we need to call onConfigChange() to ensure the server is
|
||||
// started if required.
|
||||
void this.onConfigChange();
|
||||
this.config.onDidChangeConfiguration(() => void this.onConfigChange());
|
||||
}
|
||||
|
||||
private async onConfigChange(): Promise<void> {
|
||||
if (this.config.mockServerEnabled && !this.server.isListening) {
|
||||
await this.startServer();
|
||||
} else if (!this.config.mockServerEnabled && this.server.isListening) {
|
||||
await this.stopServer();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -616,7 +616,7 @@ export class QueryHistoryManager extends DisposableObject {
|
||||
const status = variantAnalysisStatusToQueryStatus(variantAnalysis.status);
|
||||
|
||||
if (items.length > 0) {
|
||||
items.forEach(async (item) => {
|
||||
items.forEach((item) => {
|
||||
const variantAnalysisHistoryItem = item as VariantAnalysisHistoryItem;
|
||||
variantAnalysisHistoryItem.status = status;
|
||||
variantAnalysisHistoryItem.failureReason = variantAnalysis.failureReason;
|
||||
@@ -634,9 +634,9 @@ export class QueryHistoryManager extends DisposableObject {
|
||||
|
||||
const variantAnalysisRemovedSubscription = this.variantAnalysisManager.onVariantAnalysisRemoved(async (variantAnalysis) => {
|
||||
const items = this.treeDataProvider.allHistory.filter(i => i.t === 'variant-analysis' && i.variantAnalysis.id === variantAnalysis.id);
|
||||
items.forEach(async (item) => {
|
||||
await Promise.all(items.map(async (item) => {
|
||||
await this.removeVariantAnalysis(item as VariantAnalysisHistoryItem);
|
||||
});
|
||||
}));
|
||||
});
|
||||
|
||||
this.push(variantAnalysisAddedSubscription);
|
||||
@@ -689,14 +689,14 @@ export class QueryHistoryManager extends DisposableObject {
|
||||
void logger.log(`Reading cached query history from '${this.queryMetadataStorageLocation}'.`);
|
||||
const history = await slurpQueryHistory(this.queryMetadataStorageLocation);
|
||||
this.treeDataProvider.allHistory = history;
|
||||
this.treeDataProvider.allHistory.forEach(async (item) => {
|
||||
await Promise.all(this.treeDataProvider.allHistory.map(async (item) => {
|
||||
if (item.t === 'remote') {
|
||||
await this.remoteQueriesManager.rehydrateRemoteQuery(item.queryId, item.remoteQuery, item.status);
|
||||
}
|
||||
if (item.t === 'variant-analysis') {
|
||||
await this.variantAnalysisManager.rehydrateVariantAnalysis(item.variantAnalysis, item.status);
|
||||
}
|
||||
});
|
||||
}));
|
||||
}
|
||||
|
||||
async writeQueryHistory(): Promise<void> {
|
||||
|
||||
@@ -61,10 +61,13 @@ export class VariantAnalysisManager extends DisposableObject implements VariantA
|
||||
// In this case, the variant analysis was deleted from disk, most likely because
|
||||
// it was purged by another workspace.
|
||||
this._onVariantAnalysisRemoved.fire(variantAnalysis);
|
||||
} else if (status === QueryStatus.InProgress) {
|
||||
// In this case, last time we checked, the query was still in progress.
|
||||
// We need to setup the monitor to check for completion.
|
||||
await commands.executeCommand('codeQL.monitorVariantAnalysis', variantAnalysis);
|
||||
} else {
|
||||
await this.setVariantAnalysis(variantAnalysis);
|
||||
if (status === QueryStatus.InProgress) {
|
||||
// In this case, last time we checked, the query was still in progress.
|
||||
// We need to setup the monitor to check for completion.
|
||||
await commands.executeCommand('codeQL.monitorVariantAnalysis', variantAnalysis);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -113,6 +116,10 @@ export class VariantAnalysisManager extends DisposableObject implements VariantA
|
||||
return this.variantAnalyses.get(variantAnalysisId);
|
||||
}
|
||||
|
||||
public get variantAnalysesSize(): number {
|
||||
return this.variantAnalyses.size;
|
||||
}
|
||||
|
||||
public async loadResults(variantAnalysisId: number, repositoryFullName: string): Promise<void> {
|
||||
const variantAnalysis = this.variantAnalyses.get(variantAnalysisId);
|
||||
if (!variantAnalysis) {
|
||||
@@ -127,23 +134,28 @@ export class VariantAnalysisManager extends DisposableObject implements VariantA
|
||||
return await fs.pathExists(filePath);
|
||||
}
|
||||
|
||||
private async onVariantAnalysisUpdated(variantAnalysis: VariantAnalysis | undefined): Promise<void> {
|
||||
public async onVariantAnalysisUpdated(variantAnalysis: VariantAnalysis | undefined): Promise<void> {
|
||||
if (!variantAnalysis) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.variantAnalyses.set(variantAnalysis.id, variantAnalysis);
|
||||
|
||||
await this.getView(variantAnalysis.id)?.updateView(variantAnalysis);
|
||||
await this.setVariantAnalysis(variantAnalysis);
|
||||
this._onVariantAnalysisStatusUpdated.fire(variantAnalysis);
|
||||
}
|
||||
|
||||
public async onVariantAnalysisSubmitted(variantAnalysis: VariantAnalysis): Promise<void> {
|
||||
await this.setVariantAnalysis(variantAnalysis);
|
||||
|
||||
await this.prepareStorageDirectory(variantAnalysis.id);
|
||||
|
||||
this._onVariantAnalysisAdded.fire(variantAnalysis);
|
||||
}
|
||||
|
||||
private async setVariantAnalysis(variantAnalysis: VariantAnalysis): Promise<void> {
|
||||
this.variantAnalyses.set(variantAnalysis.id, variantAnalysis);
|
||||
await this.getView(variantAnalysis.id)?.updateView(variantAnalysis);
|
||||
}
|
||||
|
||||
private async onRepoResultLoaded(repositoryResult: VariantAnalysisScannedRepositoryResult): Promise<void> {
|
||||
await this.getView(repositoryResult.variantAnalysisId)?.sendRepositoryResults([repositoryResult]);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import 'source-map-support/register';
|
||||
import 'vscode-test';
|
||||
import { runTestsInDirectory } from '../index-template';
|
||||
import 'mocha';
|
||||
import * as sinonChai from 'sinon-chai';
|
||||
|
||||
@@ -21,6 +21,8 @@ import { createMockVariantAnalysisRepoTask } from '../../factories/remote-querie
|
||||
import { CodeQLCliServer } from '../../../cli';
|
||||
import { storagePath } from '../global.helper';
|
||||
import { VariantAnalysisResultsManager } from '../../../remote-queries/variant-analysis-results-manager';
|
||||
import { VariantAnalysis } from '../../../remote-queries/shared/variant-analysis';
|
||||
import { createMockVariantAnalysis } from '../../factories/remote-queries/shared/variant-analysis';
|
||||
|
||||
describe('Variant Analysis Manager', async function() {
|
||||
let sandbox: sinon.SinonSandbox;
|
||||
@@ -121,47 +123,74 @@ describe('Variant Analysis Manager', async function() {
|
||||
getVariantAnalysisRepoResultStub = sandbox.stub(ghApiClient, 'getVariantAnalysisRepoResult').resolves(arrayBuffer);
|
||||
});
|
||||
|
||||
it('should return early if variant analysis is cancelled', async () => {
|
||||
cancellationTokenSource.cancel();
|
||||
describe('autoDownloadVariantAnalysisResult', async () => {
|
||||
it('should return early if variant analysis is cancelled', async () => {
|
||||
cancellationTokenSource.cancel();
|
||||
|
||||
await variantAnalysisManager.autoDownloadVariantAnalysisResult(
|
||||
scannedRepos[0],
|
||||
variantAnalysis,
|
||||
cancellationTokenSource.token
|
||||
);
|
||||
await variantAnalysisManager.autoDownloadVariantAnalysisResult(
|
||||
scannedRepos[0],
|
||||
variantAnalysis,
|
||||
cancellationTokenSource.token
|
||||
);
|
||||
|
||||
expect(getVariantAnalysisRepoStub.notCalled).to.be.true;
|
||||
expect(getVariantAnalysisRepoStub.notCalled).to.be.true;
|
||||
});
|
||||
|
||||
it('should fetch a repo task', async () => {
|
||||
await variantAnalysisManager.autoDownloadVariantAnalysisResult(
|
||||
scannedRepos[0],
|
||||
variantAnalysis,
|
||||
cancellationTokenSource.token
|
||||
);
|
||||
|
||||
expect(getVariantAnalysisRepoStub.calledOnce).to.be.true;
|
||||
});
|
||||
|
||||
it('should fetch a repo result', async () => {
|
||||
await variantAnalysisManager.autoDownloadVariantAnalysisResult(
|
||||
scannedRepos[0],
|
||||
variantAnalysis,
|
||||
cancellationTokenSource.token
|
||||
);
|
||||
|
||||
expect(getVariantAnalysisRepoResultStub.calledOnce).to.be.true;
|
||||
});
|
||||
});
|
||||
|
||||
it('should fetch a repo task', async () => {
|
||||
await variantAnalysisManager.autoDownloadVariantAnalysisResult(
|
||||
scannedRepos[0],
|
||||
variantAnalysis,
|
||||
cancellationTokenSource.token
|
||||
);
|
||||
describe('enqueueDownload', async () => {
|
||||
it('should pop download tasks off the queue', async () => {
|
||||
const getResultsSpy = sandbox.spy(variantAnalysisManager, 'autoDownloadVariantAnalysisResult');
|
||||
|
||||
expect(getVariantAnalysisRepoStub.calledOnce).to.be.true;
|
||||
await variantAnalysisManager.enqueueDownload(scannedRepos[0], variantAnalysis, cancellationTokenSource.token);
|
||||
await variantAnalysisManager.enqueueDownload(scannedRepos[1], variantAnalysis, cancellationTokenSource.token);
|
||||
await variantAnalysisManager.enqueueDownload(scannedRepos[2], variantAnalysis, cancellationTokenSource.token);
|
||||
|
||||
expect(variantAnalysisManager.downloadsQueueSize()).to.equal(0);
|
||||
expect(getResultsSpy).to.have.been.calledThrice;
|
||||
});
|
||||
});
|
||||
|
||||
it('should fetch a repo result', async () => {
|
||||
await variantAnalysisManager.autoDownloadVariantAnalysisResult(
|
||||
scannedRepos[0],
|
||||
variantAnalysis,
|
||||
cancellationTokenSource.token
|
||||
);
|
||||
describe('removeVariantAnalysis', async () => {
|
||||
let removeAnalysisResultsStub: sinon.SinonStub;
|
||||
let removeStorageStub: sinon.SinonStub;
|
||||
let dummyVariantAnalysis: VariantAnalysis;
|
||||
|
||||
expect(getVariantAnalysisRepoResultStub.calledOnce).to.be.true;
|
||||
});
|
||||
beforeEach(async () => {
|
||||
dummyVariantAnalysis = createMockVariantAnalysis();
|
||||
removeAnalysisResultsStub = sandbox.stub(variantAnalysisResultsManager, 'removeAnalysisResults');
|
||||
removeStorageStub = sandbox.stub(fs, 'remove');
|
||||
});
|
||||
|
||||
it('should pop download tasks off the queue', async () => {
|
||||
const getResultsSpy = sandbox.spy(variantAnalysisManager, 'autoDownloadVariantAnalysisResult');
|
||||
it('should remove variant analysis', async () => {
|
||||
await variantAnalysisManager.onVariantAnalysisUpdated(dummyVariantAnalysis);
|
||||
expect(variantAnalysisManager.variantAnalysesSize).to.eq(1);
|
||||
|
||||
await variantAnalysisManager.enqueueDownload(scannedRepos[0], variantAnalysis, cancellationTokenSource.token);
|
||||
await variantAnalysisManager.enqueueDownload(scannedRepos[1], variantAnalysis, cancellationTokenSource.token);
|
||||
await variantAnalysisManager.enqueueDownload(scannedRepos[2], variantAnalysis, cancellationTokenSource.token);
|
||||
await variantAnalysisManager.removeVariantAnalysis(dummyVariantAnalysis);
|
||||
|
||||
expect(variantAnalysisManager.downloadsQueueSize()).to.equal(0);
|
||||
expect(getResultsSpy).to.have.been.calledThrice;
|
||||
expect(removeAnalysisResultsStub).to.have.been.calledOnce;
|
||||
expect(removeStorageStub).to.have.been.calledOnce;
|
||||
expect(variantAnalysisManager.variantAnalysesSize).to.equal(0);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import 'source-map-support/register';
|
||||
import 'vscode-test';
|
||||
import * as sinonChai from 'sinon-chai';
|
||||
import * as chai from 'chai';
|
||||
import 'chai/register-should';
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import 'source-map-support/register';
|
||||
import 'vscode-test';
|
||||
import * as sinonChai from 'sinon-chai';
|
||||
import * as chai from 'chai';
|
||||
import * as chaiAsPromised from 'chai-as-promised';
|
||||
|
||||
@@ -4,14 +4,14 @@ import * as cp from 'child_process';
|
||||
import {
|
||||
runTests,
|
||||
downloadAndUnzipVSCode,
|
||||
resolveCliPathFromVSCodeExecutablePath
|
||||
} from 'vscode-test';
|
||||
resolveCliArgsFromVSCodeExecutablePath
|
||||
} from '@vscode/test-electron';
|
||||
import { assertNever } from '../pure/helpers-pure';
|
||||
import * as tmp from 'tmp-promise';
|
||||
|
||||
// For some reason, the following are not exported directly from `vscode-test`,
|
||||
// but we can be tricky and import directly from the out file.
|
||||
import { TestOptions } from 'vscode-test/out/runTest';
|
||||
import { TestOptions } from '@vscode/test-electron/out/runTest';
|
||||
|
||||
// For CI purposes we want to leave this at 'stable' to catch any bugs
|
||||
// that might show up with new vscode versions released, even though
|
||||
@@ -75,10 +75,11 @@ async function main() {
|
||||
const extensionTestsEnv: Record<string, string> = {};
|
||||
if (dirs.includes(TestDir.CliIntegration)) {
|
||||
console.log('Installing required extensions');
|
||||
const cliPath = resolveCliPathFromVSCodeExecutablePath(vscodeExecutablePath);
|
||||
const [cli, ...args] = resolveCliArgsFromVSCodeExecutablePath(vscodeExecutablePath);
|
||||
cp.spawnSync(
|
||||
cliPath,
|
||||
cli,
|
||||
[
|
||||
...args,
|
||||
'--install-extension',
|
||||
'hbenl.vscode-test-explorer',
|
||||
'--install-extension',
|
||||
|
||||
@@ -1,2 +1,8 @@
|
||||
const path = require('path');
|
||||
|
||||
require('ts-node').register({
|
||||
project: path.resolve(__dirname, 'tsconfig.json')
|
||||
})
|
||||
|
||||
process.env.TZ = 'UTC';
|
||||
process.env.LANG = 'en-US';
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
import { expect } from 'chai';
|
||||
|
||||
import * as Octokit from '@octokit/rest';
|
||||
import { retry } from '@octokit/plugin-retry';
|
||||
|
||||
import { faker } from '@faker-js/faker';
|
||||
|
||||
import {
|
||||
getRepositoryFromNwo,
|
||||
getVariantAnalysis,
|
||||
getVariantAnalysisRepo, getVariantAnalysisRepoResult,
|
||||
submitVariantAnalysis
|
||||
} from '../../../../src/remote-queries/gh-api/gh-api-client';
|
||||
import { Credentials } from '../../../../src/authentication';
|
||||
import {
|
||||
createMockSubmission
|
||||
} from '../../../../src/vscode-tests/factories/remote-queries/shared/variant-analysis-submission';
|
||||
import { MockGitHubApiServer } from '../../../../src/mocks/mock-gh-api-server';
|
||||
|
||||
import * as getRepoJson from '../../../../src/mocks/scenarios/problem-query-success/0-getRepo.json';
|
||||
import * as variantAnalysisJson from '../../../../src/mocks/scenarios/problem-query-success/1-submitVariantAnalysis.json';
|
||||
import * as variantAnalysisRepoJson from '../../../../src/mocks/scenarios/problem-query-success/9-getVariantAnalysisRepo.json';
|
||||
|
||||
const mockCredentials = {
|
||||
getOctokit: () => Promise.resolve(new Octokit.Octokit({ retry }))
|
||||
} as unknown as Credentials;
|
||||
|
||||
const mockServer = new MockGitHubApiServer();
|
||||
before(() => mockServer.startServer());
|
||||
afterEach(() => mockServer.unloadScenario());
|
||||
after(() => mockServer.stopServer());
|
||||
|
||||
const controllerRepoId = variantAnalysisJson.response.body.controller_repo.id;
|
||||
const variantAnalysisId = variantAnalysisJson.response.body.id;
|
||||
const repoTaskId = variantAnalysisRepoJson.response.body.repository.id;
|
||||
|
||||
describe('submitVariantAnalysis', () => {
|
||||
it('returns the submitted variant analysis', async () => {
|
||||
await mockServer.loadScenario('problem-query-success');
|
||||
|
||||
const result = await submitVariantAnalysis(mockCredentials, createMockSubmission());
|
||||
|
||||
expect(result).not.to.be.undefined;
|
||||
expect(result.id).to.eq(variantAnalysisId);
|
||||
});
|
||||
});
|
||||
|
||||
describe('getVariantAnalysis', () => {
|
||||
it('returns the variant analysis', async () => {
|
||||
await mockServer.loadScenario('problem-query-success');
|
||||
|
||||
const result = await getVariantAnalysis(mockCredentials, controllerRepoId, variantAnalysisId);
|
||||
|
||||
expect(result).not.to.be.undefined;
|
||||
expect(result.status).not.to.be.undefined;
|
||||
});
|
||||
});
|
||||
|
||||
describe('getVariantAnalysisRepo', () => {
|
||||
it('returns the variant analysis repo task', async () => {
|
||||
await mockServer.loadScenario('problem-query-success');
|
||||
|
||||
const result = await getVariantAnalysisRepo(mockCredentials, controllerRepoId, variantAnalysisId, repoTaskId);
|
||||
|
||||
expect(result).not.to.be.undefined;
|
||||
expect(result.repository.id).to.eq(repoTaskId);
|
||||
});
|
||||
});
|
||||
|
||||
describe('getVariantAnalysisRepoResult', () => {
|
||||
it('returns the variant analysis repo result', async () => {
|
||||
await mockServer.loadScenario('problem-query-success');
|
||||
|
||||
const result = await getVariantAnalysisRepoResult(mockCredentials, `https://objects-origin.githubusercontent.com/codeql-query-console/codeql-variant-analysis-repo-tasks/${variantAnalysisId}/${repoTaskId}/${faker.datatype.uuid()}`);
|
||||
|
||||
expect(result).not.to.be.undefined;
|
||||
expect(result).to.be.an('ArrayBuffer');
|
||||
expect(result.byteLength).to.eq(variantAnalysisRepoJson.response.body.artifact_size_in_bytes);
|
||||
});
|
||||
});
|
||||
|
||||
describe('getRepositoryFromNwo', () => {
|
||||
it('returns the repository', async () => {
|
||||
await mockServer.loadScenario('problem-query-success');
|
||||
|
||||
const result = await getRepositoryFromNwo(mockCredentials, 'github', 'mrva-demo-controller-repo');
|
||||
|
||||
expect(result).not.to.be.undefined;
|
||||
expect(result.id).to.eq(getRepoJson.response.body.id);
|
||||
});
|
||||
});
|
||||
@@ -1,8 +1,9 @@
|
||||
{
|
||||
"include": [
|
||||
"**/*.ts"
|
||||
],
|
||||
"extends": "../tsconfig.json",
|
||||
"include": ["**/*.ts"],
|
||||
"exclude": [],
|
||||
"compilerOptions": {
|
||||
"noEmit": true
|
||||
"noEmit": true,
|
||||
"resolveJsonModule": true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user