-
Notifications
You must be signed in to change notification settings - Fork 171
feat: riskAssessments integration #1217
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
base: master
Are you sure you want to change the base?
Conversation
|
Hi, @josh-cain Contributing guideline: https://github.com/auth0/auth0-deploy-cli/blob/master/CONTRIBUTING.md Let me know if you have any questions. Looking forward to your updates! |
|
Hey @kushalshit27 , will when I go to move it out of draft state, build is passing, etc. Thanks 👍 |
dce807e to
c774018
Compare
2d7d33b to
9f6141b
Compare
|
Should be ready to go. Only issue is the e2e tests, for which it looks like I'd need to |
|
Hi, @josh-cain |
|
Please add PR description similar to #1204 |
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.
HI, @josh-cain ,
Since there are no multiple risk assessments, use the singular riskAssessment.
Please keep a single file for riskAssessment , riskAssessmentsNewDevice.ts is not needed.
Refer to attackProtection for a reference on combining multiple APIs under a single resource.
|
@kushalshit27 Updated ✅ . Please LMK if those changes are what you had in mind. |
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.
@josh-cain
One small request, renaming all the files and variables:
riskAssessments to riskAssessment
This comment was marked as outdated.
This comment was marked as outdated.
🤔 The API endpoint + docs are |
|
Hi, @josh-cain ,
Since there are no multiple risk assessments, we should use the singular |
🔧 Changes
Add the ability manage risk assessment settings (/v2/risk-assessments/settings) via the CLI. This change includes two settings:
Examples
YAML format
(from
tenant.yaml)JSON format
(from
risk-assessments/settings.json)📚 References
🔬 Testing
Unit tests passing ✅
Smoke tested locally with:
Everything seemed fine, the
tenant.jsonfile rendered correctly withriskAssessment.Next, ran the import script:
Everything checked out, and was properly reflected in tenant logs and the tenant:
📝 Checklist