Skip to content
Draft
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
e7699c3
feat: Add initial implementation of audit trails module
itsyaasir Dec 11, 2025
c4f79fb
refactor: Rename module and package from audit_trails_poc to audit_tr…
itsyaasir Dec 11, 2025
f6e7e11
feat: Audit Trails_ Rename move directory and add some folders (#162)
chrisgitiota Dec 12, 2025
e449177
feat: Implement audit trails with role-based access control
itsyaasir Dec 17, 2025
c2b11bd
feat: Introduce locking and record modules for audit trails
itsyaasir Dec 17, 2025
d1d8dc5
First version of permission
chrisgitiota Dec 21, 2025
632d1e7
First version of initial roles config and Admin role Capability creation
chrisgitiota Dec 22, 2025
f5b6b2a
Add missing tests for create AT
chrisgitiota Dec 22, 2025
395a68f
Fixes for the create AT tests
chrisgitiota Dec 22, 2025
713c494
New test test_create_metadata_admin_role() in create_tests.move
chrisgitiota Dec 22, 2025
6cb397b
Fix dprint issues
chrisgitiota Dec 22, 2025
bc512d8
refactor: Rename audit_trails module to main and update locking confi…
itsyaasir Dec 22, 2025
ed79a98
New test for the role-based access control delegation workflow
chrisgitiota Dec 22, 2025
09ae22b
Add access control check for update_metadata()
chrisgitiota Dec 22, 2025
75c8487
Update audit-trail-move/sources/permission.move
chrisgitiota Dec 23, 2025
60f5562
Implementation for the issued_capabilities whitelist management plus …
chrisgitiota Dec 23, 2025
7938050
Merge branch 'feat/audit-trails-api-roles-management' of github.com:i…
chrisgitiota Dec 23, 2025
520eda0
Globally rename 'MetaData' to 'Metadata'
chrisgitiota Dec 23, 2025
e5a71a1
Rename 'create_tests' to 'create_audit_trail_tests'
chrisgitiota Dec 23, 2025
cfb8c84
Rename all Permissions variants and creator functions according to th…
chrisgitiota Dec 23, 2025
ffe4871
Merge branch 'feat/audit-trails-api' into feat/audit-trails-api-roles…
chrisgitiota Dec 23, 2025
600ae26
Rewrite of all LockingConfig creating function calls in Move tests
chrisgitiota Dec 23, 2025
c029e29
Add access control check for AuditTrail.update_metadata() and `delete…
chrisgitiota Dec 23, 2025
09f1a96
Merge pull request #173 from iotaledger/feat/audit-trails-api-roles-m…
itsyaasir Dec 24, 2025
e89679a
Merge pull request #164 from iotaledger/feat/audit-trails-api
itsyaasir Dec 24, 2025
f30459f
Merge branch 'main' into feat/audit-trails-dev
itsyaasir Jan 5, 2026
213ac6b
chore: fmt fixes & add prettier configuration
itsyaasir Jan 5, 2026
71d2dd4
New Capability restrictions: issued_to, valid_until and valid_from
chrisgitiota Jan 5, 2026
d9f7829
Merge branch 'feat/audit-trails-dev' into feat/audit-trails-dev-caps-…
chrisgitiota Jan 5, 2026
a8d084e
chore: Fixed format issues
chrisgitiota Jan 5, 2026
8a5297b
Only revoke cap_to_destroy if they are contained in issued_capabilities
chrisgitiota Jan 9, 2026
a091087
chore: function sig refactor & adding of emitting events
itsyaasir Jan 12, 2026
06d26b9
refactor: update capability permission checks and enhance test coverage
itsyaasir Jan 12, 2026
d55e41b
refactor: improve test readability with consistent formatting
itsyaasir Jan 12, 2026
5f45822
fix: correct typos in permission documentation and improve comments
itsyaasir Jan 13, 2026
d894813
fix: enhance documentation clarity in new_metadata function
itsyaasir Jan 13, 2026
08966a0
refactor: update TrailImmutableMetadata structure and related functio…
itsyaasir Jan 14, 2026
06fac21
refactor: enhance documentation and add role management tests
itsyaasir Jan 14, 2026
446eb4e
Merge pull request #176 from iotaledger/chore/add-events-audit-trails
itsyaasir Jan 14, 2026
1b3ed35
Merge branch 'feat/audit-trails-dev' into chore/make-immutable-md-opt…
itsyaasir Jan 14, 2026
622190b
Merge pull request #178 from iotaledger/chore/make-immutable-md-optional
itsyaasir Jan 14, 2026
a2c8023
fix: add error handling for existing roles in role management functions
itsyaasir Jan 15, 2026
a4491b1
refactor: rename record_count to sequence_number for clarity and upda…
itsyaasir Jan 15, 2026
650acfe
Merge branch 'feat/audit-trails-dev' into feat/audit-trails-dev-caps-…
chrisgitiota Jan 15, 2026
84e4e82
All existing tests migrated to the latest RoleMap interface
chrisgitiota Jan 16, 2026
fbd271a
Merge branch 'main' into feat/audit-trails-dev-caps-extended
chrisgitiota Jan 16, 2026
cce0159
Removed superfluous "public use fun" statements and function prefixes
chrisgitiota Jan 16, 2026
4afb700
Merge pull request #174 from iotaledger/feat/audit-trails-dev-caps-ex…
chrisgitiota Jan 16, 2026
af3ec03
Merge branch 'feat/audit-trails-dev' into chore/audit-trails-bugs
itsyaasir Jan 16, 2026
0e851cf
chore: Disable the `abort_without_constant` lint for all test modules.
itsyaasir Jan 20, 2026
3968c63
Merge pull request #179 from iotaledger/chore/audit-trails-bugs
itsyaasir Jan 22, 2026
3704f30
Merge branch 'main' into feat/audit-trails-dev
itsyaasir Jan 22, 2026
bc904b6
feat: Add package versioning and migration support to audit trail
itsyaasir Jan 27, 2026
6ff5403
refactor: Rename package_version to version in AuditTrail struct and …
itsyaasir Jan 28, 2026
c6f1709
feat: Introduce record correction tracking in audit trail
itsyaasir Jan 30, 2026
eb72d6c
Merge pull request #189 from iotaledger/feat/audit-trials/package-upg…
itsyaasir Feb 2, 2026
891a13d
Merge branch 'feat/audit-trails-dev' into feat/correction-records
itsyaasir Feb 2, 2026
b6f355d
refactor: Simplify documentation comments in Record module
itsyaasir Feb 2, 2026
cc62a4c
feat: Scaffold audit trail module with client and package management
itsyaasir Feb 3, 2026
1f2e81f
Merge branch 'main' into feat/audit-trails-dev
chrisgitiota Feb 3, 2026
2ee0843
Merge branch 'feat/audit-trails-dev' into feat/correction-records
itsyaasir Feb 4, 2026
d8eec9d
Merge branch 'feat/audit-trails-dev' into feat/audit-trail-rs-scaffold
chrisgitiota Feb 4, 2026
63d94f9
feat: Implement core types and structures for audit trail functionality
itsyaasir Feb 4, 2026
5a63bb1
Merge pull request #191 from iotaledger/feat/correction-records
itsyaasir Feb 5, 2026
fe3656c
feat: Rename package name from "audit-trails" to "audit_trails"
itsyaasir Feb 5, 2026
0751134
Merge branch 'feat/audit-trails-dev' into feat/audit-trail-rs-scaffold
itsyaasir Feb 5, 2026
398b515
feat: Change 'replaces' field type from Vec to HashSet in RecordCorre…
itsyaasir Feb 5, 2026
a6cadda
Feat: Audit Trail uses RoleMap and Capability from product-core (#184)
chrisgitiota Feb 5, 2026
4aea04e
feat: Implement audit trail metadata update and migration operations
itsyaasir Feb 6, 2026
b58f170
refactor: Simplify function signatures in client and handler modules
itsyaasir Feb 9, 2026
c15cdfc
feat: Enhance AuditTrailClient with new identity client creation and …
itsyaasir Feb 9, 2026
871a132
refactor: Update AuditTrailBuilder and related structures for default…
itsyaasir Feb 9, 2026
4470f60
Merge branch 'feat/audit-trails-dev' into feat/audit-trail-rs-scaffold
itsyaasir Feb 9, 2026
d77519b
refactor: Restructure audit trail core modules and update imports
itsyaasir Feb 9, 2026
c04039f
refactor: Update import paths and introduce new trail module
itsyaasir Feb 9, 2026
464378a
refactor: Consolidate utility functions and update audit trail struct…
itsyaasir Feb 9, 2026
0f1c81b
refactor: Rename create_trail_tx to create_trail and streamline relat…
itsyaasir Feb 9, 2026
c44e69c
Refactor audit trail creation and record management
itsyaasir Feb 10, 2026
1059f7b
Implement role management operations and associated events in the aud…
itsyaasir Feb 16, 2026
3a750e8
feat: add destroy and revoke functionality for initial admin capabili…
itsyaasir Feb 16, 2026
8330752
refactor: remove metadata module and related tests; introduce operati…
itsyaasir Feb 16, 2026
cb0396c
Refactor transaction builders and operations for records and roles
itsyaasir Feb 16, 2026
bea9bae
Refactor role and permission handling in audit trail
itsyaasir Feb 17, 2026
4439e80
feat: implement migration functionality and refactor related components
itsyaasir Feb 18, 2026
92f2adc
feat: implement audit trail migration functionality and refactor lock…
itsyaasir Feb 19, 2026
dcb7d7f
feat: add batch deletion of records and permission management
itsyaasir Feb 19, 2026
93897ce
Merge branch 'feat/audit-trail-rs-scaffold' of github.com:iotaledger/…
chrisgitiota Feb 20, 2026
5f4fcfe
feat: Enhance locking mechanism with TimeLock support
itsyaasir Feb 27, 2026
0bda0c0
feat: Refactor capability validation method to assert_capability_valid
itsyaasir Mar 3, 2026
0b92660
Update dependencies and refactor event handling in audit trail
itsyaasir Mar 3, 2026
bf12e8a
feat: Clean up unused imports and improve move_type implementation in…
itsyaasir Mar 3, 2026
3a69350
Merge branch 'feat/audit-trail-rs-scaffold' into feat/delete-and-writ…
itsyaasir Mar 3, 2026
faae6a4
Merge pull request #193 from iotaledger/feat/audit-trail-rs-scaffold
itsyaasir Mar 3, 2026
6d86386
Merge branch 'feat/audit-trails-dev' into feat/delete-and-write-prote…
itsyaasir Mar 3, 2026
9d71ab5
Merge pull request #205 from iotaledger/feat/delete-and-write-protection
itsyaasir Mar 3, 2026
79d6b03
Merge branch 'main' into feat/audit-trails-dev
chrisgitiota Mar 5, 2026
ce4ea23
Use TfComponents from product-core "feat/tf-compoenents-dev" branch
chrisgitiota Mar 5, 2026
50ac7b7
Update audit-trail-move to be compilable and testable with generic ro…
chrisgitiota Mar 9, 2026
ade9736
Update Move.lock and audit_trail.move for version consistency and dep…
itsyaasir Mar 11, 2026
cd62491
feat: record tags
itsyaasir Mar 11, 2026
d761da1
Refactor record tag management in audit trail
itsyaasir Mar 16, 2026
859ecba
chore: clean up audit tags
itsyaasir Mar 16, 2026
9790d55
chore: refactor roles to access
itsyaasir Mar 16, 2026
2c85939
Merge pull request #215 from iotaledger/feat/rename-roles
itsyaasir Mar 17, 2026
7c20e14
Merge branch 'feat/audit-trails-dev' into feat/record-tags
itsyaasir Mar 17, 2026
8dbe1d4
fix record tag sdk wiring and clippy issues
itsyaasir Mar 18, 2026
186e1c3
chore: fix fmt issues
itsyaasir Mar 18, 2026
d083df8
chore: allow unused tag deletion
itsyaasir Mar 18, 2026
2c7e564
chore: fix records tags, refactor and cleanup code
itsyaasir Mar 18, 2026
a476e51
Merge branch 'main' into feat/audit-trails-dev
itsyaasir Mar 18, 2026
3652e2c
chore: bump up deps
itsyaasir Mar 18, 2026
43c497e
Merge branch 'feat/audit-trails-dev' into feat/record-tags
itsyaasir Mar 18, 2026
261a68a
chore: type import fixes
itsyaasir Mar 18, 2026
97174f1
chore: add initial record refactor
itsyaasir Mar 19, 2026
b722553
Implement flexible record data for audit trails
itsyaasir Mar 19, 2026
12e1201
Allow creating empty Data trails
itsyaasir Mar 19, 2026
0daa157
Feat: Audit Trails using `revoked_capabilities` (#216)
chrisgitiota Mar 19, 2026
fafd749
Several renamings in `record_tags.move` (#223)
chrisgitiota Mar 19, 2026
e3c7a75
Merge branch 'feat/audit-trails-dev' into feat/record-tags
chrisgitiota Mar 19, 2026
0437f1a
First part of needed changes to use the latest record_tags.move version
chrisgitiota Mar 19, 2026
7e9f4bf
Move sources are compilable now - some of the tests are failing though
chrisgitiota Mar 20, 2026
8b8db89
Fixed issue "is_in_use() is inverted" and removed several warnings
chrisgitiota Mar 23, 2026
49817ae
Renamed fun args `record_tags` to `role_tags` for `create_role` and `…
chrisgitiota Mar 23, 2026
ce40f72
Merge pull request #228 from iotaledger/feat/record-tags-using-latest…
itsyaasir Mar 24, 2026
35845ff
Merge pull request #227 from iotaledger/feat/support-explicit-record-…
itsyaasir Mar 24, 2026
b81d8a3
Update audit-trail-move/sources/audit_trail.move
itsyaasir Mar 24, 2026
7f3972b
Merge pull request #214 from iotaledger/feat/record-tags
itsyaasir Mar 24, 2026
fa347a7
Merge branch 'feat/audit-trails-dev' into feat/use-enum-data-for-at
itsyaasir Mar 24, 2026
b7a4968
Update TfComponents dependency and fix Move tests
itsyaasir Mar 24, 2026
3c8082c
Compact initial record setup formatting
itsyaasir Mar 24, 2026
31aa722
Merge pull request #225 from iotaledger/feat/use-enum-data-for-at
itsyaasir Mar 24, 2026
0d5c020
chore: update the rust library to be upto par with contract
itsyaasir Mar 25, 2026
16ac6d4
remove validated scope from OperationCap
qrayven Mar 26, 2026
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: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@

# ignore folder created in CI for downloaded iota binaries
/iota/
/toml-cli/
/toml-cli/
/audit-trail-move/build
42 changes: 42 additions & 0 deletions audit-trail-move/Move.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# @generated by Move, please check-in and do not edit manually.

[move]
version = 3
manifest_digest = "205525E3D4D4DF71C1144E3EE5DDD210506D20F1DB2438FC02BB2ADCE7E5BFD6"
deps_digest = "F9B494B64F0615AED0E98FC12A85B85ECD2BC5185C22D30E7F67786BB52E507C"
dependencies = [
{ id = "Iota", name = "Iota" },
{ id = "IotaSystem", name = "IotaSystem" },
{ id = "MoveStdlib", name = "MoveStdlib" },
{ id = "Stardust", name = "Stardust" },
]

[[move.package]]
id = "Iota"
source = { git = "https://github.com/iotaledger/iota.git", rev = "4698c6723208e052a00c74602d2c8dc0efffe5de", subdir = "crates/iota-framework/packages/iota-framework" }

dependencies = [
{ id = "MoveStdlib", name = "MoveStdlib" },
]

[[move.package]]
id = "IotaSystem"
source = { git = "https://github.com/iotaledger/iota.git", rev = "4698c6723208e052a00c74602d2c8dc0efffe5de", subdir = "crates/iota-framework/packages/iota-system" }

dependencies = [
{ id = "Iota", name = "Iota" },
{ id = "MoveStdlib", name = "MoveStdlib" },
]

[[move.package]]
id = "MoveStdlib"
source = { git = "https://github.com/iotaledger/iota.git", rev = "4698c6723208e052a00c74602d2c8dc0efffe5de", subdir = "crates/iota-framework/packages/move-stdlib" }

[[move.package]]
id = "Stardust"
source = { git = "https://github.com/iotaledger/iota.git", rev = "4698c6723208e052a00c74602d2c8dc0efffe5de", subdir = "crates/iota-framework/packages/stardust" }

dependencies = [
{ id = "Iota", name = "Iota" },
{ id = "MoveStdlib", name = "MoveStdlib" },
]
8 changes: 8 additions & 0 deletions audit-trail-move/Move.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "audit_trail"
edition = "2024.beta"

[dependencies]

[addresses]
audit_trail = "0x0"
Loading