Skip to content
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

Provide an option to create a project with "Mark as sensitive" flag #167

Open
in-1911 opened this issue Sep 13, 2024 · 6 comments
Open

Provide an option to create a project with "Mark as sensitive" flag #167

in-1911 opened this issue Sep 13, 2024 · 6 comments
Assignees
Labels
enhancement New feature or request internal-synced

Comments

@in-1911
Copy link

in-1911 commented Sep 13, 2024

Description

Allow the user to request the WatsonX project to be created with "Mark as sensitive" flag.

The SCC profile AI Guardrails 2 (v.1.1.0) checks for the project settings and flag projects not using the flag as non-compliant.
The flag can only be set when the project is created, so the DA should allow the users to deploy a compliant configuration.

Per https://api.dataplatform.cloud.ibm.com/v2/projects/docs/swagger/#/Projects/project_create, the settings.access_restrictions.data element can control the "Mark as sensitive" flag.

New or affected modules

configure_project/main.tf


By submitting this issue, you agree to follow our Code of Conduct

@in-1911 in-1911 added the enhancement New feature or request label Sep 13, 2024
@ocofaigh
Copy link
Member

@andreainnocenti do you know was this ever done?

@andreainnocenti
Copy link
Contributor

not yet implemented

@in-1911
Copy link
Author

in-1911 commented Oct 1, 2024

I added a similar option in the sample app config- terraform-ibm-modules/terraform-ibm-rag-sample-da#171
We can remove it from there once the Watson SaaS DA has it.

@ocofaigh
Copy link
Member

@kierramarie I have approved your PR. As per @in-1911 comment above, lets remove it from the sample app DA now.

@kierramarie
Copy link
Contributor

@ocofaigh @in-1911 PR for removal has been opened. terraform-ibm-modules/terraform-ibm-rag-sample-da#201

@kierramarie
Copy link
Contributor

@ocofaigh the rag sample da contains a watson-machine-learning module that uses the variable, does this need to be updated to use the da? As @brendankellyibm says in the PR, it needs to be refactored to remove the variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request internal-synced
Projects
None yet
Development

No branches or pull requests

5 participants