Skip to content
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions changelog/+core-artifact-encryption-protocol.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added the read-only `encryption` attribute to the `CoreArtifact` and `CoreArtifactSync` protocols, so typed code can read whether the stored file of an artifact is plaintext, encrypted or unreadable.
2 changes: 2 additions & 0 deletions infrahub_sdk/protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ class CoreAccountRole(CoreNode):
class CoreArtifact(CoreTaskTarget):
checksum: StringOptional
content_type: String
encryption: String
name: String
parameters: JSONAttributeOptional
status: String
Expand Down Expand Up @@ -1513,6 +1514,7 @@ class CoreAccountRoleSync(CoreNodeSync):
class CoreArtifactSync(CoreTaskTargetSync):
checksum: StringOptional
content_type: String
encryption: String
name: String
parameters: JSONAttributeOptional
status: String
Expand Down
Loading