Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tburgin committed May 6, 2024
1 parent 3392a8a commit 5d3ae4e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/common/SNTBlockMessage.m
Expand Up @@ -139,6 +139,9 @@ + (NSString *)replaceFormatString:(NSString *)str
return formatStr;
}

//
// The following "format strings" will be replaced in the URL provided by
// `+eventDetailURLForEvent:customURL:templateMapping:`.
//
// %file_identifier% - The SHA-256 of the binary being executed.
// %bundle_or_file_identifier% - The hash of the bundle containing this file or the file itself,
Expand Down Expand Up @@ -193,7 +196,7 @@ + (NSDictionary *)fileAccessEventDetailTemplateMappingForEvent:(SNTFileAccessEve
// Returns either the generated URL for the passed in event, or an NSURL from the passed in custom
// URL string. If the custom URL string is the string "null", nil will be returned. If no custom
// URL is passed and there is no configured EventDetailURL template, nil will be returned.
// The following "format strings" will be replaced in the URL, if they are present:
// The "format strings" in `templateMapping` will be replaced in the URL, if they are present.
+ (NSURL *)eventDetailURLForEvent:(SNTStoredEvent *)event
customURL:(NSString *)url
templateMapping:(NSDictionary *)templateMapping {
Expand Down

0 comments on commit 5d3ae4e

Please sign in to comment.