Skip to content

Enhance AES check with export history and passphrase warning - #480

Merged
monrog2 merged 1 commit into
v4.3.0-devfrom
codex/issue-479-aes-export-history
Oct 2, 2026
Merged

monrog2 merged 1 commit into
v4.3.0-devfrom
codex/issue-479-aes-export-history

Conversation

@monrog2

@monrog2 monrog2 commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

The Global AES Encryption check now reports the latest successful configuration export's policy, completion time, and age, and warns customers that the original AES passphrase must be retained to restore encrypted exports. These details appear in console and APIC JSON output, including for passing results.

Export history is read from the first successful configJob ordered by lastStepTime descending. Missing history or query failures are informational and do not change the AES result. The check does not trigger or collect an export or verify customer knowledge of the passphrase.

Also fixes the mandatory-encryption boundary to include target version 6.1(2a). Missing encryption objects require manual confirmation; missing or unexpected encryption attributes report an error. Documentation and unit tests cover these behaviors.

Closes #479.

Validation: 58 targeted unit tests passed:

python3 -m pytest tests/checks/aes_encryption_check/test_aes_encryption_check.py tests/checks/test_result_details.py tests/test_icurl.py tests/test_AciResult.py -q -o log_cli=false

git diff --check passed. The read-only export query was verified against the live APIC MCP; the updated script has not been run in live integration tests.

@monrog2
monrog2 merged commit 81b8dfe into v4.3.0-dev Oct 2, 2026
3 checks passed
@monrog2
monrog2 deleted the codex/issue-479-aes-export-history branch October 5, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhance Global AES Encryption check with export history and passphrase warning

1 participant