Altinn / altinn-file-scan

Microservice for handling file scan
MIT License
0 stars 0 forks source link

Verify blob timestamp matches scan request timestamp before scanning file #34

Closed bdb-dd closed 1 year ago

bdb-dd commented 1 year ago

Description

Data element content can be overwritten after creation, resulting in the possibility for multiple file scan instances to be requested in parallel, potentially resulting in out of order scanning.

File scan requests with a timestamp that does not match the current value of the LastModified property in Blob Storage should be ignored.

Tasks

Acceptance criteria

acn-sbuad commented 1 year ago

Verified in AT23 by manually changing blob content while function is paused.