Skip to content

Commit

Permalink
add KVRT download recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
jgstew committed Jun 4, 2024
1 parent 0e07c13 commit a91f088
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Kaspersky/KasperskyVirusRemovalTool-Win.download.recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
Description: Downloads the latest DataDog Agent for Windows
Identifier: com.github.jgstew.download.KasperskyVirusRemovalTool-Win
Input:
NAME: KasperskyVirusRemovalTool-Win
DisplayName: KasperskyVirusRemovalTool
MinimumVersion: "2.3"
Process:
- Processor: URLDownloaderPython
Arguments:
url: https://devbuilds.s.kaspersky-labs.com/devbuilds/KVRT/latest/full/KVRT.exe
filename: KVRT.exe
download_version: ""
COMPUTE_HASHES: True

- Processor: EndOfCheckPhase

# get FileVersion from EXE and save to `version` variable
- Processor: com.github.jgstew.SharedProcessors/FileExeGetInfoPE

# verify version is set correctly, at least major.minor:
- Processor: com.github.jgstew.SharedProcessors/TextSearcher
Arguments:
input_string: "%version%"
re_pattern: '^\d+\.\d+'

0 comments on commit a91f088

Please sign in to comment.