aws / aws-codedeploy-agent

Host Agent for AWS CodeDeploy
https://aws.amazon.com/codedeploy
Apache License 2.0
328 stars 188 forks source link

Facing issue in "file_exists_behavior: RETAIN" in Appsec file #340

Closed prakashraju619 closed 1 year ago

prakashraju619 commented 1 year ago

I have updated the appsec file "file_exists_behavior: RETAIN" in my case whenever there in change source (github) it has to be update or replace particular files in destination folder, but i can see all the files are updating or replacing happening

version: 0.0
os: Windows
files:
  - source: /
    destination: C:\xxx

file_exists_behavior: RETAIN
prakashraju619 commented 1 year ago

Afer checking checksum of file i can confirm files were not changed, may be bacuse of codeploy agent will read the files in folder so that windows upating timestamp