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

asset-name configuration is not sent back to Mondoo Platform #137

Closed
scottford-io opened this issue Oct 18, 2023 · 2 comments · Fixed by #145
Closed

asset-name configuration is not sent back to Mondoo Platform #137

scottford-io opened this issue Oct 18, 2023 · 2 comments · Fixed by #145
Assignees

Comments

@scottford-io
Copy link
Contributor

Describe the bug
When the cnspec provisioner is connected to Mondoo Platform, the asset-name configuration is not sent back correctly to Mondoo Platform.

image

To Reproduce
Steps to reproduce the behavior:

In the packer build template add the following configuration ...

  provisioner "cnspec" {
    on_failure = "continue"
    asset_name = "test-name"
    sudo {
      active = true
    }
    annotations = {
      Source_AMI    = "Foo"
      Creation_Date = "Bar"
    }
  }
}

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots or CLI Output
If applicable, add screenshots or the CLI output to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. macOS]
  • OS Version: [e.g. 13.0]
  • Browser if applicable: [e.g. Chrome, Firefox]
  • Browser Version: [e.g. 106]

Additional context
Add any other context about the problem here.

@chris-rock
Copy link
Member

probably related to mondoohq/cnquery#2282 and should be fixed with the next cnspec release

@scottford-io
Copy link
Contributor Author

mondoohq/cnspec#858

@czunker czunker self-assigned this Oct 31, 2023
czunker added a commit that referenced this issue Oct 31, 2023
This set the asset-name also upstream.

Fixes #137

Signed-off-by: Christian Zunker <[email protected]>
czunker added a commit that referenced this issue Oct 31, 2023
This set the asset-name also upstream.

Fixes #137

Signed-off-by: Christian Zunker <[email protected]>
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

Successfully merging a pull request may close this issue.

3 participants