This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
18-digit LDAP/Win32 FILETIME timestamp to human-readable date and | |
""" | |
import datetime | |
def mstimestamp_to_datetime(mstimestamp: int) -> datetime.datetime: | |
magic_number = 11_644_473_600 | |
shift = 10_000_000 | |
timestamp = (mstimestamp / shift) - magic_number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ci/cd varibles: | |
# 1. DEFECTDOJO_URL (not masked) | |
# 2. DEFECTDOJO_TOKEN (masked) | |
# 3. DEFECTDOJO_PRODUCTID (not masked) | |
include: | |
- template: Security/Secret-Detection.gitlab-ci.yml | |
- template: Security/SAST.gitlab-ci.yml | |
- template: Security/Container-Scanning.gitlab-ci.yml |