98578da557
catch up SDK version in examples to OneFuzz released version ( #1396 )
...
Co-authored-by: stas <statis@microsoft.com >
2021-10-26 08:26:01 -07:00
98cd7c9c56
migrate to msgraph ( #966 )
...
* migrate to msgraph
* add subscription id to query_microsoft_graph
* migrating remaingin references
* formatting
* adding missing dependencies
* flake fix
* fix get_tenant_id
* cleanup
* formatting
* migrate application creation in deploy.py
* foramt
* mypy fix
* isort
* isort
* format
* bug fixes
* specify the correct signInAudience
* fix backing service principal creation
fix preauthorized application
* remove remaining references to graphrbac
* fix ms graph authentication
* formatting
* fix typo
* format
* deployment fix
* set implicitGrantSettings in the deployment
* format
* fix deployment
* fix graph authentication on the server
* use the current cli logged in account to retrive the backend token cache
* assign the the msgraph app role permissions to the web app during the deployment
* formatting
* fix build
* build fix
* fix bandit issue
* mypy fix
* isort
* deploy fixes
* formatting
* remove assign_app_permissions
* mypy fix
* build fix
* mypy fix
* format
* formatting
* flake fix
* remove webapp identity permission assignment
* remove unused reference to assign_app_role
* remove manual registration message
* fixing name and logging
* address PR coments
* address PR comments
* build fix
* lint
* lint
* mypy fix
* mypy fix
* formatting
* address PR comments
* linting
* lint
* remove ONEFUZZ_AAD_GROUP_ID check
* regenerate webhook_events.md
* change return type of query_microsoft_graph_list
* fix tenant_id
Co-authored-by: Marc Greisen <marc@greisen.org >
Co-authored-by: Stas <stishkin@live.com >
2021-10-22 11:59:05 -07:00
c97395a37f
Set compiler env vars to effect Win10 SDK downgrade ( #1388 )
2021-10-22 09:31:24 -07:00
3da5f672c2
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 >
2021-10-21 16:18:59 -07:00
b238bfea03
Revert "NSG Updated After CLI Update to Instance_Config ( #1375 )" ( #1384 )
...
This reverts commit 357bc4fcad
.
2021-10-21 12:51:20 -07:00
357bc4fcad
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 >
2021-10-21 11:54:09 -07:00
97a3a67b3e
Fix validation of target_exe
blob name ( #1371 )
2021-10-19 19:20:30 -07:00
deeb720c0f
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 >
2021-10-19 17:25:29 -07:00
20bcab4264
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>
2021-10-19 16:01:15 -07:00
a84e58ca07
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>
2021-10-19 15:00:16 -07:00
e3ef29ce04
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>
2021-10-19 13:36:02 -07:00
d8503cf34f
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 >
2021-10-19 12:26:17 -07:00
720c8dc466
Azure DevOps notifications not appearing ( #1370 )
...
Co-authored-by: stas <statis@microsoft.com >
2021-10-19 08:50:00 -07:00
bb40c66eb0
Temporarily ignore non-actionable cargo audit
errors ( #1365 )
2021-10-18 15:46:07 -07:00
a633b7c8a5
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 >
3.2.0
2021-10-15 12:55:11 -07:00
4f53ada5d7
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>
2021-10-14 09:16:55 -07:00
d86764cd4f
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 >
2021-10-13 15:40:09 -07:00
4160da26f9
Bump azure-identity to 1.6.1 ( #1356 )
...
Co-authored-by: stas <statis@microsoft.com >
2021-10-13 14:17:11 -07:00
e5c3e60b8a
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 >
2021-10-13 11:27:48 -07:00
d2354b6c35
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>
2021-10-13 08:13:06 -07:00
9b211b2caf
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>
2021-10-12 14:07:51 -07:00
67cdd744bb
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>
2021-10-12 12:13:32 -07:00
da955dbce3
revert pip breaking pip-licenses workaround ( #1348 )
...
Co-authored-by: stas <statis@microsoft.com >
2021-10-12 10:22:40 -07:00
19ecba43cb
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>
2021-10-11 16:53:56 -07:00
03f79ed211
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 >
2021-10-11 15:19:48 -07:00
8753ef382b
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>
2021-10-11 12:14:04 -07:00
74c3a9a1fa
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>
2021-10-11 10:58:51 -07:00
2ecac65c54
Update to latest ctrlc
( #1332 )
2021-10-06 14:45:20 -07:00
58eea1e51a
Add a username to the resource group name created by check-pr utility. ( #1314 )
...
* Add a username to the resource group name created by check-pr utility.
* Use check_output
2021-10-06 08:00:55 -07:00
e721dc0351
Bump sysinfo from 0.20.3 to 0.20.4 in /src/agent ( #1301 )
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.20.3 to 0.20.4.
- [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>
2021-10-05 18:20:58 -07:00
124da2378f
Add more setup info to check-pr
docs ( #1311 )
2021-10-05 13:12:35 -07:00
098cd20550
Update pete
( #1312 )
2021-10-05 12:08:56 -07:00
584ddfbd79
Bump pretty_assertions from 0.7.2 to 1.0.0 in /src/agent ( #1302 )
...
Bumps [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions ) from 0.7.2 to 1.0.0.
- [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases )
- [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/colin-kiegel/rust-pretty-assertions/compare/v0.7.2...v1.0.0 )
---
updated-dependencies:
- dependency-name: pretty_assertions
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-01 15:14:59 -07:00
3264ddd175
Disable storageclient logs when setting admins ( #1304 )
2021-10-01 18:36:04 +00:00
1c497fcd52
App role assignment not respected when creating a new cli app registration ( #1308 )
2021-10-01 11:18:38 -07:00
69ba679c36
Document GitHub integration example to support Windows usage ( #1309 )
2021-10-01 09:44:35 -07:00
cba7439bd3
Update nix
, patch dependents ( #1310 )
2021-09-30 18:04:57 -07:00
26c352885d
Reordered change log for 3.1.0 release. Added missed PR to list ( #1306 )
...
Co-authored-by: Jordyn Puryear <jordynp@microsoft.com >
Co-authored-by: bmc-msft <41130664+bmc-msft@users.noreply.github.com >
2021-09-30 14:12:49 +00:00
7f7d76fa7f
Use consistent case for project name in docs ( #1307 )
2021-09-29 17:01:58 -07:00
ddd82f9931
Fix authentication with client secret ( #1300 )
...
* Fix authenticatio
2021-09-29 15:56:32 -07:00
fb29d8946a
Remove references to playground
instance ( #1295 )
2021-09-29 14:33:47 -07:00
87a7f4989b
Release 3.1.0 ( #1296 )
...
* Release 3.1.0
* Update CHANGELOG.md
Co-authored-by: Joe Ranweiler <joe@lemma.co >
* Update CHANGELOG.md
Co-authored-by: Marc Greisen <mgreisen@microsoft.com >
* Update CHANGELOG.md
Co-authored-by: Joe Ranweiler <joe@lemma.co >
* Reordered sections to be alphabetical.
* Update CHANGELOG.md
Co-authored-by: Joe Ranweiler <joe@lemma.co >
* Update CHANGELOG.md
Co-authored-by: Joe Ranweiler <joe@lemma.co >
* Updated CHANGELOG with new westus3 deployment fix
* Update CHANGELOG.md
Co-authored-by: Joe Ranweiler <joe@lemma.co >
Co-authored-by: Jordyn Puryear <jordynp@microsoft.com >
Co-authored-by: Joe Ranweiler <joe@lemma.co >
Co-authored-by: Marc Greisen <mgreisen@microsoft.com >
3.1.0
2021-09-29 13:05:56 -07:00
c4133be8f5
Deployment fails in westus3 due to "Region doesn’t support Classic resource mode for Application Insights resources." #1273 ( #1291 )
...
Co-authored-by: stas <statis@microsoft.com >
2021-09-29 08:09:09 -07:00
22b2d62e29
enable configurable virtual network ranges ( #1268 )
2021-09-27 18:01:32 +00:00
47bb2ce187
use flake8 on deployment ( #1286 )
...
All of the rest of the python codebases within the repo use flake8 as
part of the lint process. This aligns the deployment code with the
practice.
Co-authored-by: Brian Caswell <bmc@shmoo.com >
2021-09-27 17:41:19 +00:00
d3bcbea980
Increase default level of feedback/confirmation in destructive commands #1264 ( #1283 )
...
Co-authored-by: stas <statis@microsoft.com >
2021-09-27 09:59:56 -07:00
09bdad4979
work around issues between released version of cargo-fuzz and nightly ( #1284 )
...
See rust-fuzz/cargo-fuzz#276
Co-authored-by: Brian Caswell <bmc@shmoo.com >
2021-09-27 11:29:31 -04:00
d13ce062d0
fix running check-pr without test arguments ( #1279 )
2021-09-24 13:40:28 -04:00
d034664cb3
update msal to 1.14.0 ( #1278 )
2021-09-24 16:45:03 +00:00
599c400fa0
Custom Extension Instance Configuration ( #1184 )
2021-09-24 12:27:39 -04:00