You can use boolean logic (e.g. AND/OR/NOT) for complex search queries. For more help and examples, see the search documentation.
Search by package name:
my-package (implicit)
name:my-package (explicit)
Search by package filename:
filename:my-package.ext
Search by package tag:
tag:latest
Search by package version:
version:1.0.0
prerelease:true (prereleases)
prerelease:false (no prereleases)
Search by package architecture:
architecture:x86_64
Search by package distribution:
distribution:el
Search by package license:
license:MIT
Search by package format:
format:deb
Search by package status:
status:in_progress
Search by package file checksum:
checksum:5afba
Search by package security status:
severity:critical
Search by package vulnerabilities:
vulnerabilities:>1
vulnerabilities:<1000
Search by # of package downloads:
downloads:>8
downloads:<100
Search by package type:
type:binary
type:source
Search by package size (bytes):
size:>50000
size:<10000
Search by dependency name/version:
dependency:log4j
dependency:log4j=1.0.0
dependency:log4j>1.0.0
Search by uploaded date:
uploaded:>"1 day ago"
uploaded:<"August 14, 2022 EST"
Search by entitlement token (identifier):
entitlement:3lKPVJPosCsY
Search by policy violation:
policy_violated:true
deny_policy_violated:true
license_policy_violated:true
vulnerability_policy_violated:true
Search by repository:
repository:repo-name
Search by last download date:
last_downloaded:<"30 days ago"
last_downloaded:>"August 14, 2022 EST"
Search queries for all Debian-specific (and related) package types
Search by component:
deb_component:unstable
Search queries for all Maven-specific (and related) package types
Search by group ID:
maven_group_id:org.apache
Search queries for all Docker-specific (and related) package types
Search by image digest:
docker_image_digest:sha256:7c5..6d4
(full hashref only)
Search by layer digest:
docker_layer_digest:sha256:4c4..ae4
(full hashref only)
Search queries for all Generic-specific package types
Search by file path:
generic_filepath:path/to/file.txt
Search by directory:
generic_directory:path/to
Field type modifiers (depending on the type, you can influence behaviour)
For all queries, you can use:
~foo for negation
For string queries, you can use:
^foo to anchor to start of term
foo$ to anchor to end of term
foo*bar for fuzzy matching
For number/date or version queries, you can use:
>foo for values greater than
>=foo for values greater / equal
<foo for values less than
<=foo for values less / equal
Need a secure and centralised artifact repository to deliver AI Skills,
Alpine,
Cargo,
CocoaPods,
Composer,
Conan,
Conda,
CRAN,
Dart,
Debian,
Docker,
Generic,
Go,
Helm,
Hex,
HuggingFace,
LuaRocks,
Maven,
MCP,
Nix,
npm,
NuGet,
P2,
Python,
RedHat,
Ruby,
Swift,
Terraform,
Vagrant,
VSX,
Raw & More packages?
Cloudsmith is the new standard in Package / Artifact Management and Software Distribution.
With support for all major package formats, you can trust us to manage your software supply chain.
elastio-connector
0.33.1
One-liner (summary)
Description
This directory contains terraform modules that you may use to automate the deployment of the Elastio Connector stacks in your AWS accounts.
## Obtain a Personal Access Token (PAT)
First of all, you'll need a secret PAT token to authenticate your Elastio installation with the Elastio Portal. You can generate one by following the steps below.
1. Open the [Elastio Portal](https://login.elastio.com/) in your web browser.
2. Go to the `Settings` page.
3. Open the `API access` tab.
4. Click on `Add New Access Token`.
5. Enter the name for the token, for example `Elastio deployment`.
6. Select the scope `Sources: Write` for the token.
7. Click on `Generate Token`.
8. Copy the generated token.
9. _Optional step._ Save the token in a secure place like 1Password or any other secret management system of your choice. This way you won't lose it.
## Add Elastio to Your Terraform
There is are several terraform modules that you can use. We'll review all of them below.
## Installation
[Configure](../../README.md#configuring-the-terraform-modules-registry) the Elastio terraform module registry before adding any Elastio terraform modules to your project.
### `elastio-connector` module
This module provides the easiest way to get started. It resides as the top-level module in this directory. It deploys all the necessary resources for Elastio to operate in a single module for the entire AWS account and covers many regions.
Add this terraform module to your terraform project and specify the necessary input variables. Here you'll need to pass the PAT token you [generated earlier](#obtain-a-personal-access-token-pat).
> [!IMPORTANT]
> Make sure `curl` of version _at least_ `7.76.0` is installed on the machine that runs the terraform deployment (`terraform apply`). The provided terraform module uses a `local-exec` provisioner that uses `curl` to do a REST API call to Elastio Portal.
Here is the basic example usage of the module that deploys Elastio Connectors in several regions allowing you to scan your assets in these regions.
```tf
module "elastio_connector" {
source = "terraform.cloudsmith.io/public/elastio-connector/aws"
version = "0.33.1"
elastio_tenant = var.elastio_tenant
elastio_pat = var.elastio_pat
elastio_cloud_connectors = [
{
region = "us-east-1"
},
{
region = "us-east-2",
}
]
}
```
You can find the full version of this example in [`examples/basic`](./examples/basic).
This module deploys the following three modules internally, that you can deploy individually if a finer grained control over the deployment is required. You may use them, for example, if you need to deploy regional stacks in separate terraform projects instead of using a single one that deploys all regions.
### `elastio-connector-account` module
Creates an AWS Cloudformation stack named `elastio-account-level-stack`, which is deployed once per AWS account and contains the required IAM resources (roles, policies, etc.) for Elastio Connector to operate in the same account.
See [`modules/account`](./modules/account) directory for details.
### `elastio-connector-region` module
Deploys the Elastio Cloud Connector stack via a REST API call to the Elastio Portal. The final stack contains Lambda functions, DynamoDB databases, S3 buckets, AWS Batch compute environments and other non-IAM resources.
See [`modules/region`](./modules/region) directory for details.
### `elastio-nat-provision` module
_Optional._ AWS Cloudformation stack named `elastio-nat-provision-lambda` which deploys NAT gateways in the private subnets where Elastio scan job workers run. This is necessary only if you deploy Elastio into private subnets that don't have outbound Internet access already. Alternatively, you can deploy your own NAT gateway if you want to.
See [`modules/nat-provision`](./modules/nat-provision) directory for details.
## Documentation for `elastio-connector` module
<!-- BEGIN_TF_DOCS -->
## Requirements
| Name | Version |
| ------------------------------------------------------------------------ | ------- |
| <a name="requirement_terraform"></a> [terraform](#requirement_terraform) | ~> 1.0 |
| <a name="requirement_aws"></a> [aws](#requirement_aws) | ~> 5.0 |
| <a name="requirement_http"></a> [http](#requirement_http) | ~> 3.0 |
## Providers
No providers.
## Modules
| Name | Source | Version |
| -------------------------------------------------------------------------- | ----------------------- | ------- |
| <a name="module_account"></a> [account](#module_account) | ./modules/account | n/a |
| <a name="module_nat_provision"></a> [nat_provision](#module_nat_provision) | ./modules/nat-provision | n/a |
| <a name="module_region"></a> [region](#module_region) | ./modules/region | n/a |
## Resources
No resources.
## Inputs
| Name | Description | Type | Default | Required |
| ------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | :------: |
| <a name="input_disable_customer_managed_iam_policies"></a> [disable_customer_managed_iam_policies](#input_disable_customer_managed_iam_policies) | If this is set to `false` (or omitted), then the stack will create<br/> additional customer-managed IAM policies that you can attach to your<br/> IAM identities to grant them direct access to the Elastio Connector stack.<br/> This way you can use elastio CLI directly to list Elastio scan jobs or<br/> submit new scan jobs. Set this to `true` if you don't need these policies. | `bool` | `null` | no |
| <a name="input_ecr_public_prefix"></a> [ecr_public_prefix](#input_ecr_public_prefix) | Repository prefix for the ECR Public registry. Used to configure a pull-through<br/> cache for elastio images that are downloaded from ECR Public. You can configure<br/> your own cache via ECR private, and then specify the repository prefix here.<br/><br/> This field supports 'account_id' and 'region' interpolation.<br/> For example, such value can be provided:<br/> '{{account\_id}}.dkr.ecr.{{region}}.amazonaws.com/ecr-public' | `string`
| pkg | terraform-aws-elastio-connector… |
201
15.7 KB |
md5 | sha1 | sha256 | sha512 |
This package has 33 files/directories.
| Newer |
|
elastio-connector |
368 |
|
||
|
|
elastio-connector |
201 |
|
|||
| Older |
|
elastio-connector |
796 |
|
Package statistics are no longer available on cloudsmith.io. Please visit our new web app to access this feature.
You can embed a badge in another website that shows this or the latest version of this package.
To embed the badge for this specific package version, use the following:
[](https://cloudsmith.io/~elastio/repos/public/packages/detail/terraform/elastio-connector/0.33.1/xp=aws/)
|This version of 'elastio-connector' @ Cloudsmith|
.. |This version of 'elastio-connector' @ Cloudsmith| image:: https://api-dkr.cloudsmith.com/v1/badges/version/elastio/public/terraform/elastio-connector/0.33.1/xp=aws/?render=true
:target: https://cloudsmith.io/~elastio/repos/public/packages/detail/terraform/elastio-connector/0.33.1/xp=aws/
image::https://api-dkr.cloudsmith.com/v1/badges/version/elastio/public/terraform/elastio-connector/0.33.1/xp=aws/?render=true[link="https://cloudsmith.io/~elastio/repos/public/packages/detail/terraform/elastio-connector/0.33.1/xp=aws/",title="This version of 'elastio-connector' @ Cloudsmith"]
<a href="https://cloudsmith.io/~elastio/repos/public/packages/detail/terraform/elastio-connector/0.33.1/xp=aws/"><img src="https://api-dkr.cloudsmith.com/v1/badges/version/elastio/public/terraform/elastio-connector/0.33.1/xp=aws/?render=true" alt="This version of 'elastio-connector' @ Cloudsmith" /></a>
rendered as:
To embed the badge for the latest package version, use the following:
[](https://cloudsmith.io/~elastio/repos/public/packages/detail/terraform/elastio-connector/latest/xp=aws/)
|Latest version of 'elastio-connector' @ Cloudsmith|
.. |Latest version of 'elastio-connector' @ Cloudsmith| image:: https://api-dkr.cloudsmith.com/v1/badges/version/elastio/public/terraform/elastio-connector/latest/xp=aws/?render=true&show_latest=true
:target: https://cloudsmith.io/~elastio/repos/public/packages/detail/terraform/elastio-connector/latest/xp=aws/
image::https://api-dkr.cloudsmith.com/v1/badges/version/elastio/public/terraform/elastio-connector/latest/xp=aws/?render=true&show_latest=true[link="https://cloudsmith.io/~elastio/repos/public/packages/detail/terraform/elastio-connector/latest/xp=aws/",title="Latest version of 'elastio-connector' @ Cloudsmith"]
<a href="https://cloudsmith.io/~elastio/repos/public/packages/detail/terraform/elastio-connector/latest/xp=aws/"><img src="https://api-dkr.cloudsmith.com/v1/badges/version/elastio/public/terraform/elastio-connector/latest/xp=aws/?render=true&show_latest=true" alt="Latest version of 'elastio-connector' @ Cloudsmith" /></a>
rendered as:
These instructions assume you have setup the repository first (or read it).
To install/use elastio-connector @ version 0.33.1 ...
Add the version of this module you wish to install to your source code using the syntax outlined by Terraform
module "my_module" {
source = "terraform.cloudsmith.io/public/elastio-connector/aws"
version = "0.33.1"
}
Once added, terraform will download the module to your project's .terraform directory after running:
terraform init
You can install the latest version of this crate by removing the version variable from it's declaration in your source code.
You can upgrade to the most recent version of this crate matching your version constraints by running:
terraform init -upgrade=true