-
Notifications
You must be signed in to change notification settings - Fork 466
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
[Cloud Security] add required_vars validation rules and default CSPM and Asset Inventory to agentless deployment #12363
Conversation
15f6b82
to
6c6632d
Compare
- type: cloudbeat/asset_inventory_aws | ||
title: AWS Asset Inventory | ||
description: AWS Asset Inventory | ||
vars: | ||
- name: cloud_formation_template | ||
type: text | ||
title: CloudFormation Template | ||
multi: false | ||
required: true | ||
show_user: false | ||
description: Template URL to Cloud Formation Quick Create Stack | ||
# ACCOUNT_TYPE value should be either "single-account" or "organization-account" | ||
default: https://console.aws.amazon.com/cloudformation/home#/stacks/quickcreate?templateURL=https://elastic-cspm-cft.s3.eu-central-1.amazonaws.com/cloudformation-asset-inventory-ACCOUNT_TYPE-8.17.0.yml&stackName=Elastic-Cloud-Security-Posture-Management¶m_EnrollmentToken=FLEET_ENROLLMENT_TOKEN¶m_FleetUrl=FLEET_URL¶m_ElasticAgentVersion=KIBANA_VERSION¶m_ElasticArtifactServer=https://artifacts.elastic.co/downloads/beats/elastic-agent | ||
- name: cloud_formation_credentials_template | ||
type: text | ||
title: CloudFormation Credentials Template | ||
multi: false | ||
required: true | ||
show_user: false | ||
description: Template URL to Cloud Formation Cloud Credentials Stack | ||
# ACCOUNT_TYPE value should be either "single-account" or "organization-account" | ||
default: https://console.aws.amazon.com/cloudformation/home#/stacks/quickcreate?templateURL=https://elastic-cspm-cft.s3.eu-central-1.amazonaws.com/cloudformation-asset-inventory-direct-access-key-ACCOUNT_TYPE-8.17.0.yml | ||
- type: cloudbeat/asset_inventory_azure | ||
title: Azure Asset Inventory | ||
description: Azure Asset Inventory | ||
vars: | ||
- name: arm_template_url | ||
type: text | ||
title: ARM Template URL | ||
multi: false | ||
required: true | ||
show_user: false | ||
description: A URL to the ARM Template for creating a new deployment | ||
# ACCOUNT_TYPE value should be either "single-account" or "organization-account" | ||
default: https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Felastic%2Fcloudbeat%2F8.17%2Fdeploy%2Fasset-inventory-arm%2FARM-for-ACCOUNT_TYPE.json | ||
- type: cloudbeat/asset_inventory_gcp | ||
title: GCP Asset Inventory | ||
description: GCP Asset Inventory | ||
vars: | ||
- name: cloud_shell_url | ||
type: text | ||
title: CloudShell URL | ||
multi: false | ||
required: true | ||
show_user: false | ||
description: A URL to CloudShell for creating a new deployment | ||
default: https://shell.cloud.google.com/cloudshell/?ephemeral=true&cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Felastic%2Fcloudbeat&cloudshell_git_branch=8.17&cloudshell_workspace=deploy%2Fdeployment-manager&show=terminal |
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.
was that an IDE auto-formatting?
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.
I think so. I ran the elastic-package build lint
on it. That may have changed it.
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.
Role_ARN showing in AWS CSPM UI for Manual selection. Sorry for the confusion.
/test |
9c8cc3e
to
bf7c727
Compare
🚀 Benchmarks reportPackage
|
Data stream | Previous EPS | New EPS | Diff (%) | Result |
---|---|---|---|---|
findings |
52631.58 | 43478.26 | -9153.32 (-17.39%) | 💔 |
To see the full report comment with /test benchmark fullreport
Quality Gate failedFailed conditions |
💚 Build Succeeded
History
cc @seanrathier |
Package cloud_asset_inventory - 0.8.0 containing this change is available at https://epr.elastic.co/package/cloud_asset_inventory/0.8.0/ |
Package cloud_security_posture - 1.13.0-preview02 containing this change is available at https://epr.elastic.co/package/cloud_security_posture/1.13.0-preview02/ |
Proposed commit message
required_vars validation rules for CSPM integration and default agentless deployments.
Add required_vars validation rules for CSPM integration for conditionally required fields.
Defaulting CSPM and Asset Inventory to agentless deployments.
Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Related issues
Screenshots