10
10
"ProfileListResponse" ,
11
11
"ProfileListResponseItem" ,
12
12
"ProfileListResponseItemDLPPredefinedProfile" ,
13
+ "ProfileListResponseItemDLPPredefinedProfileContextAwareness" ,
14
+ "ProfileListResponseItemDLPPredefinedProfileContextAwarenessSkip" ,
13
15
"ProfileListResponseItemDLPPredefinedProfileEntry" ,
14
16
"ProfileListResponseItemDLPCustomProfile" ,
17
+ "ProfileListResponseItemDLPCustomProfileContextAwareness" ,
18
+ "ProfileListResponseItemDLPCustomProfileContextAwarenessSkip" ,
15
19
"ProfileListResponseItemDLPCustomProfileEntry" ,
16
20
"ProfileListResponseItemDLPCustomProfileEntryPattern" ,
17
21
"ProfileListResponseItemDLPIntegrationProfile" ,
18
22
"ProfileListResponseItemDLPIntegrationProfileEntry" ,
19
23
]
20
24
21
25
26
+ class ProfileListResponseItemDLPPredefinedProfileContextAwarenessSkip (BaseModel ):
27
+ files : bool
28
+ """If the content type is a file, skip context analysis and return all matches."""
29
+
30
+
31
+ class ProfileListResponseItemDLPPredefinedProfileContextAwareness (BaseModel ):
32
+ enabled : bool
33
+ """
34
+ If true, scan the context of predefined entries to only return matches
35
+ surrounded by keywords.
36
+ """
37
+
38
+ skip : ProfileListResponseItemDLPPredefinedProfileContextAwarenessSkip
39
+ """Content types to exclude from context analysis and return all matches."""
40
+
41
+
22
42
class ProfileListResponseItemDLPPredefinedProfileEntry (BaseModel ):
23
43
id : Optional [str ] = None
24
44
"""The ID for this entry"""
@@ -40,6 +60,12 @@ class ProfileListResponseItemDLPPredefinedProfile(BaseModel):
40
60
allowed_match_count : Optional [float ] = None
41
61
"""Related DLP policies will trigger when the match count exceeds the number set."""
42
62
63
+ context_awareness : Optional [ProfileListResponseItemDLPPredefinedProfileContextAwareness ] = None
64
+ """
65
+ Scan the context of predefined entries to only return matches surrounded by
66
+ keywords.
67
+ """
68
+
43
69
entries : Optional [List [ProfileListResponseItemDLPPredefinedProfileEntry ]] = None
44
70
"""The entries for this profile."""
45
71
@@ -50,6 +76,22 @@ class ProfileListResponseItemDLPPredefinedProfile(BaseModel):
50
76
"""The type of the profile."""
51
77
52
78
79
+ class ProfileListResponseItemDLPCustomProfileContextAwarenessSkip (BaseModel ):
80
+ files : bool
81
+ """If the content type is a file, skip context analysis and return all matches."""
82
+
83
+
84
+ class ProfileListResponseItemDLPCustomProfileContextAwareness (BaseModel ):
85
+ enabled : bool
86
+ """
87
+ If true, scan the context of predefined entries to only return matches
88
+ surrounded by keywords.
89
+ """
90
+
91
+ skip : ProfileListResponseItemDLPCustomProfileContextAwarenessSkip
92
+ """Content types to exclude from context analysis and return all matches."""
93
+
94
+
53
95
class ProfileListResponseItemDLPCustomProfileEntryPattern (BaseModel ):
54
96
regex : str
55
97
"""The regex pattern."""
@@ -90,6 +132,12 @@ class ProfileListResponseItemDLPCustomProfile(BaseModel):
90
132
allowed_match_count : Optional [float ] = None
91
133
"""Related DLP policies will trigger when the match count exceeds the number set."""
92
134
135
+ context_awareness : Optional [ProfileListResponseItemDLPCustomProfileContextAwareness ] = None
136
+ """
137
+ Scan the context of predefined entries to only return matches surrounded by
138
+ keywords.
139
+ """
140
+
93
141
created_at : Optional [datetime ] = None
94
142
95
143
description : Optional [str ] = None
0 commit comments