Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

U/sgriffin/sid #811

Merged
merged 23 commits into from
Jan 16, 2025
Merged

U/sgriffin/sid #811

merged 23 commits into from
Jan 16, 2025

Conversation

stephenegriffin
Copy link
Member

This pull request includes several changes to improve the handling and testing of security descriptors and access control entries (ACEs). The most important changes include the modification of the SDToString function, the addition of new test data files, and the restructuring of the project to better organize the smart view components.

Improvements to security descriptor handling:

  • UI/MySecInfo.cpp: Replaced SDToString with NTSDToString and simplified the DebugPrint output.

Addition of new test data files:

  • Added new test data files for ACE and security descriptor tests (UnitTest/SmartViewTestData/In/ACECONTAINER-1.dat, UnitTest/SmartViewTestData/In/ACEFB-1.dat, UnitTest/SmartViewTestData/In/ACEMESSAGE-1.dat, UnitTest/SmartViewTestData/In/ACEMESSAGE-2.dat, UnitTest/SmartViewTestData/In/ACL-1.dat, UnitTest/SmartViewTestData/In/NTSD-1.dat, UnitTest/SmartViewTestData/In/NTSD-5.dat, UnitTest/SmartViewTestData/In/SECURITYDESCRIPTOR-1.dat, UnitTest/SmartViewTestData/In/SID-6.dat, UnitTest/SmartViewTestData/In/SID-7.dat). [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Project restructuring:

Codebase simplification:

These changes enhance the maintainability and clarity of the codebase, improve the organization of smart view components, and expand the test coverage for security descriptors and ACEs.

Copy link

github-actions bot commented Jan 16, 2025

Test Results

    8 files  ± 0      8 suites  ±0   46s ⏱️ +8s
  251 tests + 7    251 ✅ + 7  0 💤 ±0  0 ❌ ±0 
2 008 runs  +56  2 008 ✅ +56  0 💤 ±0  0 ❌ ±0 

Results for commit a314648. ± Comparison against base commit 270e12c.

This pull request removes 6 and adds 13 tests. Note that renamed tests count towards both.
SmartViewTest.SmartViewTest ‑ SECURITYDESCRIPTOR_2
SmartViewTest.SmartViewTest ‑ SECURITYDESCRIPTOR_3
SmartViewTest.SmartViewTest ‑ SECURITYDESCRIPTOR_4
sidtest.sidtest ‑ Test_ACEToString
sidtest.sidtest ‑ Test_GetTextualSid
sidtest.sidtest ‑ Test_SDToString
SmartViewTest.SmartViewTest ‑ ACECONTAINER_1
SmartViewTest.SmartViewTest ‑ ACEFB_1
SmartViewTest.SmartViewTest ‑ ACEMESSAGE_1
SmartViewTest.SmartViewTest ‑ ACEMESSAGE_2
SmartViewTest.SmartViewTest ‑ ACL_1
SmartViewTest.SmartViewTest ‑ NTSD_1
SmartViewTest.SmartViewTest ‑ NTSD_2
SmartViewTest.SmartViewTest ‑ NTSD_3
SmartViewTest.SmartViewTest ‑ NTSD_4
SmartViewTest.SmartViewTest ‑ NTSD_5
…

♻️ This comment has been updated with latest results.

@stephenegriffin stephenegriffin enabled auto-merge (squash) January 16, 2025 21:39
@stephenegriffin stephenegriffin merged commit 4908661 into main Jan 16, 2025
16 checks passed
@stephenegriffin stephenegriffin deleted the u/sgriffin/sid branch January 16, 2025 22:01
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.

2 participants