Skip to content

Commit

Permalink
Jit api add justification (#7298)
Browse files Browse the repository at this point in the history
* Changes to the JIT API to allow initiating a jit request with a justification.

* fixing the indentation

* updating the examples
  • Loading branch information
Nomigori96MS authored and tjprescott committed Sep 26, 2019
1 parent 8c82630 commit f1fdf4a
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
}
],
"startTimeUtc": "2018-05-17T08:06:45.5691611Z",
"requestor": "barbara@contoso.com"
"requestor": "barbara@contoso.com",
"justification": "testing a new version of the product"
}
],
"provisioningState": "Succeeded"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
}
],
"startTimeUtc": "2018-05-17T08:06:45.5691611Z",
"requestor": "barbara@contoso.com"
"requestor": "barbara@contoso.com",
"justification": "testing a new version of the product"
}
],
"provisioningState": "Succeeded"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
}
],
"startTimeUtc": "2018-05-17T08:06:45.5691611Z",
"requestor": "barbara@contoso.com"
"requestor": "barbara@contoso.com",
"justification": "testing a new version of the product"
}
],
"provisioningState": "Succeeded"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
}
],
"startTimeUtc": "2018-05-17T08:06:45.5691611Z",
"requestor": "barbara@contoso.com"
"requestor": "barbara@contoso.com",
"justification": "testing a new version of the product"
}
],
"provisioningState": "Succeeded"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
}
],
"startTimeUtc": "2018-05-17T08:06:45.5691611Z",
"requestor": "barbara@contoso.com"
"requestor": "barbara@contoso.com",
"justification": "testing a new version of the product"
}
],
"provisioningState": "Succeeded"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
}
]
}
]
],
"justification": "testing a new version of the product"
}
},
"responses": {
Expand All @@ -39,7 +40,8 @@
}
],
"startTimeUtc": "2018-07-12T08:53:03.3658798Z",
"requestor": "barbara@contoso.com"
"requestor": "barbara@contoso.com",
"justification": "testing a new version of the product"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,10 @@
"requestor": {
"type": "string",
"description": "The identity of the person who made the request"
},
"justification": {
"type": "string",
"description": "The justification for making the initiate request"
}
},
"required": [
Expand Down Expand Up @@ -667,6 +671,10 @@
"items": {
"$ref": "#/definitions/JitNetworkAccessPolicyInitiateVirtualMachine"
}
},
"justification": {
"type": "string",
"description": "The justification for making the initiate request"
}
},
"required": [
Expand Down

0 comments on commit f1fdf4a

Please sign in to comment.