Skip to content

Commit f93f43e

Browse files
Anthonydandhlee
authored andcommitted
docs: Fix conflict tag introduced in PR 104 (#106)
* add securitycenter prefix to samples, wrap published samples and replace unpublished entirely. * Fix unmatched region tags * Fix more unmatched region tags * fix lint issue with function antipattern * docs: standardize new tags with most-used tag from other languages * fix conflicting tag by making more explicit to the contained function
1 parent 72589db commit f93f43e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

securitycenter/snippets/snippets_security_marks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def delete_and_update_marks(asset_name):
118118

119119
def add_to_finding(finding_name):
120120
"""Adds security marks to a finding. """
121-
# [START securitycenter_add_security_marks]
121+
# [START securitycenter_add_finding_security_marks]
122122
# [START add_marks_to_finding]
123123
from google.cloud import securitycenter
124124
from google.protobuf import field_mask_pb2
@@ -145,7 +145,7 @@ def add_to_finding(finding_name):
145145
}
146146
)
147147
# [END add_marks_to_finding]
148-
# [END securitycenter_add_security_marks]
148+
# [END securitycenter_add_finding_security_marks]
149149
return updated_marks, marks
150150

151151

0 commit comments

Comments
 (0)