Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions scanner/rules/az_idn_006.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ def scan(azure_client: Any, subscription_id: str) -> List[Dict[str, Any]]:
already_expired = end_dt < now
except ValueError:
logger.debug(
"AZ-IDN-006: Invalid endDateTime for app_id=%s: %r",
"AZ-IDN-006: Invalid endDateTime format for app_id=%s",
app_id,
end_dt_str,
)

if not (age_days >= EXPIRY_THRESHOLD_DAYS or no_expiry or already_expired):
Expand Down
Loading