-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #525 from jmpsec/update-bruno-files
Keeping bruno files up to date to osctrl-api definition
- Loading branch information
Showing
4 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
tools/bruno/environments/get -environments--env--remove--target-.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: get -environments--env--remove--target- | ||
type: http | ||
seq: 4 | ||
seq: 6 | ||
} | ||
|
||
get { | ||
|
30 changes: 30 additions & 0 deletions
30
tools/bruno/environments/post -environments--env--enroll--action-.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
meta { | ||
name: post -environments--env--enroll--action- | ||
type: http | ||
seq: 5 | ||
} | ||
|
||
post { | ||
url: https://osctrl.net/api/v1/environments/{env}/enroll/{action} | ||
body: json | ||
auth: bearer | ||
} | ||
|
||
params:path { | ||
env: | ||
action: | ||
} | ||
|
||
auth:bearer { | ||
token: {{token}} | ||
} | ||
|
||
body:json { | ||
{ | ||
"Certificate": "", | ||
"MacPkgURL": "", | ||
"MsiPkgURL": "", | ||
"RpmPkgURL": "", | ||
"DebPkgURL": "" | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
tools/bruno/environments/post -environments--env--enroll--target-.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
meta { | ||
name: post -environments--env--enroll--target- | ||
type: http | ||
seq: 4 | ||
} | ||
|
||
post { | ||
url: https://osctrl.net/api/v1/environments/{env}/enroll/{target} | ||
body: none | ||
auth: bearer | ||
} | ||
|
||
params:path { | ||
env: | ||
target: | ||
} | ||
|
||
auth:bearer { | ||
token: {{token}} | ||
} |
20 changes: 20 additions & 0 deletions
20
tools/bruno/environments/post -environments--env--remove--action-.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
meta { | ||
name: post -environments--env--remove--action- | ||
type: http | ||
seq: 7 | ||
} | ||
|
||
post { | ||
url: https://osctrl.net/api/v1/environments/{env}/remove/{action} | ||
body: json | ||
auth: bearer | ||
} | ||
|
||
params:path { | ||
env: | ||
action: | ||
} | ||
|
||
auth:bearer { | ||
token: {{token}} | ||
} |