clong / DetectionLab

Automate the creation of a lab environment complete with security tooling and logging best practices
MIT License
4.59k stars 979 forks source link

AWS Velociraptor Enrollment is Broken #856

Closed clong closed 1 year ago

clong commented 1 year ago

Please verify that you are building from an updated Master branch before filing an issue.

aws_instance.dc (remote-exec): Copy-Item : Cannot find path 'C:\vagrant\resources\velociraptor\Velociraptor.config.yaml' because it does not exist.
aws_instance.dc (remote-exec): At C:\Users\vagrant\AppData\Local\Temp\install-velociraptor.ps1:32 char:3
aws_instance.dc (remote-exec): +   Copy-Item "c:\vagrant\resources\velociraptor\Velociraptor.config.ya ...
aws_instance.dc (remote-exec): +   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aws_instance.dc (remote-exec):     + CategoryInfo          : ObjectNotFound: (C:\vagrant\reso...tor.config.yaml:String) [Copy-Item], ItemNotFoundExce
aws_instance.dc (remote-exec):    ption
aws_instance.dc (remote-exec):     + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
clong commented 1 year ago

Fixed in https://github.com/clong/DetectionLab/commit/93572348c231042e82b0aae7cc84df6dae934433