-
-
Notifications
You must be signed in to change notification settings - Fork 146
Closed
Labels
bug🐛 An issue with the system🐛 An issue with the system
Description
Describe the Bug
When there are traverse path in vendor URI atmos vendor pull fail with error
FatalError{Underlying: error while running command: exit status 1; URI cannot contain path traversal sequences}
The regression introduced in version 1.130.0
Expected Behavior
atmos vendor pull should finis successfully
Steps to Reproduce
- Use atmos version
1.130.0 - Create
vendor.yamlwith following content
apiVersion: atmos/v1
kind: AtmosVendorConfig
metadata:
name: fixtures
description: Atmos vendoring manifest
spec:
sources:
- component: "account-map"
source: github.com/cloudposse/terraform-aws-components.git//modules/account-map?ref={{.Version}}
version: 1.520.0
targets:
- "components/terraform/account-map"
included_paths:
- "**/*.tf"
- "**/*.md"
- "**/*.tftmpl"
- "**/modules/**"
excluded_paths: []
- component: "vpc"
source: "../../src"
targets:
- "components/terraform/vpc"
included_paths:
- "**/*.tf"
- "**/*.md"
- "**/*.tftmpl"
- "**/modules/**"
excluded_paths: []- Run
atmos vendor pull
Screenshots
No response
Environment
No response
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug🐛 An issue with the system🐛 An issue with the system