-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DoNotMerge] Introducing subAssessments type (Microsoft.Security provider) #6422
Conversation
In Testing, Please Ignore[Logs] (Generated from a81cc54, Iteration 32)
|
Automation for azure-sdk-for-pythonEncountered an unknown error: (azure-sdk-for-python)
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 33, in exception_to_github
yield context
File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 170, in rest_handle_action
return rest_pull_close(body, restapi_repo, sdk_pr_target_repo, sdkbase, sdk_tag)
File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 185, in rest_pull_close
rest_pr_management(rest_pr, sdk_pr_target_repo, sdk_tag, sdk_default_base)
File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github_handler.py", line 151, in rest_pr_management
sdk_tag=sdk_tag
File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/SwaggerToSdkNewCLI.py", line 254, in generate_sdk_from_git_object
with manage_git_folder(gh_token, Path(temp_dir) / Path("rest"), branched_rest_api_id, pr_number=pr_number) as restapi_git_folder, \
File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 272, in manage_git_folder
clone_to_path(gh_token, temp_dir, split_git_id[0], branch_or_commit=branch, pr_number=pr_number)
File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 212, in clone_to_path
repo.git.checkout(branch_or_commit)
File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 548, in <lambda>
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 1014, in _call_process
return self.execute(call, **exec_kwargs)
File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 825, in execute
raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git checkout 3732ca83fad20b58fc7b320e09fca9c4dd2161f8
stderr: 'fatal: reference is not a tree: 3732ca83fad20b58fc7b320e09fca9c4dd2161f8' |
Can one of the admins verify this patch? |
Automation for azure-sdk-for-goEncountered an unknown error: (azure-sdk-for-go)
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 33, in exception_to_github
yield context
File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 170, in rest_handle_action
return rest_pull_close(body, restapi_repo, sdk_pr_target_repo, sdkbase, sdk_tag)
File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 185, in rest_pull_close
rest_pr_management(rest_pr, sdk_pr_target_repo, sdk_tag, sdk_default_base)
File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github_handler.py", line 151, in rest_pr_management
sdk_tag=sdk_tag
File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/SwaggerToSdkNewCLI.py", line 254, in generate_sdk_from_git_object
with manage_git_folder(gh_token, Path(temp_dir) / Path("rest"), branched_rest_api_id, pr_number=pr_number) as restapi_git_folder, \
File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 272, in manage_git_folder
clone_to_path(gh_token, temp_dir, split_git_id[0], branch_or_commit=branch, pr_number=pr_number)
File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 212, in clone_to_path
repo.git.checkout(branch_or_commit)
File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 548, in <lambda>
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 1014, in _call_process
return self.execute(call, **exec_kwargs)
File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 825, in execute
raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git checkout 3732ca83fad20b58fc7b320e09fca9c4dd2161f8
stderr: 'fatal: reference is not a tree: 3732ca83fad20b58fc7b320e09fca9c4dd2161f8' |
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subassessments.json
Outdated
Show resolved
Hide resolved
Automation for azure-sdk-for-rubyNothing to generate for azure-sdk-for-ruby |
Automation for azure-sdk-for-javaNothing to generate for azure-sdk-for-java |
....Security/preview/2019-01-01-preview/examples/SubAssessments/ListSubAssessments_example.json
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CVSS can be added to https://github.com/Azure/azure-rest-api-specs/blob/master/custom-words.txt to ignore it from the spellcheck
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subassessments.json
Outdated
Show resolved
Hide resolved
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subassessments.json
Outdated
Show resolved
Hide resolved
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subassessments.json
Outdated
Show resolved
Hide resolved
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subassessments.json
Outdated
Show resolved
Hide resolved
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subassessments.json
Outdated
Show resolved
Hide resolved
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subassessments.json
Outdated
Show resolved
Hide resolved
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subassessments.json
Outdated
Show resolved
Hide resolved
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subassessments.json
Outdated
Show resolved
Hide resolved
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subassessments.json
Outdated
Show resolved
Hide resolved
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subassessments.json
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PS: Think there may be a "format" way to express the date. "format": "date-time"
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
Outdated
Show resolved
Hide resolved
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly camelCase stuff
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
Outdated
Show resolved
Hide resolved
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
Outdated
Show resolved
Hide resolved
...ft.Security/preview/2019-01-01-preview/examples/SubAssessments/GetSubAssessment_example.json
Outdated
Show resolved
Hide resolved
....Security/preview/2019-01-01-preview/examples/SubAssessments/ListSubAssessments_example.json
Outdated
Show resolved
Hide resolved
...ft.Security/preview/2019-01-01-preview/examples/SubAssessments/GetSubAssessment_example.json
Outdated
Show resolved
Hide resolved
....Security/preview/2019-01-01-preview/examples/SubAssessments/ListSubAssessments_example.json
Outdated
Show resolved
Hide resolved
....Security/preview/2019-01-01-preview/examples/SubAssessments/ListSubAssessments_example.json
Outdated
Show resolved
Hide resolved
....Security/preview/2019-01-01-preview/examples/SubAssessments/ListSubAssessments_example.json
Outdated
Show resolved
Hide resolved
....Security/preview/2019-01-01-preview/examples/SubAssessments/ListSubAssessments_example.json
Outdated
Show resolved
Hide resolved
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
Outdated
Show resolved
Hide resolved
…ent" type, fix examples, add field, edit status object
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@orparnes - please set up a 30 min call to close on this. Its not clear whether subassessment is the right model as a nested type. so need to understand the usecases a little better.
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
Outdated
Show resolved
Hide resolved
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
Outdated
Show resolved
Hide resolved
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
Outdated
Show resolved
Hide resolved
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
Outdated
Show resolved
Hide resolved
.../security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/subAssessments.json
Outdated
Show resolved
Hide resolved
Add fields to ContainerRegistryVulnerabilityProperties and ServerVulnerabilityProperties
@orparnes please resolve merging conflicts |
hi @orparnes what's your plan on this "DoNotMerge" PR? it's been there 2 months. Is it ok to merge it now? or how about close it for now and reopen if ready for merge? |
…y provider) (#7101) * sub assessment subscription level API * sub assessment subscription level API new line * sub assessment subscription level API new line 2 more files * sub assessment subscription level API removed redondent param * sub assessment subscription level API read me * sub assessment subscription level API read me * sub assessment subscription level API single fix * Added assessment scope API * update operation id on list all
Looks like this got replaced by #7101 |
Latest improvements:
See also #5649 - Introducing assessments and assessmentsMetadata types
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Contribution checklist:
ARM API Review Checklist
Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.
Please follow the link to find more details on API review process.