mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-17 04:18:07 +00:00
* Refactor set_admins into configuration.py and update deployment params with nsg_config
* Fixing arguments.
* Param takes in network config json
* Fixing Client in deploy
* removing import
* Adding onefuzztypes to reqs.txt
* Reverting to single list
* Removing imports.
* Retriggering build
* Setting specific pip version for local testing.
* Removing imports?
* More imports.
* Fixing formatting.
* Updating how to parse nsg param.
* Removing old logging statements.
* Fixing types.
* REmoving bad log
* Removing local pip version.
* Removing comments
* fixing
* Formatting
* Fixing .split()
* Adding NSG rule checks and type.
* Formatting.
* Formatting.
* Removing imports.
* Fixing formatting.
* Testing formatting.
* Retrigger?
* New InstanceConfigClient class.
* Retrigger.
* Cherry picked commit.
* Reformatting.
* Actually fixing formatting.
* Fixing table_service call.
* Fixing return statement and nsg_rule pass.
* Full config.
* Removing commented out code.
* Fixing logic.
* Adding wildcard check.
* Code for updating NSGs when instance_config updated.
* Updating argument to set_allowed_rules
* Updating model to no longer be optional.
* Fixing args for set_allowed_rules
* trying to fix calls to get_nsg
* Updating calls to nsg lib
* Fixing imports.
* Updating calls to set_allowed and creating constructor for NSGConfig type.
* Removing constructor and manually setting default ip
* Fixing models.
* Hopefully fixing docs.
* Fix set_allowed call
* Adding error handling for update config.
* Changing to error check.
* Fixing error call.
* Fixing imports.
* Adding empty() function on request.
* Removing empty function.
* Fixing files for update.
* Fixing nsg.py.
* Fixing imports.
* removing commented code.
Co-authored-by: nharper285 <nharper285@gmail.com>
Update configuration.py to check for 'block all' configuration. (#1394)
* Creating InstanceConfig Attributes for NSG Refactor (#1331)
* Updating instance_config
* Updating attribute names.
* Updating list factory.
* Updating config attributes.
Co-authored-by: nharper285 <nharper285@gmail.com>
* NSG deployment on a creation of new debug/repro proxy. (#1340)
Co-authored-by: stas <statis@microsoft.com>
* Build fix (#1374)
* Bump reqwest from 0.11.4 to 0.11.5 in /src/proxy-manager (#1336)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.4 to 0.11.5.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.4...v0.11.5)
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump reqwest from 0.11.4 to 0.11.5 in /src/agent (#1335)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.4 to 0.11.5.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.4...v0.11.5)
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Work around for newly-upgraded pip breaking pip-licenses (#1346)
* Work around for newly upgrdaded pip breaking pip-licenses (can be reverted once https://github.com/raimon49/pip-licenses/issues/113 is fixed)
* Update .github/workflows/ci.yml
Co-authored-by: Joe Ranweiler <joe@lemma.co>
Co-authored-by: stas <statis@microsoft.com>
Co-authored-by: Joe Ranweiler <joe@lemma.co>
* Bump iced-x86 from 1.14.0 to 1.15.0 in /src/agent (#1337)
Bumps [iced-x86](https://github.com/icedland/iced) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/icedland/iced/releases)
- [Commits](https://github.com/icedland/iced/compare/v1.14.0...v1.15.0)
---
updated-dependencies:
- dependency-name: iced-x86
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* revert pip breaking pip-licenses workaround (#1348)
Co-authored-by: stas <statis@microsoft.com>
* Bump thiserror from 1.0.29 to 1.0.30 in /src/proxy-manager (#1341)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.29 to 1.0.30.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.29...1.0.30)
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump thiserror from 1.0.29 to 1.0.30 in /src/agent (#1342)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.29 to 1.0.30.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.29...1.0.30)
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump strum from 0.21.0 to 0.22.0 in /src/agent (#1343)
Bumps [strum](https://github.com/Peternator7/strum) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits)
---
updated-dependencies:
- dependency-name: strum
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump azure cli to 2.27.2 (#1355)
* Bump azure cli to 2.27.2
* fixing up add-corpus-storage-account script
Co-authored-by: stas <statis@microsoft.com>
* Bump azure-identity to 1.6.1 (#1356)
Co-authored-by: stas <statis@microsoft.com>
* Bump strum_macros from 0.21.1 to 0.22.0 in /src/agent (#1344)
Bumps [strum_macros](https://github.com/Peternator7/strum) from 0.21.1 to 0.22.0.
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits)
---
updated-dependencies:
- dependency-name: strum_macros
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Greisen <marc@greisen.org>
* Bump sysinfo from 0.20.4 to 0.20.5 in /src/agent (#1353)
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.20.4 to 0.20.5.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases)
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)
---
updated-dependencies:
- dependency-name: sysinfo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Release 3.2.0 (#1361)
* Release 3.2.0
* Added python dependencies
* Update CHANGELOG.md
Co-authored-by: Cheick Keita <kcheick@gmail.com>
* Update CHANGELOG.md
Co-authored-by: Joe Ranweiler <joe@lemma.co>
* Update grammar
* Update CHANGELOG.md
Co-authored-by: Joe Ranweiler <joe@lemma.co>
Co-authored-by: Cheick Keita <kcheick@gmail.com>
Co-authored-by: Joe Ranweiler <joe@lemma.co>
* Temporarily ignore non-actionable `cargo audit` errors (#1365)
* Azure DevOps notifications not appearing (#1370)
Co-authored-by: stas <statis@microsoft.com>
* Bump procfs from 0.10.1 to 0.11.0 in /src/agent (#1360)
Bumps [procfs](https://github.com/eminence/procfs) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/eminence/procfs/releases)
- [Commits](https://github.com/eminence/procfs/compare/v0.10.1...v0.11.0)
---
updated-dependencies:
- dependency-name: procfs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Greisen <marc@greisen.org>
* Bump structopt from 0.3.23 to 0.3.25 in /src/agent (#1364)
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.23 to 0.3.25.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.23...v0.3.25)
---
updated-dependencies:
- dependency-name: structopt
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump reqwest from 0.11.5 to 0.11.6 in /src/proxy-manager (#1367)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.5 to 0.11.6.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.5...v0.11.6)
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: stas <statis@microsoft.com>
Co-authored-by: Joe Ranweiler <joe@lemma.co>
Co-authored-by: Marc Greisen <marc@greisen.org>
Co-authored-by: Cheick Keita <kcheick@gmail.com>
Co-authored-by: Joe Ranweiler <joranwei@microsoft.com>
* Delete NSG if no resources associated with it (#1358)
Co-authored-by: stas <statis@microsoft.com>
* Update NSGs after changes to instance config (#1385)
* Refactor set_admins into configuration.py and update deployment params with nsg_config
* Fixing arguments.
* Param takes in network config json
* Fixing Client in deploy
* removing import
* Adding onefuzztypes to reqs.txt
* Reverting to single list
* Removing imports.
* Retriggering build
* Setting specific pip version for local testing.
* Removing imports?
* More imports.
* Fixing formatting.
* Updating how to parse nsg param.
* Removing old logging statements.
* Fixing types.
* REmoving bad log
* Removing local pip version.
* Removing comments
* fixing
* Formatting
* Fixing .split()
* Adding NSG rule checks and type.
* Formatting.
* Formatting.
* Removing imports.
* Fixing formatting.
* Testing formatting.
* Retrigger?
* New InstanceConfigClient class.
* Retrigger.
* Cherry picked commit.
* Reformatting.
* Actually fixing formatting.
* Fixing table_service call.
* Fixing return statement and nsg_rule pass.
* Full config.
* Removing commented out code.
* Fixing logic.
* Adding wildcard check.
* Code for updating NSGs when instance_config updated.
* Updating argument to set_allowed_rules
* Updating model to no longer be optional.
* Fixing args for set_allowed_rules
* trying to fix calls to get_nsg
* Updating calls to nsg lib
* Fixing imports.
* Updating calls to set_allowed and creating constructor for NSGConfig type.
* Removing constructor and manually setting default ip
* Fixing models.
* Hopefully fixing docs.
* Fix set_allowed call
* Adding error handling for update config.
* Changing to error check.
* Fixing error call.
* Fixing imports.
* Adding empty() function on request.
* Removing empty function.
* Fixing files for update.
* Fixing nsg.py.
* Fixing imports.
* removing commented code.
Co-authored-by: nharper285 <nharper285@gmail.com>
* Aligning feature branch with main (#1389)
* Bump reqwest from 0.11.4 to 0.11.5 in /src/proxy-manager (#1336)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.4 to 0.11.5.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.4...v0.11.5)
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump reqwest from 0.11.4 to 0.11.5 in /src/agent (#1335)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.4 to 0.11.5.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.4...v0.11.5)
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Work around for newly-upgraded pip breaking pip-licenses (#1346)
* Work around for newly upgrdaded pip breaking pip-licenses (can be reverted once https://github.com/raimon49/pip-licenses/issues/113 is fixed)
* Update .github/workflows/ci.yml
Co-authored-by: Joe Ranweiler <joe@lemma.co>
Co-authored-by: stas <statis@microsoft.com>
Co-authored-by: Joe Ranweiler <joe@lemma.co>
* Bump iced-x86 from 1.14.0 to 1.15.0 in /src/agent (#1337)
Bumps [iced-x86](https://github.com/icedland/iced) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/icedland/iced/releases)
- [Commits](https://github.com/icedland/iced/compare/v1.14.0...v1.15.0)
---
updated-dependencies:
- dependency-name: iced-x86
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* revert pip breaking pip-licenses workaround (#1348)
Co-authored-by: stas <statis@microsoft.com>
* Bump thiserror from 1.0.29 to 1.0.30 in /src/proxy-manager (#1341)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.29 to 1.0.30.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.29...1.0.30)
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump thiserror from 1.0.29 to 1.0.30 in /src/agent (#1342)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.29 to 1.0.30.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.29...1.0.30)
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump strum from 0.21.0 to 0.22.0 in /src/agent (#1343)
Bumps [strum](https://github.com/Peternator7/strum) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits)
---
updated-dependencies:
- dependency-name: strum
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump azure cli to 2.27.2 (#1355)
* Bump azure cli to 2.27.2
* fixing up add-corpus-storage-account script
Co-authored-by: stas <statis@microsoft.com>
* Bump azure-identity to 1.6.1 (#1356)
Co-authored-by: stas <statis@microsoft.com>
* Bump strum_macros from 0.21.1 to 0.22.0 in /src/agent (#1344)
Bumps [strum_macros](https://github.com/Peternator7/strum) from 0.21.1 to 0.22.0.
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits)
---
updated-dependencies:
- dependency-name: strum_macros
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Greisen <marc@greisen.org>
* Bump sysinfo from 0.20.4 to 0.20.5 in /src/agent (#1353)
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.20.4 to 0.20.5.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases)
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)
---
updated-dependencies:
- dependency-name: sysinfo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Release 3.2.0 (#1361)
* Release 3.2.0
* Added python dependencies
* Update CHANGELOG.md
Co-authored-by: Cheick Keita <kcheick@gmail.com>
* Update CHANGELOG.md
Co-authored-by: Joe Ranweiler <joe@lemma.co>
* Update grammar
* Update CHANGELOG.md
Co-authored-by: Joe Ranweiler <joe@lemma.co>
Co-authored-by: Cheick Keita <kcheick@gmail.com>
Co-authored-by: Joe Ranweiler <joe@lemma.co>
* Temporarily ignore non-actionable `cargo audit` errors (#1365)
* Azure DevOps notifications not appearing (#1370)
Co-authored-by: stas <statis@microsoft.com>
* Bump procfs from 0.10.1 to 0.11.0 in /src/agent (#1360)
Bumps [procfs](https://github.com/eminence/procfs) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/eminence/procfs/releases)
- [Commits](https://github.com/eminence/procfs/compare/v0.10.1...v0.11.0)
---
updated-dependencies:
- dependency-name: procfs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Greisen <marc@greisen.org>
* Bump structopt from 0.3.23 to 0.3.25 in /src/agent (#1364)
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.23 to 0.3.25.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.23...v0.3.25)
---
updated-dependencies:
- dependency-name: structopt
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump reqwest from 0.11.5 to 0.11.6 in /src/proxy-manager (#1367)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.5 to 0.11.6.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.5...v0.11.6)
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump reqwest from 0.11.5 to 0.11.6 in /src/agent (#1368)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.5 to 0.11.6.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.5...v0.11.6)
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump crossterm from 0.21.0 to 0.22.1 in /src/agent (#1369)
Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.21.0 to 0.22.1.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/commits)
---
updated-dependencies:
- dependency-name: crossterm
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Greisen <marc@greisen.org>
* Fix validation of `target_exe` blob name (#1371)
* NSG Updated After CLI Update to Instance_Config (#1375)
* Creating InstanceConfig Attributes for NSG Refactor (#1331)
* Updating instance_config
* Updating attribute names.
* Updating list factory.
* Updating config attributes.
Co-authored-by: nharper285 <nharper285@gmail.com>
* NSG deployment on a creation of new debug/repro proxy. (#1340)
Co-authored-by: stas <statis@microsoft.com>
* Code for updating NSGs when instance_config updated.
* Updating argument to set_allowed_rules
* Temporarily ignore non-actionable `cargo audit` errors (#1365)
* Updating model to no longer be optional.
* Fixing args for set_allowed_rules
* trying to fix calls to get_nsg
* Updating calls to nsg lib
* Fixing imports.
* Updating calls to set_allowed and creating constructor for NSGConfig type.
* Removing constructor and manually setting default ip
* Fixing models.
* Hopefully fixing docs.
* Fix set_allowed call
* Adding error handling for update config.
* Changing to error check.
* Fixing error call.
* Fixing imports.
* Updating instanceconfig retrieval.
* Fixing imports.
* Adding empty() function on request.
* Fixing name of function.
* Removing empty function.
Co-authored-by: nharper285 <nharper285@gmail.com>
Co-authored-by: Stas <stishkin@live.com>
Co-authored-by: stas <statis@microsoft.com>
Co-authored-by: Joe Ranweiler <joranwei@microsoft.com>
* Revert "NSG Updated After CLI Update to Instance_Config (#1375)" (#1384)
This reverts commit 357bc4fcad
.
* Bump backtrace from 0.3.61 to 0.3.62 in /src/agent (#1382)
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.61 to 0.3.62.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.61...0.3.62)
---
updated-dependencies:
- dependency-name: backtrace
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Greisen <marc@greisen.org>
* Set compiler env vars to effect Win10 SDK downgrade (#1388)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: stas <statis@microsoft.com>
Co-authored-by: Joe Ranweiler <joe@lemma.co>
Co-authored-by: Marc Greisen <marc@greisen.org>
Co-authored-by: Cheick Keita <kcheick@gmail.com>
Co-authored-by: Joe Ranweiler <joranwei@microsoft.com>
Co-authored-by: Noah McGregor Harper <74685766+nharper285@users.noreply.github.com>
Co-authored-by: nharper285 <nharper285@gmail.com>
* Updating configuration.py to check for 'block all' config.
* Fixing error message.
* associate subnets with NSG (#1393)
* associate subnets with NSG
change NSG rule protocol to ANY
* subnet wait
* Improve NSG update logic
Co-authored-by: stas <statis@microsoft.com>
Co-authored-by: nharper285 <nharper285@gmail.com>
Co-authored-by: Stas <stishkin@live.com>
Co-authored-by: stas <statis@microsoft.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joe Ranweiler <joe@lemma.co>
Co-authored-by: Marc Greisen <marc@greisen.org>
Co-authored-by: Cheick Keita <kcheick@gmail.com>
Co-authored-by: Joe Ranweiler <joranwei@microsoft.com>
187 KiB
187 KiB
Webhook Events
This document describes the basic webhook event subscriptions available in OneFuzz
Payload
Each event will be submitted via HTTP POST to the user provided URL.
Example
{
"event": {
"ping_id": "00000000-0000-0000-0000-000000000000"
},
"event_id": "00000000-0000-0000-0000-000000000000",
"event_type": "ping",
"instance_id": "00000000-0000-0000-0000-000000000000",
"instance_name": "example",
"webhook_id": "00000000-0000-0000-0000-000000000000"
}
Event Types (EventType)
- crash_reported
- file_added
- instance_config_updated
- job_created
- job_stopped
- node_created
- node_deleted
- node_heartbeat
- node_state_updated
- ping
- pool_created
- pool_deleted
- proxy_created
- proxy_deleted
- proxy_failed
- proxy_state_updated
- regression_reported
- scaleset_created
- scaleset_deleted
- scaleset_failed
- scaleset_resize_scheduled
- scaleset_state_updated
- task_created
- task_failed
- task_heartbeat
- task_state_updated
- task_stopped
crash_reported
Example
{
"container": "container-name",
"filename": "example.json",
"report": {
"asan_log": "example asan log",
"call_stack": [
"#0 line",
"#1 line",
"#2 line"
],
"call_stack_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"crash_site": "example crash site",
"crash_type": "example crash report type",
"executable": "fuzz.exe",
"input_blob": {
"account": "contoso-storage-account",
"container": "crashes",
"name": "input.txt"
},
"input_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"job_id": "00000000-0000-0000-0000-000000000000",
"scariness_description": "example-scariness",
"scariness_score": 10,
"task_id": "00000000-0000-0000-0000-000000000000"
}
}
Schema
{
"definitions": {
"BlobRef": {
"properties": {
"account": {
"title": "Account",
"type": "string"
},
"container": {
"title": "Container",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
}
},
"required": [
"account",
"container",
"name"
],
"title": "BlobRef",
"type": "object"
},
"ContainerType": {
"description": "An enumeration.",
"enum": [
"analysis",
"coverage",
"crashes",
"inputs",
"no_repro",
"readonly_inputs",
"reports",
"setup",
"tools",
"unique_inputs",
"unique_reports",
"regression_reports"
],
"title": "ContainerType"
},
"Report": {
"properties": {
"asan_log": {
"title": "Asan Log",
"type": "string"
},
"call_stack": {
"items": {
"type": "string"
},
"title": "Call Stack",
"type": "array"
},
"call_stack_sha256": {
"title": "Call Stack Sha256",
"type": "string"
},
"crash_site": {
"title": "Crash Site",
"type": "string"
},
"crash_type": {
"title": "Crash Type",
"type": "string"
},
"executable": {
"title": "Executable",
"type": "string"
},
"input_blob": {
"$ref": "#/definitions/BlobRef"
},
"input_sha256": {
"title": "Input Sha256",
"type": "string"
},
"input_url": {
"title": "Input Url",
"type": "string"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"minimized_stack": {
"items": {
"type": "string"
},
"title": "Minimized Stack",
"type": "array"
},
"minimized_stack_function_lines": {
"items": {
"type": "string"
},
"title": "Minimized Stack Function Lines",
"type": "array"
},
"minimized_stack_function_lines_sha256": {
"title": "Minimized Stack Function Lines Sha256",
"type": "string"
},
"minimized_stack_function_names": {
"items": {
"type": "string"
},
"title": "Minimized Stack Function Names",
"type": "array"
},
"minimized_stack_function_names_sha256": {
"title": "Minimized Stack Function Names Sha256",
"type": "string"
},
"minimized_stack_sha256": {
"title": "Minimized Stack Sha256",
"type": "string"
},
"scariness_description": {
"title": "Scariness Description",
"type": "string"
},
"scariness_score": {
"title": "Scariness Score",
"type": "integer"
},
"task_id": {
"format": "uuid",
"title": "Task Id",
"type": "string"
}
},
"required": [
"executable",
"crash_type",
"crash_site",
"call_stack",
"call_stack_sha256",
"input_sha256",
"task_id",
"job_id"
],
"title": "Report",
"type": "object"
},
"StatsFormat": {
"description": "An enumeration.",
"enum": [
"AFL"
],
"title": "StatsFormat"
},
"TaskConfig": {
"properties": {
"colocate": {
"title": "Colocate",
"type": "boolean"
},
"containers": {
"items": {
"$ref": "#/definitions/TaskContainers"
},
"title": "Containers",
"type": "array"
},
"debug": {
"items": {
"$ref": "#/definitions/TaskDebugFlag"
},
"type": "array"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"pool": {
"$ref": "#/definitions/TaskPool"
},
"prereq_tasks": {
"items": {
"format": "uuid",
"type": "string"
},
"title": "Prereq Tasks",
"type": "array"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"title": "Tags",
"type": "object"
},
"task": {
"$ref": "#/definitions/TaskDetails"
},
"vm": {
"$ref": "#/definitions/TaskVm"
}
},
"required": [
"job_id",
"task",
"containers",
"tags"
],
"title": "TaskConfig",
"type": "object"
},
"TaskContainers": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"type": {
"$ref": "#/definitions/ContainerType"
}
},
"required": [
"type",
"name"
],
"title": "TaskContainers",
"type": "object"
},
"TaskDebugFlag": {
"description": "An enumeration.",
"enum": [
"keep_node_on_failure",
"keep_node_on_completion"
],
"title": "TaskDebugFlag"
},
"TaskDetails": {
"properties": {
"analyzer_env": {
"additionalProperties": {
"type": "string"
},
"title": "Analyzer Env",
"type": "object"
},
"analyzer_exe": {
"title": "Analyzer Exe",
"type": "string"
},
"analyzer_options": {
"items": {
"type": "string"
},
"title": "Analyzer Options",
"type": "array"
},
"check_asan_log": {
"title": "Check Asan Log",
"type": "boolean"
},
"check_debugger": {
"default": true,
"title": "Check Debugger",
"type": "boolean"
},
"check_fuzzer_help": {
"title": "Check Fuzzer Help",
"type": "boolean"
},
"check_retry_count": {
"minimum": 0,
"title": "Check Retry Count",
"type": "integer"
},
"coverage_filter": {
"title": "Coverage Filter",
"type": "string"
},
"duration": {
"maximum": 168,
"minimum": 1,
"title": "Duration",
"type": "integer"
},
"ensemble_sync_delay": {
"title": "Ensemble Sync Delay",
"type": "integer"
},
"expect_crash_on_failure": {
"title": "Expect Crash On Failure",
"type": "boolean"
},
"generator_env": {
"additionalProperties": {
"type": "string"
},
"title": "Generator Env",
"type": "object"
},
"generator_exe": {
"title": "Generator Exe",
"type": "string"
},
"generator_options": {
"items": {
"type": "string"
},
"title": "Generator Options",
"type": "array"
},
"minimized_stack_depth": {
"title": "Minimized Stack Depth",
"type": "integer"
},
"preserve_existing_outputs": {
"title": "Preserve Existing Outputs",
"type": "boolean"
},
"reboot_after_setup": {
"title": "Reboot After Setup",
"type": "boolean"
},
"rename_output": {
"title": "Rename Output",
"type": "boolean"
},
"report_list": {
"items": {
"type": "string"
},
"title": "Report List",
"type": "array"
},
"stats_file": {
"title": "Stats File",
"type": "string"
},
"stats_format": {
"$ref": "#/definitions/StatsFormat"
},
"supervisor_env": {
"additionalProperties": {
"type": "string"
},
"title": "Supervisor Env",
"type": "object"
},
"supervisor_exe": {
"title": "Supervisor Exe",
"type": "string"
},
"supervisor_input_marker": {
"title": "Supervisor Input Marker",
"type": "string"
},
"supervisor_options": {
"items": {
"type": "string"
},
"title": "Supervisor Options",
"type": "array"
},
"target_env": {
"additionalProperties": {
"type": "string"
},
"title": "Target Env",
"type": "object"
},
"target_exe": {
"title": "Target Exe",
"type": "string"
},
"target_options": {
"items": {
"type": "string"
},
"title": "Target Options",
"type": "array"
},
"target_options_merge": {
"title": "Target Options Merge",
"type": "boolean"
},
"target_timeout": {
"minimum": 1,
"title": "Target Timeout",
"type": "integer"
},
"target_workers": {
"title": "Target Workers",
"type": "integer"
},
"type": {
"$ref": "#/definitions/TaskType"
},
"wait_for_files": {
"$ref": "#/definitions/ContainerType"
}
},
"required": [
"type",
"duration"
],
"title": "TaskDetails",
"type": "object"
},
"TaskPool": {
"properties": {
"count": {
"title": "Count",
"type": "integer"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
}
},
"required": [
"count",
"pool_name"
],
"title": "TaskPool",
"type": "object"
},
"TaskType": {
"description": "An enumeration.",
"enum": [
"coverage",
"libfuzzer_fuzz",
"libfuzzer_coverage",
"libfuzzer_crash_report",
"libfuzzer_merge",
"libfuzzer_regression",
"generic_analysis",
"generic_supervisor",
"generic_merge",
"generic_generator",
"generic_crash_report",
"generic_regression"
],
"title": "TaskType"
},
"TaskVm": {
"properties": {
"count": {
"default": 1,
"minimum": 0,
"title": "Count",
"type": "integer"
},
"image": {
"title": "Image",
"type": "string"
},
"reboot_after_setup": {
"title": "Reboot After Setup",
"type": "boolean"
},
"region": {
"title": "Region",
"type": "string"
},
"sku": {
"title": "Sku",
"type": "string"
},
"spot_instances": {
"default": false,
"title": "Spot Instances",
"type": "boolean"
}
},
"required": [
"region",
"sku",
"image"
],
"title": "TaskVm",
"type": "object"
}
},
"properties": {
"container": {
"title": "Container",
"type": "string"
},
"filename": {
"title": "Filename",
"type": "string"
},
"report": {
"$ref": "#/definitions/Report"
},
"task_config": {
"$ref": "#/definitions/TaskConfig"
}
},
"required": [
"report",
"container",
"filename"
],
"title": "EventCrashReported",
"type": "object"
}
file_added
Example
{
"container": "container-name",
"filename": "example.txt"
}
Schema
{
"properties": {
"container": {
"title": "Container",
"type": "string"
},
"filename": {
"title": "Filename",
"type": "string"
}
},
"required": [
"container",
"filename"
],
"title": "EventFileAdded",
"type": "object"
}
instance_config_updated
Example
{
"config": {
"admins": [
"00000000-0000-0000-0000-000000000000"
],
"allow_pool_management": true,
"allowed_aad_tenants": [
"00000000-0000-0000-0000-000000000000"
],
"network_config": {
"address_space": "10.0.0.0/8",
"subnet": "10.0.0.0/16"
},
"proxy_nsg_config": {
"allowed_ips": [],
"allowed_service_tags": []
},
"proxy_vm_sku": "Standard_B2s"
}
}
Schema
{
"definitions": {
"AzureMonitorExtensionConfig": {
"properties": {
"config_version": {
"title": "Config Version",
"type": "string"
},
"moniker": {
"title": "Moniker",
"type": "string"
},
"monitoringGCSAccount": {
"title": "Monitoringgcsaccount",
"type": "string"
},
"monitoringGCSAuthId": {
"title": "Monitoringgcsauthid",
"type": "string"
},
"monitoringGCSAuthIdType": {
"title": "Monitoringgcsauthidtype",
"type": "string"
},
"monitoringGSEnvironment": {
"title": "Monitoringgsenvironment",
"type": "string"
},
"namespace": {
"title": "Namespace",
"type": "string"
}
},
"required": [
"config_version",
"moniker",
"namespace",
"monitoringGSEnvironment",
"monitoringGCSAccount",
"monitoringGCSAuthId",
"monitoringGCSAuthIdType"
],
"title": "AzureMonitorExtensionConfig",
"type": "object"
},
"AzureSecurityExtensionConfig": {
"properties": {},
"title": "AzureSecurityExtensionConfig",
"type": "object"
},
"AzureVmExtensionConfig": {
"properties": {
"azure_monitor": {
"$ref": "#/definitions/AzureMonitorExtensionConfig"
},
"azure_security": {
"$ref": "#/definitions/AzureSecurityExtensionConfig"
},
"geneva": {
"$ref": "#/definitions/GenevaExtensionConfig"
},
"keyvault": {
"$ref": "#/definitions/KeyvaultExtensionConfig"
}
},
"title": "AzureVmExtensionConfig",
"type": "object"
},
"GenevaExtensionConfig": {
"properties": {},
"title": "GenevaExtensionConfig",
"type": "object"
},
"InstanceConfig": {
"properties": {
"admins": {
"items": {
"format": "uuid",
"type": "string"
},
"title": "Admins",
"type": "array"
},
"allow_pool_management": {
"default": true,
"title": "Allow Pool Management",
"type": "boolean"
},
"allowed_aad_tenants": {
"items": {
"format": "uuid",
"type": "string"
},
"title": "Allowed Aad Tenants",
"type": "array"
},
"extensions": {
"$ref": "#/definitions/AzureVmExtensionConfig"
},
"network_config": {
"$ref": "#/definitions/NetworkConfig"
},
"proxy_nsg_config": {
"$ref": "#/definitions/NetworkSecurityGroupConfig"
},
"proxy_vm_sku": {
"default": "Standard_B2s",
"title": "Proxy Vm Sku",
"type": "string"
}
},
"required": [
"allowed_aad_tenants"
],
"title": "InstanceConfig",
"type": "object"
},
"KeyvaultExtensionConfig": {
"properties": {
"cert_name": {
"title": "Cert Name",
"type": "string"
},
"cert_path": {
"title": "Cert Path",
"type": "string"
},
"extension_store": {
"title": "Extension Store",
"type": "string"
},
"keyvault_name": {
"title": "Keyvault Name",
"type": "string"
}
},
"required": [
"keyvault_name",
"cert_name",
"cert_path",
"extension_store"
],
"title": "KeyvaultExtensionConfig",
"type": "object"
},
"NetworkConfig": {
"properties": {
"address_space": {
"default": "10.0.0.0/8",
"title": "Address Space",
"type": "string"
},
"subnet": {
"default": "10.0.0.0/16",
"title": "Subnet",
"type": "string"
}
},
"title": "NetworkConfig",
"type": "object"
},
"NetworkSecurityGroupConfig": {
"properties": {
"allowed_ips": {
"items": {
"type": "string"
},
"title": "Allowed Ips",
"type": "array"
},
"allowed_service_tags": {
"items": {
"type": "string"
},
"title": "Allowed Service Tags",
"type": "array"
}
},
"title": "NetworkSecurityGroupConfig",
"type": "object"
}
},
"properties": {
"config": {
"$ref": "#/definitions/InstanceConfig"
}
},
"required": [
"config"
],
"title": "EventInstanceConfigUpdated",
"type": "object"
}
job_created
Example
{
"config": {
"build": "build 1",
"duration": 24,
"name": "example name",
"project": "example project"
},
"job_id": "00000000-0000-0000-0000-000000000000"
}
Schema
{
"definitions": {
"JobConfig": {
"properties": {
"build": {
"title": "Build",
"type": "string"
},
"duration": {
"maximum": 168,
"minimum": 1,
"title": "Duration",
"type": "integer"
},
"name": {
"title": "Name",
"type": "string"
},
"project": {
"title": "Project",
"type": "string"
}
},
"required": [
"project",
"name",
"build",
"duration"
],
"title": "JobConfig",
"type": "object"
},
"UserInfo": {
"properties": {
"application_id": {
"format": "uuid",
"title": "Application Id",
"type": "string"
},
"object_id": {
"format": "uuid",
"title": "Object Id",
"type": "string"
},
"upn": {
"title": "Upn",
"type": "string"
}
},
"title": "UserInfo",
"type": "object"
}
},
"properties": {
"config": {
"$ref": "#/definitions/JobConfig"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"user_info": {
"$ref": "#/definitions/UserInfo"
}
},
"required": [
"job_id",
"config"
],
"title": "EventJobCreated",
"type": "object"
}
job_stopped
Example
{
"config": {
"build": "build 1",
"duration": 24,
"name": "example name",
"project": "example project"
},
"job_id": "00000000-0000-0000-0000-000000000000",
"task_info": [
{
"error": {
"code": 468,
"errors": [
"example error message"
]
},
"task_id": "00000000-0000-0000-0000-000000000000",
"task_type": "libfuzzer_fuzz"
},
{
"task_id": "00000000-0000-0000-0000-000000000001",
"task_type": "libfuzzer_coverage"
}
]
}
Schema
{
"definitions": {
"Error": {
"properties": {
"code": {
"$ref": "#/definitions/ErrorCode"
},
"errors": {
"items": {
"type": "string"
},
"title": "Errors",
"type": "array"
}
},
"required": [
"code",
"errors"
],
"title": "Error",
"type": "object"
},
"ErrorCode": {
"description": "An enumeration.",
"enum": [
450,
451,
452,
453,
454,
455,
456,
457,
458,
459,
460,
461,
462,
463,
464,
465,
467,
468,
469,
470,
471,
472,
473
],
"title": "ErrorCode"
},
"JobConfig": {
"properties": {
"build": {
"title": "Build",
"type": "string"
},
"duration": {
"maximum": 168,
"minimum": 1,
"title": "Duration",
"type": "integer"
},
"name": {
"title": "Name",
"type": "string"
},
"project": {
"title": "Project",
"type": "string"
}
},
"required": [
"project",
"name",
"build",
"duration"
],
"title": "JobConfig",
"type": "object"
},
"JobTaskStopped": {
"properties": {
"error": {
"$ref": "#/definitions/Error"
},
"task_id": {
"format": "uuid",
"title": "Task Id",
"type": "string"
},
"task_type": {
"$ref": "#/definitions/TaskType"
}
},
"required": [
"task_id",
"task_type"
],
"title": "JobTaskStopped",
"type": "object"
},
"TaskType": {
"description": "An enumeration.",
"enum": [
"coverage",
"libfuzzer_fuzz",
"libfuzzer_coverage",
"libfuzzer_crash_report",
"libfuzzer_merge",
"libfuzzer_regression",
"generic_analysis",
"generic_supervisor",
"generic_merge",
"generic_generator",
"generic_crash_report",
"generic_regression"
],
"title": "TaskType"
},
"UserInfo": {
"properties": {
"application_id": {
"format": "uuid",
"title": "Application Id",
"type": "string"
},
"object_id": {
"format": "uuid",
"title": "Object Id",
"type": "string"
},
"upn": {
"title": "Upn",
"type": "string"
}
},
"title": "UserInfo",
"type": "object"
}
},
"properties": {
"config": {
"$ref": "#/definitions/JobConfig"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"task_info": {
"items": {
"$ref": "#/definitions/JobTaskStopped"
},
"title": "Task Info",
"type": "array"
},
"user_info": {
"$ref": "#/definitions/UserInfo"
}
},
"required": [
"job_id",
"config"
],
"title": "EventJobStopped",
"type": "object"
}
node_created
Example
{
"machine_id": "00000000-0000-0000-0000-000000000000",
"pool_name": "example"
}
Schema
{
"properties": {
"machine_id": {
"format": "uuid",
"title": "Machine Id",
"type": "string"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
}
},
"required": [
"machine_id",
"pool_name"
],
"title": "EventNodeCreated",
"type": "object"
}
node_deleted
Example
{
"machine_id": "00000000-0000-0000-0000-000000000000",
"pool_name": "example"
}
Schema
{
"properties": {
"machine_id": {
"format": "uuid",
"title": "Machine Id",
"type": "string"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
}
},
"required": [
"machine_id",
"pool_name"
],
"title": "EventNodeDeleted",
"type": "object"
}
node_heartbeat
Example
{
"machine_id": "00000000-0000-0000-0000-000000000000",
"pool_name": "example"
}
Schema
{
"properties": {
"machine_id": {
"format": "uuid",
"title": "Machine Id",
"type": "string"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
}
},
"required": [
"machine_id",
"pool_name"
],
"title": "EventNodeHeartbeat",
"type": "object"
}
node_state_updated
Example
{
"machine_id": "00000000-0000-0000-0000-000000000000",
"pool_name": "example",
"state": "setting_up"
}
Schema
{
"definitions": {
"NodeState": {
"description": "An enumeration.",
"enum": [
"init",
"free",
"setting_up",
"rebooting",
"ready",
"busy",
"done",
"shutdown",
"halt"
],
"title": "NodeState"
}
},
"properties": {
"machine_id": {
"format": "uuid",
"title": "Machine Id",
"type": "string"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
},
"state": {
"$ref": "#/definitions/NodeState"
}
},
"required": [
"machine_id",
"pool_name",
"state"
],
"title": "EventNodeStateUpdated",
"type": "object"
}
ping
Example
{
"ping_id": "00000000-0000-0000-0000-000000000000"
}
Schema
{
"properties": {
"ping_id": {
"format": "uuid",
"title": "Ping Id",
"type": "string"
}
},
"required": [
"ping_id"
],
"title": "EventPing",
"type": "object"
}
pool_created
Example
{
"arch": "x86_64",
"managed": true,
"os": "linux",
"pool_name": "example"
}
Schema
{
"definitions": {
"Architecture": {
"description": "An enumeration.",
"enum": [
"x86_64"
],
"title": "Architecture"
},
"AutoScaleConfig": {
"properties": {
"ephemeral_os_disks": {
"default": false,
"title": "Ephemeral Os Disks",
"type": "boolean"
},
"image": {
"title": "Image",
"type": "string"
},
"max_size": {
"default": 1000,
"maximum": 1000,
"minimum": 0,
"title": "Max Size",
"type": "integer"
},
"min_size": {
"default": 0,
"maximum": 1000,
"minimum": 0,
"title": "Min Size",
"type": "integer"
},
"region": {
"title": "Region",
"type": "string"
},
"scaleset_size": {
"title": "Scaleset Size",
"type": "integer"
},
"spot_instances": {
"default": false,
"title": "Spot Instances",
"type": "boolean"
},
"vm_sku": {
"title": "Vm Sku",
"type": "string"
}
},
"required": [
"image",
"scaleset_size",
"vm_sku"
],
"title": "AutoScaleConfig",
"type": "object"
},
"OS": {
"description": "An enumeration.",
"enum": [
"windows",
"linux"
],
"title": "OS"
}
},
"properties": {
"arch": {
"$ref": "#/definitions/Architecture"
},
"autoscale": {
"$ref": "#/definitions/AutoScaleConfig"
},
"managed": {
"title": "Managed",
"type": "boolean"
},
"os": {
"$ref": "#/definitions/OS"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
}
},
"required": [
"pool_name",
"os",
"arch",
"managed"
],
"title": "EventPoolCreated",
"type": "object"
}
pool_deleted
Example
{
"pool_name": "example"
}
Schema
{
"properties": {
"pool_name": {
"title": "Pool Name",
"type": "string"
}
},
"required": [
"pool_name"
],
"title": "EventPoolDeleted",
"type": "object"
}
proxy_created
Example
{
"proxy_id": "00000000-0000-0000-0000-000000000000",
"region": "eastus"
}
Schema
{
"properties": {
"proxy_id": {
"format": "uuid",
"title": "Proxy Id",
"type": "string"
},
"region": {
"title": "Region",
"type": "string"
}
},
"required": [
"region"
],
"title": "EventProxyCreated",
"type": "object"
}
proxy_deleted
Example
{
"proxy_id": "00000000-0000-0000-0000-000000000000",
"region": "eastus"
}
Schema
{
"properties": {
"proxy_id": {
"format": "uuid",
"title": "Proxy Id",
"type": "string"
},
"region": {
"title": "Region",
"type": "string"
}
},
"required": [
"region"
],
"title": "EventProxyDeleted",
"type": "object"
}
proxy_failed
Example
{
"error": {
"code": 472,
"errors": [
"example error message"
]
},
"proxy_id": "00000000-0000-0000-0000-000000000000",
"region": "eastus"
}
Schema
{
"definitions": {
"Error": {
"properties": {
"code": {
"$ref": "#/definitions/ErrorCode"
},
"errors": {
"items": {
"type": "string"
},
"title": "Errors",
"type": "array"
}
},
"required": [
"code",
"errors"
],
"title": "Error",
"type": "object"
},
"ErrorCode": {
"description": "An enumeration.",
"enum": [
450,
451,
452,
453,
454,
455,
456,
457,
458,
459,
460,
461,
462,
463,
464,
465,
467,
468,
469,
470,
471,
472,
473
],
"title": "ErrorCode"
}
},
"properties": {
"error": {
"$ref": "#/definitions/Error"
},
"proxy_id": {
"format": "uuid",
"title": "Proxy Id",
"type": "string"
},
"region": {
"title": "Region",
"type": "string"
}
},
"required": [
"region",
"error"
],
"title": "EventProxyFailed",
"type": "object"
}
proxy_state_updated
Example
{
"proxy_id": "00000000-0000-0000-0000-000000000000",
"region": "eastus",
"state": "init"
}
Schema
{
"definitions": {
"VmState": {
"description": "An enumeration.",
"enum": [
"init",
"extensions_launch",
"extensions_failed",
"vm_allocation_failed",
"running",
"stopping",
"stopped"
],
"title": "VmState"
}
},
"properties": {
"proxy_id": {
"format": "uuid",
"title": "Proxy Id",
"type": "string"
},
"region": {
"title": "Region",
"type": "string"
},
"state": {
"$ref": "#/definitions/VmState"
}
},
"required": [
"region",
"proxy_id",
"state"
],
"title": "EventProxyStateUpdated",
"type": "object"
}
regression_reported
Example
{
"container": "container-name",
"filename": "example.json",
"regression_report": {
"crash_test_result": {
"crash_report": {
"asan_log": "example asan log",
"call_stack": [
"#0 line",
"#1 line",
"#2 line"
],
"call_stack_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"crash_site": "example crash site",
"crash_type": "example crash report type",
"executable": "fuzz.exe",
"input_blob": {
"account": "contoso-storage-account",
"container": "crashes",
"name": "input.txt"
},
"input_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"job_id": "00000000-0000-0000-0000-000000000000",
"scariness_description": "example-scariness",
"scariness_score": 10,
"task_id": "00000000-0000-0000-0000-000000000000"
}
},
"original_crash_test_result": {
"crash_report": {
"asan_log": "example asan log",
"call_stack": [
"#0 line",
"#1 line",
"#2 line"
],
"call_stack_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"crash_site": "example crash site",
"crash_type": "example crash report type",
"executable": "fuzz.exe",
"input_blob": {
"account": "contoso-storage-account",
"container": "crashes",
"name": "input.txt"
},
"input_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"job_id": "00000000-0000-0000-0000-000000000000",
"scariness_description": "example-scariness",
"scariness_score": 10,
"task_id": "00000000-0000-0000-0000-000000000000"
}
}
}
}
Schema
{
"definitions": {
"BlobRef": {
"properties": {
"account": {
"title": "Account",
"type": "string"
},
"container": {
"title": "Container",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
}
},
"required": [
"account",
"container",
"name"
],
"title": "BlobRef",
"type": "object"
},
"ContainerType": {
"description": "An enumeration.",
"enum": [
"analysis",
"coverage",
"crashes",
"inputs",
"no_repro",
"readonly_inputs",
"reports",
"setup",
"tools",
"unique_inputs",
"unique_reports",
"regression_reports"
],
"title": "ContainerType"
},
"CrashTestResult": {
"properties": {
"crash_report": {
"$ref": "#/definitions/Report"
},
"no_repro": {
"$ref": "#/definitions/NoReproReport"
}
},
"title": "CrashTestResult",
"type": "object"
},
"NoReproReport": {
"properties": {
"error": {
"title": "Error",
"type": "string"
},
"executable": {
"title": "Executable",
"type": "string"
},
"input_blob": {
"$ref": "#/definitions/BlobRef"
},
"input_sha256": {
"title": "Input Sha256",
"type": "string"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"task_id": {
"format": "uuid",
"title": "Task Id",
"type": "string"
},
"tries": {
"title": "Tries",
"type": "integer"
}
},
"required": [
"input_sha256",
"executable",
"task_id",
"job_id",
"tries"
],
"title": "NoReproReport",
"type": "object"
},
"RegressionReport": {
"properties": {
"crash_test_result": {
"$ref": "#/definitions/CrashTestResult"
},
"original_crash_test_result": {
"$ref": "#/definitions/CrashTestResult"
}
},
"required": [
"crash_test_result"
],
"title": "RegressionReport",
"type": "object"
},
"Report": {
"properties": {
"asan_log": {
"title": "Asan Log",
"type": "string"
},
"call_stack": {
"items": {
"type": "string"
},
"title": "Call Stack",
"type": "array"
},
"call_stack_sha256": {
"title": "Call Stack Sha256",
"type": "string"
},
"crash_site": {
"title": "Crash Site",
"type": "string"
},
"crash_type": {
"title": "Crash Type",
"type": "string"
},
"executable": {
"title": "Executable",
"type": "string"
},
"input_blob": {
"$ref": "#/definitions/BlobRef"
},
"input_sha256": {
"title": "Input Sha256",
"type": "string"
},
"input_url": {
"title": "Input Url",
"type": "string"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"minimized_stack": {
"items": {
"type": "string"
},
"title": "Minimized Stack",
"type": "array"
},
"minimized_stack_function_lines": {
"items": {
"type": "string"
},
"title": "Minimized Stack Function Lines",
"type": "array"
},
"minimized_stack_function_lines_sha256": {
"title": "Minimized Stack Function Lines Sha256",
"type": "string"
},
"minimized_stack_function_names": {
"items": {
"type": "string"
},
"title": "Minimized Stack Function Names",
"type": "array"
},
"minimized_stack_function_names_sha256": {
"title": "Minimized Stack Function Names Sha256",
"type": "string"
},
"minimized_stack_sha256": {
"title": "Minimized Stack Sha256",
"type": "string"
},
"scariness_description": {
"title": "Scariness Description",
"type": "string"
},
"scariness_score": {
"title": "Scariness Score",
"type": "integer"
},
"task_id": {
"format": "uuid",
"title": "Task Id",
"type": "string"
}
},
"required": [
"executable",
"crash_type",
"crash_site",
"call_stack",
"call_stack_sha256",
"input_sha256",
"task_id",
"job_id"
],
"title": "Report",
"type": "object"
},
"StatsFormat": {
"description": "An enumeration.",
"enum": [
"AFL"
],
"title": "StatsFormat"
},
"TaskConfig": {
"properties": {
"colocate": {
"title": "Colocate",
"type": "boolean"
},
"containers": {
"items": {
"$ref": "#/definitions/TaskContainers"
},
"title": "Containers",
"type": "array"
},
"debug": {
"items": {
"$ref": "#/definitions/TaskDebugFlag"
},
"type": "array"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"pool": {
"$ref": "#/definitions/TaskPool"
},
"prereq_tasks": {
"items": {
"format": "uuid",
"type": "string"
},
"title": "Prereq Tasks",
"type": "array"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"title": "Tags",
"type": "object"
},
"task": {
"$ref": "#/definitions/TaskDetails"
},
"vm": {
"$ref": "#/definitions/TaskVm"
}
},
"required": [
"job_id",
"task",
"containers",
"tags"
],
"title": "TaskConfig",
"type": "object"
},
"TaskContainers": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"type": {
"$ref": "#/definitions/ContainerType"
}
},
"required": [
"type",
"name"
],
"title": "TaskContainers",
"type": "object"
},
"TaskDebugFlag": {
"description": "An enumeration.",
"enum": [
"keep_node_on_failure",
"keep_node_on_completion"
],
"title": "TaskDebugFlag"
},
"TaskDetails": {
"properties": {
"analyzer_env": {
"additionalProperties": {
"type": "string"
},
"title": "Analyzer Env",
"type": "object"
},
"analyzer_exe": {
"title": "Analyzer Exe",
"type": "string"
},
"analyzer_options": {
"items": {
"type": "string"
},
"title": "Analyzer Options",
"type": "array"
},
"check_asan_log": {
"title": "Check Asan Log",
"type": "boolean"
},
"check_debugger": {
"default": true,
"title": "Check Debugger",
"type": "boolean"
},
"check_fuzzer_help": {
"title": "Check Fuzzer Help",
"type": "boolean"
},
"check_retry_count": {
"minimum": 0,
"title": "Check Retry Count",
"type": "integer"
},
"coverage_filter": {
"title": "Coverage Filter",
"type": "string"
},
"duration": {
"maximum": 168,
"minimum": 1,
"title": "Duration",
"type": "integer"
},
"ensemble_sync_delay": {
"title": "Ensemble Sync Delay",
"type": "integer"
},
"expect_crash_on_failure": {
"title": "Expect Crash On Failure",
"type": "boolean"
},
"generator_env": {
"additionalProperties": {
"type": "string"
},
"title": "Generator Env",
"type": "object"
},
"generator_exe": {
"title": "Generator Exe",
"type": "string"
},
"generator_options": {
"items": {
"type": "string"
},
"title": "Generator Options",
"type": "array"
},
"minimized_stack_depth": {
"title": "Minimized Stack Depth",
"type": "integer"
},
"preserve_existing_outputs": {
"title": "Preserve Existing Outputs",
"type": "boolean"
},
"reboot_after_setup": {
"title": "Reboot After Setup",
"type": "boolean"
},
"rename_output": {
"title": "Rename Output",
"type": "boolean"
},
"report_list": {
"items": {
"type": "string"
},
"title": "Report List",
"type": "array"
},
"stats_file": {
"title": "Stats File",
"type": "string"
},
"stats_format": {
"$ref": "#/definitions/StatsFormat"
},
"supervisor_env": {
"additionalProperties": {
"type": "string"
},
"title": "Supervisor Env",
"type": "object"
},
"supervisor_exe": {
"title": "Supervisor Exe",
"type": "string"
},
"supervisor_input_marker": {
"title": "Supervisor Input Marker",
"type": "string"
},
"supervisor_options": {
"items": {
"type": "string"
},
"title": "Supervisor Options",
"type": "array"
},
"target_env": {
"additionalProperties": {
"type": "string"
},
"title": "Target Env",
"type": "object"
},
"target_exe": {
"title": "Target Exe",
"type": "string"
},
"target_options": {
"items": {
"type": "string"
},
"title": "Target Options",
"type": "array"
},
"target_options_merge": {
"title": "Target Options Merge",
"type": "boolean"
},
"target_timeout": {
"minimum": 1,
"title": "Target Timeout",
"type": "integer"
},
"target_workers": {
"title": "Target Workers",
"type": "integer"
},
"type": {
"$ref": "#/definitions/TaskType"
},
"wait_for_files": {
"$ref": "#/definitions/ContainerType"
}
},
"required": [
"type",
"duration"
],
"title": "TaskDetails",
"type": "object"
},
"TaskPool": {
"properties": {
"count": {
"title": "Count",
"type": "integer"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
}
},
"required": [
"count",
"pool_name"
],
"title": "TaskPool",
"type": "object"
},
"TaskType": {
"description": "An enumeration.",
"enum": [
"coverage",
"libfuzzer_fuzz",
"libfuzzer_coverage",
"libfuzzer_crash_report",
"libfuzzer_merge",
"libfuzzer_regression",
"generic_analysis",
"generic_supervisor",
"generic_merge",
"generic_generator",
"generic_crash_report",
"generic_regression"
],
"title": "TaskType"
},
"TaskVm": {
"properties": {
"count": {
"default": 1,
"minimum": 0,
"title": "Count",
"type": "integer"
},
"image": {
"title": "Image",
"type": "string"
},
"reboot_after_setup": {
"title": "Reboot After Setup",
"type": "boolean"
},
"region": {
"title": "Region",
"type": "string"
},
"sku": {
"title": "Sku",
"type": "string"
},
"spot_instances": {
"default": false,
"title": "Spot Instances",
"type": "boolean"
}
},
"required": [
"region",
"sku",
"image"
],
"title": "TaskVm",
"type": "object"
}
},
"properties": {
"container": {
"title": "Container",
"type": "string"
},
"filename": {
"title": "Filename",
"type": "string"
},
"regression_report": {
"$ref": "#/definitions/RegressionReport"
},
"task_config": {
"$ref": "#/definitions/TaskConfig"
}
},
"required": [
"regression_report",
"container",
"filename"
],
"title": "EventRegressionReported",
"type": "object"
}
scaleset_created
Example
{
"image": "Canonical:UbuntuServer:18.04-LTS:latest",
"pool_name": "example",
"region": "eastus",
"scaleset_id": "00000000-0000-0000-0000-000000000000",
"size": 10,
"vm_sku": "Standard_D2s_v3"
}
Schema
{
"properties": {
"image": {
"title": "Image",
"type": "string"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"region": {
"title": "Region",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
},
"size": {
"title": "Size",
"type": "integer"
},
"vm_sku": {
"title": "Vm Sku",
"type": "string"
}
},
"required": [
"scaleset_id",
"pool_name",
"vm_sku",
"image",
"region",
"size"
],
"title": "EventScalesetCreated",
"type": "object"
}
scaleset_deleted
Example
{
"pool_name": "example",
"scaleset_id": "00000000-0000-0000-0000-000000000000"
}
Schema
{
"properties": {
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
}
},
"required": [
"scaleset_id",
"pool_name"
],
"title": "EventScalesetDeleted",
"type": "object"
}
scaleset_failed
Example
{
"error": {
"code": 456,
"errors": [
"example error message"
]
},
"pool_name": "example",
"scaleset_id": "00000000-0000-0000-0000-000000000000"
}
Schema
{
"definitions": {
"Error": {
"properties": {
"code": {
"$ref": "#/definitions/ErrorCode"
},
"errors": {
"items": {
"type": "string"
},
"title": "Errors",
"type": "array"
}
},
"required": [
"code",
"errors"
],
"title": "Error",
"type": "object"
},
"ErrorCode": {
"description": "An enumeration.",
"enum": [
450,
451,
452,
453,
454,
455,
456,
457,
458,
459,
460,
461,
462,
463,
464,
465,
467,
468,
469,
470,
471,
472,
473
],
"title": "ErrorCode"
}
},
"properties": {
"error": {
"$ref": "#/definitions/Error"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
}
},
"required": [
"scaleset_id",
"pool_name",
"error"
],
"title": "EventScalesetFailed",
"type": "object"
}
scaleset_resize_scheduled
Example
{
"pool_name": "example",
"scaleset_id": "00000000-0000-0000-0000-000000000000",
"size": 0
}
Schema
{
"properties": {
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
},
"size": {
"title": "Size",
"type": "integer"
}
},
"required": [
"scaleset_id",
"pool_name",
"size"
],
"title": "EventScalesetResizeScheduled",
"type": "object"
}
scaleset_state_updated
Example
{
"pool_name": "example",
"scaleset_id": "00000000-0000-0000-0000-000000000000",
"state": "init"
}
Schema
{
"definitions": {
"ScalesetState": {
"description": "An enumeration.",
"enum": [
"init",
"setup",
"resize",
"running",
"shutdown",
"halt",
"creation_failed"
],
"title": "ScalesetState"
}
},
"properties": {
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
},
"state": {
"$ref": "#/definitions/ScalesetState"
}
},
"required": [
"scaleset_id",
"pool_name",
"state"
],
"title": "EventScalesetStateUpdated",
"type": "object"
}
task_created
Example
{
"config": {
"containers": [
{
"name": "my-setup",
"type": "setup"
},
{
"name": "my-inputs",
"type": "inputs"
},
{
"name": "my-crashes",
"type": "crashes"
}
],
"job_id": "00000000-0000-0000-0000-000000000000",
"tags": {},
"task": {
"check_debugger": true,
"duration": 1,
"target_env": {},
"target_exe": "fuzz.exe",
"target_options": [],
"type": "libfuzzer_fuzz"
}
},
"job_id": "00000000-0000-0000-0000-000000000000",
"task_id": "00000000-0000-0000-0000-000000000000",
"user_info": {
"application_id": "00000000-0000-0000-0000-000000000000",
"object_id": "00000000-0000-0000-0000-000000000000",
"upn": "example@contoso.com"
}
}
Schema
{
"definitions": {
"ContainerType": {
"description": "An enumeration.",
"enum": [
"analysis",
"coverage",
"crashes",
"inputs",
"no_repro",
"readonly_inputs",
"reports",
"setup",
"tools",
"unique_inputs",
"unique_reports",
"regression_reports"
],
"title": "ContainerType"
},
"StatsFormat": {
"description": "An enumeration.",
"enum": [
"AFL"
],
"title": "StatsFormat"
},
"TaskConfig": {
"properties": {
"colocate": {
"title": "Colocate",
"type": "boolean"
},
"containers": {
"items": {
"$ref": "#/definitions/TaskContainers"
},
"title": "Containers",
"type": "array"
},
"debug": {
"items": {
"$ref": "#/definitions/TaskDebugFlag"
},
"type": "array"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"pool": {
"$ref": "#/definitions/TaskPool"
},
"prereq_tasks": {
"items": {
"format": "uuid",
"type": "string"
},
"title": "Prereq Tasks",
"type": "array"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"title": "Tags",
"type": "object"
},
"task": {
"$ref": "#/definitions/TaskDetails"
},
"vm": {
"$ref": "#/definitions/TaskVm"
}
},
"required": [
"job_id",
"task",
"containers",
"tags"
],
"title": "TaskConfig",
"type": "object"
},
"TaskContainers": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"type": {
"$ref": "#/definitions/ContainerType"
}
},
"required": [
"type",
"name"
],
"title": "TaskContainers",
"type": "object"
},
"TaskDebugFlag": {
"description": "An enumeration.",
"enum": [
"keep_node_on_failure",
"keep_node_on_completion"
],
"title": "TaskDebugFlag"
},
"TaskDetails": {
"properties": {
"analyzer_env": {
"additionalProperties": {
"type": "string"
},
"title": "Analyzer Env",
"type": "object"
},
"analyzer_exe": {
"title": "Analyzer Exe",
"type": "string"
},
"analyzer_options": {
"items": {
"type": "string"
},
"title": "Analyzer Options",
"type": "array"
},
"check_asan_log": {
"title": "Check Asan Log",
"type": "boolean"
},
"check_debugger": {
"default": true,
"title": "Check Debugger",
"type": "boolean"
},
"check_fuzzer_help": {
"title": "Check Fuzzer Help",
"type": "boolean"
},
"check_retry_count": {
"minimum": 0,
"title": "Check Retry Count",
"type": "integer"
},
"coverage_filter": {
"title": "Coverage Filter",
"type": "string"
},
"duration": {
"maximum": 168,
"minimum": 1,
"title": "Duration",
"type": "integer"
},
"ensemble_sync_delay": {
"title": "Ensemble Sync Delay",
"type": "integer"
},
"expect_crash_on_failure": {
"title": "Expect Crash On Failure",
"type": "boolean"
},
"generator_env": {
"additionalProperties": {
"type": "string"
},
"title": "Generator Env",
"type": "object"
},
"generator_exe": {
"title": "Generator Exe",
"type": "string"
},
"generator_options": {
"items": {
"type": "string"
},
"title": "Generator Options",
"type": "array"
},
"minimized_stack_depth": {
"title": "Minimized Stack Depth",
"type": "integer"
},
"preserve_existing_outputs": {
"title": "Preserve Existing Outputs",
"type": "boolean"
},
"reboot_after_setup": {
"title": "Reboot After Setup",
"type": "boolean"
},
"rename_output": {
"title": "Rename Output",
"type": "boolean"
},
"report_list": {
"items": {
"type": "string"
},
"title": "Report List",
"type": "array"
},
"stats_file": {
"title": "Stats File",
"type": "string"
},
"stats_format": {
"$ref": "#/definitions/StatsFormat"
},
"supervisor_env": {
"additionalProperties": {
"type": "string"
},
"title": "Supervisor Env",
"type": "object"
},
"supervisor_exe": {
"title": "Supervisor Exe",
"type": "string"
},
"supervisor_input_marker": {
"title": "Supervisor Input Marker",
"type": "string"
},
"supervisor_options": {
"items": {
"type": "string"
},
"title": "Supervisor Options",
"type": "array"
},
"target_env": {
"additionalProperties": {
"type": "string"
},
"title": "Target Env",
"type": "object"
},
"target_exe": {
"title": "Target Exe",
"type": "string"
},
"target_options": {
"items": {
"type": "string"
},
"title": "Target Options",
"type": "array"
},
"target_options_merge": {
"title": "Target Options Merge",
"type": "boolean"
},
"target_timeout": {
"minimum": 1,
"title": "Target Timeout",
"type": "integer"
},
"target_workers": {
"title": "Target Workers",
"type": "integer"
},
"type": {
"$ref": "#/definitions/TaskType"
},
"wait_for_files": {
"$ref": "#/definitions/ContainerType"
}
},
"required": [
"type",
"duration"
],
"title": "TaskDetails",
"type": "object"
},
"TaskPool": {
"properties": {
"count": {
"title": "Count",
"type": "integer"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
}
},
"required": [
"count",
"pool_name"
],
"title": "TaskPool",
"type": "object"
},
"TaskType": {
"description": "An enumeration.",
"enum": [
"coverage",
"libfuzzer_fuzz",
"libfuzzer_coverage",
"libfuzzer_crash_report",
"libfuzzer_merge",
"libfuzzer_regression",
"generic_analysis",
"generic_supervisor",
"generic_merge",
"generic_generator",
"generic_crash_report",
"generic_regression"
],
"title": "TaskType"
},
"TaskVm": {
"properties": {
"count": {
"default": 1,
"minimum": 0,
"title": "Count",
"type": "integer"
},
"image": {
"title": "Image",
"type": "string"
},
"reboot_after_setup": {
"title": "Reboot After Setup",
"type": "boolean"
},
"region": {
"title": "Region",
"type": "string"
},
"sku": {
"title": "Sku",
"type": "string"
},
"spot_instances": {
"default": false,
"title": "Spot Instances",
"type": "boolean"
}
},
"required": [
"region",
"sku",
"image"
],
"title": "TaskVm",
"type": "object"
},
"UserInfo": {
"properties": {
"application_id": {
"format": "uuid",
"title": "Application Id",
"type": "string"
},
"object_id": {
"format": "uuid",
"title": "Object Id",
"type": "string"
},
"upn": {
"title": "Upn",
"type": "string"
}
},
"title": "UserInfo",
"type": "object"
}
},
"properties": {
"config": {
"$ref": "#/definitions/TaskConfig"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"task_id": {
"format": "uuid",
"title": "Task Id",
"type": "string"
},
"user_info": {
"$ref": "#/definitions/UserInfo"
}
},
"required": [
"job_id",
"task_id",
"config"
],
"title": "EventTaskCreated",
"type": "object"
}
task_failed
Example
{
"config": {
"containers": [
{
"name": "my-setup",
"type": "setup"
},
{
"name": "my-inputs",
"type": "inputs"
},
{
"name": "my-crashes",
"type": "crashes"
}
],
"job_id": "00000000-0000-0000-0000-000000000000",
"tags": {},
"task": {
"check_debugger": true,
"duration": 1,
"target_env": {},
"target_exe": "fuzz.exe",
"target_options": [],
"type": "libfuzzer_fuzz"
}
},
"error": {
"code": 468,
"errors": [
"example error message"
]
},
"job_id": "00000000-0000-0000-0000-000000000000",
"task_id": "00000000-0000-0000-0000-000000000000",
"user_info": {
"application_id": "00000000-0000-0000-0000-000000000000",
"object_id": "00000000-0000-0000-0000-000000000000",
"upn": "example@contoso.com"
}
}
Schema
{
"definitions": {
"ContainerType": {
"description": "An enumeration.",
"enum": [
"analysis",
"coverage",
"crashes",
"inputs",
"no_repro",
"readonly_inputs",
"reports",
"setup",
"tools",
"unique_inputs",
"unique_reports",
"regression_reports"
],
"title": "ContainerType"
},
"Error": {
"properties": {
"code": {
"$ref": "#/definitions/ErrorCode"
},
"errors": {
"items": {
"type": "string"
},
"title": "Errors",
"type": "array"
}
},
"required": [
"code",
"errors"
],
"title": "Error",
"type": "object"
},
"ErrorCode": {
"description": "An enumeration.",
"enum": [
450,
451,
452,
453,
454,
455,
456,
457,
458,
459,
460,
461,
462,
463,
464,
465,
467,
468,
469,
470,
471,
472,
473
],
"title": "ErrorCode"
},
"StatsFormat": {
"description": "An enumeration.",
"enum": [
"AFL"
],
"title": "StatsFormat"
},
"TaskConfig": {
"properties": {
"colocate": {
"title": "Colocate",
"type": "boolean"
},
"containers": {
"items": {
"$ref": "#/definitions/TaskContainers"
},
"title": "Containers",
"type": "array"
},
"debug": {
"items": {
"$ref": "#/definitions/TaskDebugFlag"
},
"type": "array"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"pool": {
"$ref": "#/definitions/TaskPool"
},
"prereq_tasks": {
"items": {
"format": "uuid",
"type": "string"
},
"title": "Prereq Tasks",
"type": "array"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"title": "Tags",
"type": "object"
},
"task": {
"$ref": "#/definitions/TaskDetails"
},
"vm": {
"$ref": "#/definitions/TaskVm"
}
},
"required": [
"job_id",
"task",
"containers",
"tags"
],
"title": "TaskConfig",
"type": "object"
},
"TaskContainers": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"type": {
"$ref": "#/definitions/ContainerType"
}
},
"required": [
"type",
"name"
],
"title": "TaskContainers",
"type": "object"
},
"TaskDebugFlag": {
"description": "An enumeration.",
"enum": [
"keep_node_on_failure",
"keep_node_on_completion"
],
"title": "TaskDebugFlag"
},
"TaskDetails": {
"properties": {
"analyzer_env": {
"additionalProperties": {
"type": "string"
},
"title": "Analyzer Env",
"type": "object"
},
"analyzer_exe": {
"title": "Analyzer Exe",
"type": "string"
},
"analyzer_options": {
"items": {
"type": "string"
},
"title": "Analyzer Options",
"type": "array"
},
"check_asan_log": {
"title": "Check Asan Log",
"type": "boolean"
},
"check_debugger": {
"default": true,
"title": "Check Debugger",
"type": "boolean"
},
"check_fuzzer_help": {
"title": "Check Fuzzer Help",
"type": "boolean"
},
"check_retry_count": {
"minimum": 0,
"title": "Check Retry Count",
"type": "integer"
},
"coverage_filter": {
"title": "Coverage Filter",
"type": "string"
},
"duration": {
"maximum": 168,
"minimum": 1,
"title": "Duration",
"type": "integer"
},
"ensemble_sync_delay": {
"title": "Ensemble Sync Delay",
"type": "integer"
},
"expect_crash_on_failure": {
"title": "Expect Crash On Failure",
"type": "boolean"
},
"generator_env": {
"additionalProperties": {
"type": "string"
},
"title": "Generator Env",
"type": "object"
},
"generator_exe": {
"title": "Generator Exe",
"type": "string"
},
"generator_options": {
"items": {
"type": "string"
},
"title": "Generator Options",
"type": "array"
},
"minimized_stack_depth": {
"title": "Minimized Stack Depth",
"type": "integer"
},
"preserve_existing_outputs": {
"title": "Preserve Existing Outputs",
"type": "boolean"
},
"reboot_after_setup": {
"title": "Reboot After Setup",
"type": "boolean"
},
"rename_output": {
"title": "Rename Output",
"type": "boolean"
},
"report_list": {
"items": {
"type": "string"
},
"title": "Report List",
"type": "array"
},
"stats_file": {
"title": "Stats File",
"type": "string"
},
"stats_format": {
"$ref": "#/definitions/StatsFormat"
},
"supervisor_env": {
"additionalProperties": {
"type": "string"
},
"title": "Supervisor Env",
"type": "object"
},
"supervisor_exe": {
"title": "Supervisor Exe",
"type": "string"
},
"supervisor_input_marker": {
"title": "Supervisor Input Marker",
"type": "string"
},
"supervisor_options": {
"items": {
"type": "string"
},
"title": "Supervisor Options",
"type": "array"
},
"target_env": {
"additionalProperties": {
"type": "string"
},
"title": "Target Env",
"type": "object"
},
"target_exe": {
"title": "Target Exe",
"type": "string"
},
"target_options": {
"items": {
"type": "string"
},
"title": "Target Options",
"type": "array"
},
"target_options_merge": {
"title": "Target Options Merge",
"type": "boolean"
},
"target_timeout": {
"minimum": 1,
"title": "Target Timeout",
"type": "integer"
},
"target_workers": {
"title": "Target Workers",
"type": "integer"
},
"type": {
"$ref": "#/definitions/TaskType"
},
"wait_for_files": {
"$ref": "#/definitions/ContainerType"
}
},
"required": [
"type",
"duration"
],
"title": "TaskDetails",
"type": "object"
},
"TaskPool": {
"properties": {
"count": {
"title": "Count",
"type": "integer"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
}
},
"required": [
"count",
"pool_name"
],
"title": "TaskPool",
"type": "object"
},
"TaskType": {
"description": "An enumeration.",
"enum": [
"coverage",
"libfuzzer_fuzz",
"libfuzzer_coverage",
"libfuzzer_crash_report",
"libfuzzer_merge",
"libfuzzer_regression",
"generic_analysis",
"generic_supervisor",
"generic_merge",
"generic_generator",
"generic_crash_report",
"generic_regression"
],
"title": "TaskType"
},
"TaskVm": {
"properties": {
"count": {
"default": 1,
"minimum": 0,
"title": "Count",
"type": "integer"
},
"image": {
"title": "Image",
"type": "string"
},
"reboot_after_setup": {
"title": "Reboot After Setup",
"type": "boolean"
},
"region": {
"title": "Region",
"type": "string"
},
"sku": {
"title": "Sku",
"type": "string"
},
"spot_instances": {
"default": false,
"title": "Spot Instances",
"type": "boolean"
}
},
"required": [
"region",
"sku",
"image"
],
"title": "TaskVm",
"type": "object"
},
"UserInfo": {
"properties": {
"application_id": {
"format": "uuid",
"title": "Application Id",
"type": "string"
},
"object_id": {
"format": "uuid",
"title": "Object Id",
"type": "string"
},
"upn": {
"title": "Upn",
"type": "string"
}
},
"title": "UserInfo",
"type": "object"
}
},
"properties": {
"config": {
"$ref": "#/definitions/TaskConfig"
},
"error": {
"$ref": "#/definitions/Error"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"task_id": {
"format": "uuid",
"title": "Task Id",
"type": "string"
},
"user_info": {
"$ref": "#/definitions/UserInfo"
}
},
"required": [
"job_id",
"task_id",
"error",
"config"
],
"title": "EventTaskFailed",
"type": "object"
}
task_heartbeat
Example
{
"config": {
"containers": [
{
"name": "my-setup",
"type": "setup"
},
{
"name": "my-inputs",
"type": "inputs"
},
{
"name": "my-crashes",
"type": "crashes"
}
],
"job_id": "00000000-0000-0000-0000-000000000000",
"tags": {},
"task": {
"check_debugger": true,
"duration": 1,
"target_env": {},
"target_exe": "fuzz.exe",
"target_options": [],
"type": "libfuzzer_fuzz"
}
},
"job_id": "00000000-0000-0000-0000-000000000000",
"task_id": "00000000-0000-0000-0000-000000000000"
}
Schema
{
"definitions": {
"ContainerType": {
"description": "An enumeration.",
"enum": [
"analysis",
"coverage",
"crashes",
"inputs",
"no_repro",
"readonly_inputs",
"reports",
"setup",
"tools",
"unique_inputs",
"unique_reports",
"regression_reports"
],
"title": "ContainerType"
},
"StatsFormat": {
"description": "An enumeration.",
"enum": [
"AFL"
],
"title": "StatsFormat"
},
"TaskConfig": {
"properties": {
"colocate": {
"title": "Colocate",
"type": "boolean"
},
"containers": {
"items": {
"$ref": "#/definitions/TaskContainers"
},
"title": "Containers",
"type": "array"
},
"debug": {
"items": {
"$ref": "#/definitions/TaskDebugFlag"
},
"type": "array"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"pool": {
"$ref": "#/definitions/TaskPool"
},
"prereq_tasks": {
"items": {
"format": "uuid",
"type": "string"
},
"title": "Prereq Tasks",
"type": "array"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"title": "Tags",
"type": "object"
},
"task": {
"$ref": "#/definitions/TaskDetails"
},
"vm": {
"$ref": "#/definitions/TaskVm"
}
},
"required": [
"job_id",
"task",
"containers",
"tags"
],
"title": "TaskConfig",
"type": "object"
},
"TaskContainers": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"type": {
"$ref": "#/definitions/ContainerType"
}
},
"required": [
"type",
"name"
],
"title": "TaskContainers",
"type": "object"
},
"TaskDebugFlag": {
"description": "An enumeration.",
"enum": [
"keep_node_on_failure",
"keep_node_on_completion"
],
"title": "TaskDebugFlag"
},
"TaskDetails": {
"properties": {
"analyzer_env": {
"additionalProperties": {
"type": "string"
},
"title": "Analyzer Env",
"type": "object"
},
"analyzer_exe": {
"title": "Analyzer Exe",
"type": "string"
},
"analyzer_options": {
"items": {
"type": "string"
},
"title": "Analyzer Options",
"type": "array"
},
"check_asan_log": {
"title": "Check Asan Log",
"type": "boolean"
},
"check_debugger": {
"default": true,
"title": "Check Debugger",
"type": "boolean"
},
"check_fuzzer_help": {
"title": "Check Fuzzer Help",
"type": "boolean"
},
"check_retry_count": {
"minimum": 0,
"title": "Check Retry Count",
"type": "integer"
},
"coverage_filter": {
"title": "Coverage Filter",
"type": "string"
},
"duration": {
"maximum": 168,
"minimum": 1,
"title": "Duration",
"type": "integer"
},
"ensemble_sync_delay": {
"title": "Ensemble Sync Delay",
"type": "integer"
},
"expect_crash_on_failure": {
"title": "Expect Crash On Failure",
"type": "boolean"
},
"generator_env": {
"additionalProperties": {
"type": "string"
},
"title": "Generator Env",
"type": "object"
},
"generator_exe": {
"title": "Generator Exe",
"type": "string"
},
"generator_options": {
"items": {
"type": "string"
},
"title": "Generator Options",
"type": "array"
},
"minimized_stack_depth": {
"title": "Minimized Stack Depth",
"type": "integer"
},
"preserve_existing_outputs": {
"title": "Preserve Existing Outputs",
"type": "boolean"
},
"reboot_after_setup": {
"title": "Reboot After Setup",
"type": "boolean"
},
"rename_output": {
"title": "Rename Output",
"type": "boolean"
},
"report_list": {
"items": {
"type": "string"
},
"title": "Report List",
"type": "array"
},
"stats_file": {
"title": "Stats File",
"type": "string"
},
"stats_format": {
"$ref": "#/definitions/StatsFormat"
},
"supervisor_env": {
"additionalProperties": {
"type": "string"
},
"title": "Supervisor Env",
"type": "object"
},
"supervisor_exe": {
"title": "Supervisor Exe",
"type": "string"
},
"supervisor_input_marker": {
"title": "Supervisor Input Marker",
"type": "string"
},
"supervisor_options": {
"items": {
"type": "string"
},
"title": "Supervisor Options",
"type": "array"
},
"target_env": {
"additionalProperties": {
"type": "string"
},
"title": "Target Env",
"type": "object"
},
"target_exe": {
"title": "Target Exe",
"type": "string"
},
"target_options": {
"items": {
"type": "string"
},
"title": "Target Options",
"type": "array"
},
"target_options_merge": {
"title": "Target Options Merge",
"type": "boolean"
},
"target_timeout": {
"minimum": 1,
"title": "Target Timeout",
"type": "integer"
},
"target_workers": {
"title": "Target Workers",
"type": "integer"
},
"type": {
"$ref": "#/definitions/TaskType"
},
"wait_for_files": {
"$ref": "#/definitions/ContainerType"
}
},
"required": [
"type",
"duration"
],
"title": "TaskDetails",
"type": "object"
},
"TaskPool": {
"properties": {
"count": {
"title": "Count",
"type": "integer"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
}
},
"required": [
"count",
"pool_name"
],
"title": "TaskPool",
"type": "object"
},
"TaskType": {
"description": "An enumeration.",
"enum": [
"coverage",
"libfuzzer_fuzz",
"libfuzzer_coverage",
"libfuzzer_crash_report",
"libfuzzer_merge",
"libfuzzer_regression",
"generic_analysis",
"generic_supervisor",
"generic_merge",
"generic_generator",
"generic_crash_report",
"generic_regression"
],
"title": "TaskType"
},
"TaskVm": {
"properties": {
"count": {
"default": 1,
"minimum": 0,
"title": "Count",
"type": "integer"
},
"image": {
"title": "Image",
"type": "string"
},
"reboot_after_setup": {
"title": "Reboot After Setup",
"type": "boolean"
},
"region": {
"title": "Region",
"type": "string"
},
"sku": {
"title": "Sku",
"type": "string"
},
"spot_instances": {
"default": false,
"title": "Spot Instances",
"type": "boolean"
}
},
"required": [
"region",
"sku",
"image"
],
"title": "TaskVm",
"type": "object"
}
},
"properties": {
"config": {
"$ref": "#/definitions/TaskConfig"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"task_id": {
"format": "uuid",
"title": "Task Id",
"type": "string"
}
},
"required": [
"job_id",
"task_id",
"config"
],
"title": "EventTaskHeartbeat",
"type": "object"
}
task_state_updated
Example
{
"config": {
"containers": [
{
"name": "my-setup",
"type": "setup"
},
{
"name": "my-inputs",
"type": "inputs"
},
{
"name": "my-crashes",
"type": "crashes"
}
],
"job_id": "00000000-0000-0000-0000-000000000000",
"tags": {},
"task": {
"check_debugger": true,
"duration": 1,
"target_env": {},
"target_exe": "fuzz.exe",
"target_options": [],
"type": "libfuzzer_fuzz"
}
},
"job_id": "00000000-0000-0000-0000-000000000000",
"state": "init",
"task_id": "00000000-0000-0000-0000-000000000000"
}
Schema
{
"definitions": {
"ContainerType": {
"description": "An enumeration.",
"enum": [
"analysis",
"coverage",
"crashes",
"inputs",
"no_repro",
"readonly_inputs",
"reports",
"setup",
"tools",
"unique_inputs",
"unique_reports",
"regression_reports"
],
"title": "ContainerType"
},
"StatsFormat": {
"description": "An enumeration.",
"enum": [
"AFL"
],
"title": "StatsFormat"
},
"TaskConfig": {
"properties": {
"colocate": {
"title": "Colocate",
"type": "boolean"
},
"containers": {
"items": {
"$ref": "#/definitions/TaskContainers"
},
"title": "Containers",
"type": "array"
},
"debug": {
"items": {
"$ref": "#/definitions/TaskDebugFlag"
},
"type": "array"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"pool": {
"$ref": "#/definitions/TaskPool"
},
"prereq_tasks": {
"items": {
"format": "uuid",
"type": "string"
},
"title": "Prereq Tasks",
"type": "array"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"title": "Tags",
"type": "object"
},
"task": {
"$ref": "#/definitions/TaskDetails"
},
"vm": {
"$ref": "#/definitions/TaskVm"
}
},
"required": [
"job_id",
"task",
"containers",
"tags"
],
"title": "TaskConfig",
"type": "object"
},
"TaskContainers": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"type": {
"$ref": "#/definitions/ContainerType"
}
},
"required": [
"type",
"name"
],
"title": "TaskContainers",
"type": "object"
},
"TaskDebugFlag": {
"description": "An enumeration.",
"enum": [
"keep_node_on_failure",
"keep_node_on_completion"
],
"title": "TaskDebugFlag"
},
"TaskDetails": {
"properties": {
"analyzer_env": {
"additionalProperties": {
"type": "string"
},
"title": "Analyzer Env",
"type": "object"
},
"analyzer_exe": {
"title": "Analyzer Exe",
"type": "string"
},
"analyzer_options": {
"items": {
"type": "string"
},
"title": "Analyzer Options",
"type": "array"
},
"check_asan_log": {
"title": "Check Asan Log",
"type": "boolean"
},
"check_debugger": {
"default": true,
"title": "Check Debugger",
"type": "boolean"
},
"check_fuzzer_help": {
"title": "Check Fuzzer Help",
"type": "boolean"
},
"check_retry_count": {
"minimum": 0,
"title": "Check Retry Count",
"type": "integer"
},
"coverage_filter": {
"title": "Coverage Filter",
"type": "string"
},
"duration": {
"maximum": 168,
"minimum": 1,
"title": "Duration",
"type": "integer"
},
"ensemble_sync_delay": {
"title": "Ensemble Sync Delay",
"type": "integer"
},
"expect_crash_on_failure": {
"title": "Expect Crash On Failure",
"type": "boolean"
},
"generator_env": {
"additionalProperties": {
"type": "string"
},
"title": "Generator Env",
"type": "object"
},
"generator_exe": {
"title": "Generator Exe",
"type": "string"
},
"generator_options": {
"items": {
"type": "string"
},
"title": "Generator Options",
"type": "array"
},
"minimized_stack_depth": {
"title": "Minimized Stack Depth",
"type": "integer"
},
"preserve_existing_outputs": {
"title": "Preserve Existing Outputs",
"type": "boolean"
},
"reboot_after_setup": {
"title": "Reboot After Setup",
"type": "boolean"
},
"rename_output": {
"title": "Rename Output",
"type": "boolean"
},
"report_list": {
"items": {
"type": "string"
},
"title": "Report List",
"type": "array"
},
"stats_file": {
"title": "Stats File",
"type": "string"
},
"stats_format": {
"$ref": "#/definitions/StatsFormat"
},
"supervisor_env": {
"additionalProperties": {
"type": "string"
},
"title": "Supervisor Env",
"type": "object"
},
"supervisor_exe": {
"title": "Supervisor Exe",
"type": "string"
},
"supervisor_input_marker": {
"title": "Supervisor Input Marker",
"type": "string"
},
"supervisor_options": {
"items": {
"type": "string"
},
"title": "Supervisor Options",
"type": "array"
},
"target_env": {
"additionalProperties": {
"type": "string"
},
"title": "Target Env",
"type": "object"
},
"target_exe": {
"title": "Target Exe",
"type": "string"
},
"target_options": {
"items": {
"type": "string"
},
"title": "Target Options",
"type": "array"
},
"target_options_merge": {
"title": "Target Options Merge",
"type": "boolean"
},
"target_timeout": {
"minimum": 1,
"title": "Target Timeout",
"type": "integer"
},
"target_workers": {
"title": "Target Workers",
"type": "integer"
},
"type": {
"$ref": "#/definitions/TaskType"
},
"wait_for_files": {
"$ref": "#/definitions/ContainerType"
}
},
"required": [
"type",
"duration"
],
"title": "TaskDetails",
"type": "object"
},
"TaskPool": {
"properties": {
"count": {
"title": "Count",
"type": "integer"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
}
},
"required": [
"count",
"pool_name"
],
"title": "TaskPool",
"type": "object"
},
"TaskState": {
"description": "An enumeration.",
"enum": [
"init",
"waiting",
"scheduled",
"setting_up",
"running",
"stopping",
"stopped",
"wait_job"
],
"title": "TaskState"
},
"TaskType": {
"description": "An enumeration.",
"enum": [
"coverage",
"libfuzzer_fuzz",
"libfuzzer_coverage",
"libfuzzer_crash_report",
"libfuzzer_merge",
"libfuzzer_regression",
"generic_analysis",
"generic_supervisor",
"generic_merge",
"generic_generator",
"generic_crash_report",
"generic_regression"
],
"title": "TaskType"
},
"TaskVm": {
"properties": {
"count": {
"default": 1,
"minimum": 0,
"title": "Count",
"type": "integer"
},
"image": {
"title": "Image",
"type": "string"
},
"reboot_after_setup": {
"title": "Reboot After Setup",
"type": "boolean"
},
"region": {
"title": "Region",
"type": "string"
},
"sku": {
"title": "Sku",
"type": "string"
},
"spot_instances": {
"default": false,
"title": "Spot Instances",
"type": "boolean"
}
},
"required": [
"region",
"sku",
"image"
],
"title": "TaskVm",
"type": "object"
}
},
"properties": {
"config": {
"$ref": "#/definitions/TaskConfig"
},
"end_time": {
"format": "date-time",
"title": "End Time",
"type": "string"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"state": {
"$ref": "#/definitions/TaskState"
},
"task_id": {
"format": "uuid",
"title": "Task Id",
"type": "string"
}
},
"required": [
"job_id",
"task_id",
"state",
"config"
],
"title": "EventTaskStateUpdated",
"type": "object"
}
task_stopped
Example
{
"config": {
"containers": [
{
"name": "my-setup",
"type": "setup"
},
{
"name": "my-inputs",
"type": "inputs"
},
{
"name": "my-crashes",
"type": "crashes"
}
],
"job_id": "00000000-0000-0000-0000-000000000000",
"tags": {},
"task": {
"check_debugger": true,
"duration": 1,
"target_env": {},
"target_exe": "fuzz.exe",
"target_options": [],
"type": "libfuzzer_fuzz"
}
},
"job_id": "00000000-0000-0000-0000-000000000000",
"task_id": "00000000-0000-0000-0000-000000000000",
"user_info": {
"application_id": "00000000-0000-0000-0000-000000000000",
"object_id": "00000000-0000-0000-0000-000000000000",
"upn": "example@contoso.com"
}
}
Schema
{
"definitions": {
"ContainerType": {
"description": "An enumeration.",
"enum": [
"analysis",
"coverage",
"crashes",
"inputs",
"no_repro",
"readonly_inputs",
"reports",
"setup",
"tools",
"unique_inputs",
"unique_reports",
"regression_reports"
],
"title": "ContainerType"
},
"StatsFormat": {
"description": "An enumeration.",
"enum": [
"AFL"
],
"title": "StatsFormat"
},
"TaskConfig": {
"properties": {
"colocate": {
"title": "Colocate",
"type": "boolean"
},
"containers": {
"items": {
"$ref": "#/definitions/TaskContainers"
},
"title": "Containers",
"type": "array"
},
"debug": {
"items": {
"$ref": "#/definitions/TaskDebugFlag"
},
"type": "array"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"pool": {
"$ref": "#/definitions/TaskPool"
},
"prereq_tasks": {
"items": {
"format": "uuid",
"type": "string"
},
"title": "Prereq Tasks",
"type": "array"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"title": "Tags",
"type": "object"
},
"task": {
"$ref": "#/definitions/TaskDetails"
},
"vm": {
"$ref": "#/definitions/TaskVm"
}
},
"required": [
"job_id",
"task",
"containers",
"tags"
],
"title": "TaskConfig",
"type": "object"
},
"TaskContainers": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"type": {
"$ref": "#/definitions/ContainerType"
}
},
"required": [
"type",
"name"
],
"title": "TaskContainers",
"type": "object"
},
"TaskDebugFlag": {
"description": "An enumeration.",
"enum": [
"keep_node_on_failure",
"keep_node_on_completion"
],
"title": "TaskDebugFlag"
},
"TaskDetails": {
"properties": {
"analyzer_env": {
"additionalProperties": {
"type": "string"
},
"title": "Analyzer Env",
"type": "object"
},
"analyzer_exe": {
"title": "Analyzer Exe",
"type": "string"
},
"analyzer_options": {
"items": {
"type": "string"
},
"title": "Analyzer Options",
"type": "array"
},
"check_asan_log": {
"title": "Check Asan Log",
"type": "boolean"
},
"check_debugger": {
"default": true,
"title": "Check Debugger",
"type": "boolean"
},
"check_fuzzer_help": {
"title": "Check Fuzzer Help",
"type": "boolean"
},
"check_retry_count": {
"minimum": 0,
"title": "Check Retry Count",
"type": "integer"
},
"coverage_filter": {
"title": "Coverage Filter",
"type": "string"
},
"duration": {
"maximum": 168,
"minimum": 1,
"title": "Duration",
"type": "integer"
},
"ensemble_sync_delay": {
"title": "Ensemble Sync Delay",
"type": "integer"
},
"expect_crash_on_failure": {
"title": "Expect Crash On Failure",
"type": "boolean"
},
"generator_env": {
"additionalProperties": {
"type": "string"
},
"title": "Generator Env",
"type": "object"
},
"generator_exe": {
"title": "Generator Exe",
"type": "string"
},
"generator_options": {
"items": {
"type": "string"
},
"title": "Generator Options",
"type": "array"
},
"minimized_stack_depth": {
"title": "Minimized Stack Depth",
"type": "integer"
},
"preserve_existing_outputs": {
"title": "Preserve Existing Outputs",
"type": "boolean"
},
"reboot_after_setup": {
"title": "Reboot After Setup",
"type": "boolean"
},
"rename_output": {
"title": "Rename Output",
"type": "boolean"
},
"report_list": {
"items": {
"type": "string"
},
"title": "Report List",
"type": "array"
},
"stats_file": {
"title": "Stats File",
"type": "string"
},
"stats_format": {
"$ref": "#/definitions/StatsFormat"
},
"supervisor_env": {
"additionalProperties": {
"type": "string"
},
"title": "Supervisor Env",
"type": "object"
},
"supervisor_exe": {
"title": "Supervisor Exe",
"type": "string"
},
"supervisor_input_marker": {
"title": "Supervisor Input Marker",
"type": "string"
},
"supervisor_options": {
"items": {
"type": "string"
},
"title": "Supervisor Options",
"type": "array"
},
"target_env": {
"additionalProperties": {
"type": "string"
},
"title": "Target Env",
"type": "object"
},
"target_exe": {
"title": "Target Exe",
"type": "string"
},
"target_options": {
"items": {
"type": "string"
},
"title": "Target Options",
"type": "array"
},
"target_options_merge": {
"title": "Target Options Merge",
"type": "boolean"
},
"target_timeout": {
"minimum": 1,
"title": "Target Timeout",
"type": "integer"
},
"target_workers": {
"title": "Target Workers",
"type": "integer"
},
"type": {
"$ref": "#/definitions/TaskType"
},
"wait_for_files": {
"$ref": "#/definitions/ContainerType"
}
},
"required": [
"type",
"duration"
],
"title": "TaskDetails",
"type": "object"
},
"TaskPool": {
"properties": {
"count": {
"title": "Count",
"type": "integer"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
}
},
"required": [
"count",
"pool_name"
],
"title": "TaskPool",
"type": "object"
},
"TaskType": {
"description": "An enumeration.",
"enum": [
"coverage",
"libfuzzer_fuzz",
"libfuzzer_coverage",
"libfuzzer_crash_report",
"libfuzzer_merge",
"libfuzzer_regression",
"generic_analysis",
"generic_supervisor",
"generic_merge",
"generic_generator",
"generic_crash_report",
"generic_regression"
],
"title": "TaskType"
},
"TaskVm": {
"properties": {
"count": {
"default": 1,
"minimum": 0,
"title": "Count",
"type": "integer"
},
"image": {
"title": "Image",
"type": "string"
},
"reboot_after_setup": {
"title": "Reboot After Setup",
"type": "boolean"
},
"region": {
"title": "Region",
"type": "string"
},
"sku": {
"title": "Sku",
"type": "string"
},
"spot_instances": {
"default": false,
"title": "Spot Instances",
"type": "boolean"
}
},
"required": [
"region",
"sku",
"image"
],
"title": "TaskVm",
"type": "object"
},
"UserInfo": {
"properties": {
"application_id": {
"format": "uuid",
"title": "Application Id",
"type": "string"
},
"object_id": {
"format": "uuid",
"title": "Object Id",
"type": "string"
},
"upn": {
"title": "Upn",
"type": "string"
}
},
"title": "UserInfo",
"type": "object"
}
},
"properties": {
"config": {
"$ref": "#/definitions/TaskConfig"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"task_id": {
"format": "uuid",
"title": "Task Id",
"type": "string"
},
"user_info": {
"$ref": "#/definitions/UserInfo"
}
},
"required": [
"job_id",
"task_id",
"config"
],
"title": "EventTaskStopped",
"type": "object"
}
Full Event Schema
{
"definitions": {
"Architecture": {
"description": "An enumeration.",
"enum": [
"x86_64"
],
"title": "Architecture"
},
"AutoScaleConfig": {
"properties": {
"ephemeral_os_disks": {
"default": false,
"title": "Ephemeral Os Disks",
"type": "boolean"
},
"image": {
"title": "Image",
"type": "string"
},
"max_size": {
"default": 1000,
"maximum": 1000,
"minimum": 0,
"title": "Max Size",
"type": "integer"
},
"min_size": {
"default": 0,
"maximum": 1000,
"minimum": 0,
"title": "Min Size",
"type": "integer"
},
"region": {
"title": "Region",
"type": "string"
},
"scaleset_size": {
"title": "Scaleset Size",
"type": "integer"
},
"spot_instances": {
"default": false,
"title": "Spot Instances",
"type": "boolean"
},
"vm_sku": {
"title": "Vm Sku",
"type": "string"
}
},
"required": [
"image",
"scaleset_size",
"vm_sku"
],
"title": "AutoScaleConfig",
"type": "object"
},
"AzureMonitorExtensionConfig": {
"properties": {
"config_version": {
"title": "Config Version",
"type": "string"
},
"moniker": {
"title": "Moniker",
"type": "string"
},
"monitoringGCSAccount": {
"title": "Monitoringgcsaccount",
"type": "string"
},
"monitoringGCSAuthId": {
"title": "Monitoringgcsauthid",
"type": "string"
},
"monitoringGCSAuthIdType": {
"title": "Monitoringgcsauthidtype",
"type": "string"
},
"monitoringGSEnvironment": {
"title": "Monitoringgsenvironment",
"type": "string"
},
"namespace": {
"title": "Namespace",
"type": "string"
}
},
"required": [
"config_version",
"moniker",
"namespace",
"monitoringGSEnvironment",
"monitoringGCSAccount",
"monitoringGCSAuthId",
"monitoringGCSAuthIdType"
],
"title": "AzureMonitorExtensionConfig",
"type": "object"
},
"AzureSecurityExtensionConfig": {
"properties": {},
"title": "AzureSecurityExtensionConfig",
"type": "object"
},
"AzureVmExtensionConfig": {
"properties": {
"azure_monitor": {
"$ref": "#/definitions/AzureMonitorExtensionConfig"
},
"azure_security": {
"$ref": "#/definitions/AzureSecurityExtensionConfig"
},
"geneva": {
"$ref": "#/definitions/GenevaExtensionConfig"
},
"keyvault": {
"$ref": "#/definitions/KeyvaultExtensionConfig"
}
},
"title": "AzureVmExtensionConfig",
"type": "object"
},
"BlobRef": {
"properties": {
"account": {
"title": "Account",
"type": "string"
},
"container": {
"title": "Container",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
}
},
"required": [
"account",
"container",
"name"
],
"title": "BlobRef",
"type": "object"
},
"ContainerType": {
"description": "An enumeration.",
"enum": [
"analysis",
"coverage",
"crashes",
"inputs",
"no_repro",
"readonly_inputs",
"reports",
"setup",
"tools",
"unique_inputs",
"unique_reports",
"regression_reports"
],
"title": "ContainerType"
},
"CrashTestResult": {
"properties": {
"crash_report": {
"$ref": "#/definitions/Report"
},
"no_repro": {
"$ref": "#/definitions/NoReproReport"
}
},
"title": "CrashTestResult",
"type": "object"
},
"Error": {
"properties": {
"code": {
"$ref": "#/definitions/ErrorCode"
},
"errors": {
"items": {
"type": "string"
},
"title": "Errors",
"type": "array"
}
},
"required": [
"code",
"errors"
],
"title": "Error",
"type": "object"
},
"ErrorCode": {
"description": "An enumeration.",
"enum": [
450,
451,
452,
453,
454,
455,
456,
457,
458,
459,
460,
461,
462,
463,
464,
465,
467,
468,
469,
470,
471,
472,
473
],
"title": "ErrorCode"
},
"EventCrashReported": {
"properties": {
"container": {
"title": "Container",
"type": "string"
},
"filename": {
"title": "Filename",
"type": "string"
},
"report": {
"$ref": "#/definitions/Report"
},
"task_config": {
"$ref": "#/definitions/TaskConfig"
}
},
"required": [
"report",
"container",
"filename"
],
"title": "EventCrashReported",
"type": "object"
},
"EventFileAdded": {
"properties": {
"container": {
"title": "Container",
"type": "string"
},
"filename": {
"title": "Filename",
"type": "string"
}
},
"required": [
"container",
"filename"
],
"title": "EventFileAdded",
"type": "object"
},
"EventInstanceConfigUpdated": {
"properties": {
"config": {
"$ref": "#/definitions/InstanceConfig"
}
},
"required": [
"config"
],
"title": "EventInstanceConfigUpdated",
"type": "object"
},
"EventJobCreated": {
"properties": {
"config": {
"$ref": "#/definitions/JobConfig"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"user_info": {
"$ref": "#/definitions/UserInfo"
}
},
"required": [
"job_id",
"config"
],
"title": "EventJobCreated",
"type": "object"
},
"EventJobStopped": {
"properties": {
"config": {
"$ref": "#/definitions/JobConfig"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"task_info": {
"items": {
"$ref": "#/definitions/JobTaskStopped"
},
"title": "Task Info",
"type": "array"
},
"user_info": {
"$ref": "#/definitions/UserInfo"
}
},
"required": [
"job_id",
"config"
],
"title": "EventJobStopped",
"type": "object"
},
"EventNodeCreated": {
"properties": {
"machine_id": {
"format": "uuid",
"title": "Machine Id",
"type": "string"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
}
},
"required": [
"machine_id",
"pool_name"
],
"title": "EventNodeCreated",
"type": "object"
},
"EventNodeDeleted": {
"properties": {
"machine_id": {
"format": "uuid",
"title": "Machine Id",
"type": "string"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
}
},
"required": [
"machine_id",
"pool_name"
],
"title": "EventNodeDeleted",
"type": "object"
},
"EventNodeHeartbeat": {
"properties": {
"machine_id": {
"format": "uuid",
"title": "Machine Id",
"type": "string"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
}
},
"required": [
"machine_id",
"pool_name"
],
"title": "EventNodeHeartbeat",
"type": "object"
},
"EventNodeStateUpdated": {
"properties": {
"machine_id": {
"format": "uuid",
"title": "Machine Id",
"type": "string"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
},
"state": {
"$ref": "#/definitions/NodeState"
}
},
"required": [
"machine_id",
"pool_name",
"state"
],
"title": "EventNodeStateUpdated",
"type": "object"
},
"EventPing": {
"properties": {
"ping_id": {
"format": "uuid",
"title": "Ping Id",
"type": "string"
}
},
"required": [
"ping_id"
],
"title": "EventPing",
"type": "object"
},
"EventPoolCreated": {
"properties": {
"arch": {
"$ref": "#/definitions/Architecture"
},
"autoscale": {
"$ref": "#/definitions/AutoScaleConfig"
},
"managed": {
"title": "Managed",
"type": "boolean"
},
"os": {
"$ref": "#/definitions/OS"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
}
},
"required": [
"pool_name",
"os",
"arch",
"managed"
],
"title": "EventPoolCreated",
"type": "object"
},
"EventPoolDeleted": {
"properties": {
"pool_name": {
"title": "Pool Name",
"type": "string"
}
},
"required": [
"pool_name"
],
"title": "EventPoolDeleted",
"type": "object"
},
"EventProxyCreated": {
"properties": {
"proxy_id": {
"format": "uuid",
"title": "Proxy Id",
"type": "string"
},
"region": {
"title": "Region",
"type": "string"
}
},
"required": [
"region"
],
"title": "EventProxyCreated",
"type": "object"
},
"EventProxyDeleted": {
"properties": {
"proxy_id": {
"format": "uuid",
"title": "Proxy Id",
"type": "string"
},
"region": {
"title": "Region",
"type": "string"
}
},
"required": [
"region"
],
"title": "EventProxyDeleted",
"type": "object"
},
"EventProxyFailed": {
"properties": {
"error": {
"$ref": "#/definitions/Error"
},
"proxy_id": {
"format": "uuid",
"title": "Proxy Id",
"type": "string"
},
"region": {
"title": "Region",
"type": "string"
}
},
"required": [
"region",
"error"
],
"title": "EventProxyFailed",
"type": "object"
},
"EventProxyStateUpdated": {
"properties": {
"proxy_id": {
"format": "uuid",
"title": "Proxy Id",
"type": "string"
},
"region": {
"title": "Region",
"type": "string"
},
"state": {
"$ref": "#/definitions/VmState"
}
},
"required": [
"region",
"proxy_id",
"state"
],
"title": "EventProxyStateUpdated",
"type": "object"
},
"EventRegressionReported": {
"properties": {
"container": {
"title": "Container",
"type": "string"
},
"filename": {
"title": "Filename",
"type": "string"
},
"regression_report": {
"$ref": "#/definitions/RegressionReport"
},
"task_config": {
"$ref": "#/definitions/TaskConfig"
}
},
"required": [
"regression_report",
"container",
"filename"
],
"title": "EventRegressionReported",
"type": "object"
},
"EventScalesetCreated": {
"properties": {
"image": {
"title": "Image",
"type": "string"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"region": {
"title": "Region",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
},
"size": {
"title": "Size",
"type": "integer"
},
"vm_sku": {
"title": "Vm Sku",
"type": "string"
}
},
"required": [
"scaleset_id",
"pool_name",
"vm_sku",
"image",
"region",
"size"
],
"title": "EventScalesetCreated",
"type": "object"
},
"EventScalesetDeleted": {
"properties": {
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
}
},
"required": [
"scaleset_id",
"pool_name"
],
"title": "EventScalesetDeleted",
"type": "object"
},
"EventScalesetFailed": {
"properties": {
"error": {
"$ref": "#/definitions/Error"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
}
},
"required": [
"scaleset_id",
"pool_name",
"error"
],
"title": "EventScalesetFailed",
"type": "object"
},
"EventScalesetResizeScheduled": {
"properties": {
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
},
"size": {
"title": "Size",
"type": "integer"
}
},
"required": [
"scaleset_id",
"pool_name",
"size"
],
"title": "EventScalesetResizeScheduled",
"type": "object"
},
"EventScalesetStateUpdated": {
"properties": {
"pool_name": {
"title": "Pool Name",
"type": "string"
},
"scaleset_id": {
"format": "uuid",
"title": "Scaleset Id",
"type": "string"
},
"state": {
"$ref": "#/definitions/ScalesetState"
}
},
"required": [
"scaleset_id",
"pool_name",
"state"
],
"title": "EventScalesetStateUpdated",
"type": "object"
},
"EventTaskCreated": {
"properties": {
"config": {
"$ref": "#/definitions/TaskConfig"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"task_id": {
"format": "uuid",
"title": "Task Id",
"type": "string"
},
"user_info": {
"$ref": "#/definitions/UserInfo"
}
},
"required": [
"job_id",
"task_id",
"config"
],
"title": "EventTaskCreated",
"type": "object"
},
"EventTaskFailed": {
"properties": {
"config": {
"$ref": "#/definitions/TaskConfig"
},
"error": {
"$ref": "#/definitions/Error"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"task_id": {
"format": "uuid",
"title": "Task Id",
"type": "string"
},
"user_info": {
"$ref": "#/definitions/UserInfo"
}
},
"required": [
"job_id",
"task_id",
"error",
"config"
],
"title": "EventTaskFailed",
"type": "object"
},
"EventTaskHeartbeat": {
"properties": {
"config": {
"$ref": "#/definitions/TaskConfig"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"task_id": {
"format": "uuid",
"title": "Task Id",
"type": "string"
}
},
"required": [
"job_id",
"task_id",
"config"
],
"title": "EventTaskHeartbeat",
"type": "object"
},
"EventTaskStateUpdated": {
"properties": {
"config": {
"$ref": "#/definitions/TaskConfig"
},
"end_time": {
"format": "date-time",
"title": "End Time",
"type": "string"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"state": {
"$ref": "#/definitions/TaskState"
},
"task_id": {
"format": "uuid",
"title": "Task Id",
"type": "string"
}
},
"required": [
"job_id",
"task_id",
"state",
"config"
],
"title": "EventTaskStateUpdated",
"type": "object"
},
"EventTaskStopped": {
"properties": {
"config": {
"$ref": "#/definitions/TaskConfig"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"task_id": {
"format": "uuid",
"title": "Task Id",
"type": "string"
},
"user_info": {
"$ref": "#/definitions/UserInfo"
}
},
"required": [
"job_id",
"task_id",
"config"
],
"title": "EventTaskStopped",
"type": "object"
},
"EventType": {
"description": "An enumeration.",
"enum": [
"job_created",
"job_stopped",
"node_created",
"node_deleted",
"node_state_updated",
"ping",
"pool_created",
"pool_deleted",
"proxy_created",
"proxy_deleted",
"proxy_failed",
"proxy_state_updated",
"scaleset_created",
"scaleset_deleted",
"scaleset_failed",
"scaleset_state_updated",
"scaleset_resize_scheduled",
"task_created",
"task_failed",
"task_state_updated",
"task_stopped",
"crash_reported",
"regression_reported",
"file_added",
"task_heartbeat",
"node_heartbeat",
"instance_config_updated"
],
"title": "EventType"
},
"GenevaExtensionConfig": {
"properties": {},
"title": "GenevaExtensionConfig",
"type": "object"
},
"InstanceConfig": {
"properties": {
"admins": {
"items": {
"format": "uuid",
"type": "string"
},
"title": "Admins",
"type": "array"
},
"allow_pool_management": {
"default": true,
"title": "Allow Pool Management",
"type": "boolean"
},
"allowed_aad_tenants": {
"items": {
"format": "uuid",
"type": "string"
},
"title": "Allowed Aad Tenants",
"type": "array"
},
"extensions": {
"$ref": "#/definitions/AzureVmExtensionConfig"
},
"network_config": {
"$ref": "#/definitions/NetworkConfig"
},
"proxy_nsg_config": {
"$ref": "#/definitions/NetworkSecurityGroupConfig"
},
"proxy_vm_sku": {
"default": "Standard_B2s",
"title": "Proxy Vm Sku",
"type": "string"
}
},
"required": [
"allowed_aad_tenants"
],
"title": "InstanceConfig",
"type": "object"
},
"JobConfig": {
"properties": {
"build": {
"title": "Build",
"type": "string"
},
"duration": {
"maximum": 168,
"minimum": 1,
"title": "Duration",
"type": "integer"
},
"name": {
"title": "Name",
"type": "string"
},
"project": {
"title": "Project",
"type": "string"
}
},
"required": [
"project",
"name",
"build",
"duration"
],
"title": "JobConfig",
"type": "object"
},
"JobTaskStopped": {
"properties": {
"error": {
"$ref": "#/definitions/Error"
},
"task_id": {
"format": "uuid",
"title": "Task Id",
"type": "string"
},
"task_type": {
"$ref": "#/definitions/TaskType"
}
},
"required": [
"task_id",
"task_type"
],
"title": "JobTaskStopped",
"type": "object"
},
"KeyvaultExtensionConfig": {
"properties": {
"cert_name": {
"title": "Cert Name",
"type": "string"
},
"cert_path": {
"title": "Cert Path",
"type": "string"
},
"extension_store": {
"title": "Extension Store",
"type": "string"
},
"keyvault_name": {
"title": "Keyvault Name",
"type": "string"
}
},
"required": [
"keyvault_name",
"cert_name",
"cert_path",
"extension_store"
],
"title": "KeyvaultExtensionConfig",
"type": "object"
},
"NetworkConfig": {
"properties": {
"address_space": {
"default": "10.0.0.0/8",
"title": "Address Space",
"type": "string"
},
"subnet": {
"default": "10.0.0.0/16",
"title": "Subnet",
"type": "string"
}
},
"title": "NetworkConfig",
"type": "object"
},
"NetworkSecurityGroupConfig": {
"properties": {
"allowed_ips": {
"items": {
"type": "string"
},
"title": "Allowed Ips",
"type": "array"
},
"allowed_service_tags": {
"items": {
"type": "string"
},
"title": "Allowed Service Tags",
"type": "array"
}
},
"title": "NetworkSecurityGroupConfig",
"type": "object"
},
"NoReproReport": {
"properties": {
"error": {
"title": "Error",
"type": "string"
},
"executable": {
"title": "Executable",
"type": "string"
},
"input_blob": {
"$ref": "#/definitions/BlobRef"
},
"input_sha256": {
"title": "Input Sha256",
"type": "string"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"task_id": {
"format": "uuid",
"title": "Task Id",
"type": "string"
},
"tries": {
"title": "Tries",
"type": "integer"
}
},
"required": [
"input_sha256",
"executable",
"task_id",
"job_id",
"tries"
],
"title": "NoReproReport",
"type": "object"
},
"NodeState": {
"description": "An enumeration.",
"enum": [
"init",
"free",
"setting_up",
"rebooting",
"ready",
"busy",
"done",
"shutdown",
"halt"
],
"title": "NodeState"
},
"OS": {
"description": "An enumeration.",
"enum": [
"windows",
"linux"
],
"title": "OS"
},
"RegressionReport": {
"properties": {
"crash_test_result": {
"$ref": "#/definitions/CrashTestResult"
},
"original_crash_test_result": {
"$ref": "#/definitions/CrashTestResult"
}
},
"required": [
"crash_test_result"
],
"title": "RegressionReport",
"type": "object"
},
"Report": {
"properties": {
"asan_log": {
"title": "Asan Log",
"type": "string"
},
"call_stack": {
"items": {
"type": "string"
},
"title": "Call Stack",
"type": "array"
},
"call_stack_sha256": {
"title": "Call Stack Sha256",
"type": "string"
},
"crash_site": {
"title": "Crash Site",
"type": "string"
},
"crash_type": {
"title": "Crash Type",
"type": "string"
},
"executable": {
"title": "Executable",
"type": "string"
},
"input_blob": {
"$ref": "#/definitions/BlobRef"
},
"input_sha256": {
"title": "Input Sha256",
"type": "string"
},
"input_url": {
"title": "Input Url",
"type": "string"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"minimized_stack": {
"items": {
"type": "string"
},
"title": "Minimized Stack",
"type": "array"
},
"minimized_stack_function_lines": {
"items": {
"type": "string"
},
"title": "Minimized Stack Function Lines",
"type": "array"
},
"minimized_stack_function_lines_sha256": {
"title": "Minimized Stack Function Lines Sha256",
"type": "string"
},
"minimized_stack_function_names": {
"items": {
"type": "string"
},
"title": "Minimized Stack Function Names",
"type": "array"
},
"minimized_stack_function_names_sha256": {
"title": "Minimized Stack Function Names Sha256",
"type": "string"
},
"minimized_stack_sha256": {
"title": "Minimized Stack Sha256",
"type": "string"
},
"scariness_description": {
"title": "Scariness Description",
"type": "string"
},
"scariness_score": {
"title": "Scariness Score",
"type": "integer"
},
"task_id": {
"format": "uuid",
"title": "Task Id",
"type": "string"
}
},
"required": [
"executable",
"crash_type",
"crash_site",
"call_stack",
"call_stack_sha256",
"input_sha256",
"task_id",
"job_id"
],
"title": "Report",
"type": "object"
},
"ScalesetState": {
"description": "An enumeration.",
"enum": [
"init",
"setup",
"resize",
"running",
"shutdown",
"halt",
"creation_failed"
],
"title": "ScalesetState"
},
"StatsFormat": {
"description": "An enumeration.",
"enum": [
"AFL"
],
"title": "StatsFormat"
},
"TaskConfig": {
"properties": {
"colocate": {
"title": "Colocate",
"type": "boolean"
},
"containers": {
"items": {
"$ref": "#/definitions/TaskContainers"
},
"title": "Containers",
"type": "array"
},
"debug": {
"items": {
"$ref": "#/definitions/TaskDebugFlag"
},
"type": "array"
},
"job_id": {
"format": "uuid",
"title": "Job Id",
"type": "string"
},
"pool": {
"$ref": "#/definitions/TaskPool"
},
"prereq_tasks": {
"items": {
"format": "uuid",
"type": "string"
},
"title": "Prereq Tasks",
"type": "array"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"title": "Tags",
"type": "object"
},
"task": {
"$ref": "#/definitions/TaskDetails"
},
"vm": {
"$ref": "#/definitions/TaskVm"
}
},
"required": [
"job_id",
"task",
"containers",
"tags"
],
"title": "TaskConfig",
"type": "object"
},
"TaskContainers": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"type": {
"$ref": "#/definitions/ContainerType"
}
},
"required": [
"type",
"name"
],
"title": "TaskContainers",
"type": "object"
},
"TaskDebugFlag": {
"description": "An enumeration.",
"enum": [
"keep_node_on_failure",
"keep_node_on_completion"
],
"title": "TaskDebugFlag"
},
"TaskDetails": {
"properties": {
"analyzer_env": {
"additionalProperties": {
"type": "string"
},
"title": "Analyzer Env",
"type": "object"
},
"analyzer_exe": {
"title": "Analyzer Exe",
"type": "string"
},
"analyzer_options": {
"items": {
"type": "string"
},
"title": "Analyzer Options",
"type": "array"
},
"check_asan_log": {
"title": "Check Asan Log",
"type": "boolean"
},
"check_debugger": {
"default": true,
"title": "Check Debugger",
"type": "boolean"
},
"check_fuzzer_help": {
"title": "Check Fuzzer Help",
"type": "boolean"
},
"check_retry_count": {
"minimum": 0,
"title": "Check Retry Count",
"type": "integer"
},
"coverage_filter": {
"title": "Coverage Filter",
"type": "string"
},
"duration": {
"maximum": 168,
"minimum": 1,
"title": "Duration",
"type": "integer"
},
"ensemble_sync_delay": {
"title": "Ensemble Sync Delay",
"type": "integer"
},
"expect_crash_on_failure": {
"title": "Expect Crash On Failure",
"type": "boolean"
},
"generator_env": {
"additionalProperties": {
"type": "string"
},
"title": "Generator Env",
"type": "object"
},
"generator_exe": {
"title": "Generator Exe",
"type": "string"
},
"generator_options": {
"items": {
"type": "string"
},
"title": "Generator Options",
"type": "array"
},
"minimized_stack_depth": {
"title": "Minimized Stack Depth",
"type": "integer"
},
"preserve_existing_outputs": {
"title": "Preserve Existing Outputs",
"type": "boolean"
},
"reboot_after_setup": {
"title": "Reboot After Setup",
"type": "boolean"
},
"rename_output": {
"title": "Rename Output",
"type": "boolean"
},
"report_list": {
"items": {
"type": "string"
},
"title": "Report List",
"type": "array"
},
"stats_file": {
"title": "Stats File",
"type": "string"
},
"stats_format": {
"$ref": "#/definitions/StatsFormat"
},
"supervisor_env": {
"additionalProperties": {
"type": "string"
},
"title": "Supervisor Env",
"type": "object"
},
"supervisor_exe": {
"title": "Supervisor Exe",
"type": "string"
},
"supervisor_input_marker": {
"title": "Supervisor Input Marker",
"type": "string"
},
"supervisor_options": {
"items": {
"type": "string"
},
"title": "Supervisor Options",
"type": "array"
},
"target_env": {
"additionalProperties": {
"type": "string"
},
"title": "Target Env",
"type": "object"
},
"target_exe": {
"title": "Target Exe",
"type": "string"
},
"target_options": {
"items": {
"type": "string"
},
"title": "Target Options",
"type": "array"
},
"target_options_merge": {
"title": "Target Options Merge",
"type": "boolean"
},
"target_timeout": {
"minimum": 1,
"title": "Target Timeout",
"type": "integer"
},
"target_workers": {
"title": "Target Workers",
"type": "integer"
},
"type": {
"$ref": "#/definitions/TaskType"
},
"wait_for_files": {
"$ref": "#/definitions/ContainerType"
}
},
"required": [
"type",
"duration"
],
"title": "TaskDetails",
"type": "object"
},
"TaskPool": {
"properties": {
"count": {
"title": "Count",
"type": "integer"
},
"pool_name": {
"title": "Pool Name",
"type": "string"
}
},
"required": [
"count",
"pool_name"
],
"title": "TaskPool",
"type": "object"
},
"TaskState": {
"description": "An enumeration.",
"enum": [
"init",
"waiting",
"scheduled",
"setting_up",
"running",
"stopping",
"stopped",
"wait_job"
],
"title": "TaskState"
},
"TaskType": {
"description": "An enumeration.",
"enum": [
"coverage",
"libfuzzer_fuzz",
"libfuzzer_coverage",
"libfuzzer_crash_report",
"libfuzzer_merge",
"libfuzzer_regression",
"generic_analysis",
"generic_supervisor",
"generic_merge",
"generic_generator",
"generic_crash_report",
"generic_regression"
],
"title": "TaskType"
},
"TaskVm": {
"properties": {
"count": {
"default": 1,
"minimum": 0,
"title": "Count",
"type": "integer"
},
"image": {
"title": "Image",
"type": "string"
},
"reboot_after_setup": {
"title": "Reboot After Setup",
"type": "boolean"
},
"region": {
"title": "Region",
"type": "string"
},
"sku": {
"title": "Sku",
"type": "string"
},
"spot_instances": {
"default": false,
"title": "Spot Instances",
"type": "boolean"
}
},
"required": [
"region",
"sku",
"image"
],
"title": "TaskVm",
"type": "object"
},
"UserInfo": {
"properties": {
"application_id": {
"format": "uuid",
"title": "Application Id",
"type": "string"
},
"object_id": {
"format": "uuid",
"title": "Object Id",
"type": "string"
},
"upn": {
"title": "Upn",
"type": "string"
}
},
"title": "UserInfo",
"type": "object"
},
"VmState": {
"description": "An enumeration.",
"enum": [
"init",
"extensions_launch",
"extensions_failed",
"vm_allocation_failed",
"running",
"stopping",
"stopped"
],
"title": "VmState"
}
},
"properties": {
"event": {
"anyOf": [
{
"$ref": "#/definitions/EventJobCreated"
},
{
"$ref": "#/definitions/EventJobStopped"
},
{
"$ref": "#/definitions/EventNodeStateUpdated"
},
{
"$ref": "#/definitions/EventNodeCreated"
},
{
"$ref": "#/definitions/EventNodeDeleted"
},
{
"$ref": "#/definitions/EventNodeHeartbeat"
},
{
"$ref": "#/definitions/EventPing"
},
{
"$ref": "#/definitions/EventPoolCreated"
},
{
"$ref": "#/definitions/EventPoolDeleted"
},
{
"$ref": "#/definitions/EventProxyFailed"
},
{
"$ref": "#/definitions/EventProxyCreated"
},
{
"$ref": "#/definitions/EventProxyDeleted"
},
{
"$ref": "#/definitions/EventProxyStateUpdated"
},
{
"$ref": "#/definitions/EventScalesetFailed"
},
{
"$ref": "#/definitions/EventScalesetCreated"
},
{
"$ref": "#/definitions/EventScalesetDeleted"
},
{
"$ref": "#/definitions/EventScalesetStateUpdated"
},
{
"$ref": "#/definitions/EventScalesetResizeScheduled"
},
{
"$ref": "#/definitions/EventTaskFailed"
},
{
"$ref": "#/definitions/EventTaskStateUpdated"
},
{
"$ref": "#/definitions/EventTaskCreated"
},
{
"$ref": "#/definitions/EventTaskStopped"
},
{
"$ref": "#/definitions/EventTaskHeartbeat"
},
{
"$ref": "#/definitions/EventCrashReported"
},
{
"$ref": "#/definitions/EventRegressionReported"
},
{
"$ref": "#/definitions/EventFileAdded"
},
{
"$ref": "#/definitions/EventInstanceConfigUpdated"
}
],
"title": "Event"
},
"event_id": {
"format": "uuid",
"title": "Event Id",
"type": "string"
},
"event_type": {
"$ref": "#/definitions/EventType"
},
"instance_id": {
"format": "uuid",
"title": "Instance Id",
"type": "string"
},
"instance_name": {
"title": "Instance Name",
"type": "string"
},
"webhook_id": {
"format": "uuid",
"title": "Webhook Id",
"type": "string"
}
},
"required": [
"event_type",
"event",
"instance_id",
"instance_name",
"webhook_id"
],
"title": "WebhookMessage",
"type": "object"
}