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

enable compliance framework #103

Open
ehaselwanter opened this issue May 21, 2024 · 3 comments
Open

enable compliance framework #103

ehaselwanter opened this issue May 21, 2024 · 3 comments

Comments

@ehaselwanter
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@ehaselwanter ehaselwanter changed the title tf-provider enable compliance framework enable compliance framework May 21, 2024
@chris-rock
Copy link
Member

chris-rock commented May 24, 2024

I propose a definition similar to our policies:

resource "mondoo_framework_assignment" "space" {
  space_id = mondoo_space.my_space.id

  frameworks = [
    "//policy.api.mondoo.app/frameworks/iso-27001-2022",
  ]

  state = "enabled"
  
  # default is false, allows only setting specific policies
  partial_update = false
}

Right now I would avoid adding an attribute activate_policies = true since this would allow conflicts between the new policy setting #104 and this resource.

@chris-rock
Copy link
Member

I added sample requests to our API examples https://github.com/mondoohq/samples/pull/63/files

@Pauti
Copy link
Contributor

Pauti commented Jun 7, 2024

We implemented the issue in the following PR: #108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants