- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- FeaturedContentRule
- RuleSeverity
- RuleEntitlement
- RuleSet
- Try it!
Full name: projects.locations.instances.contentHub.featuredContentRules.list
Lists FeaturedContentRules
HTTP request
Path parameters
Parameters | |
---|---|
parent |
Required. The parent which owns this collection of FeaturedContentRules. Format: projects/{project}/locations/{location}/instances/{instance}/contentHub |
Query parameters
Parameters | |
---|---|
pageSize |
Optional. The maximum number of featured contents to return. The service may return fewer than this value. If unspecified, at most 100 featured contents will be returned. The maximum value is 1000; values above 1000 will be coerced to 100. |
pageToken |
Optional. A page token, received from a previous |
filter |
Optional. Only the following filters are allowed: Under HAS operator: Filtering through category names: - Singular: Filtering through policy names: - Singular: Filtering through rule IDs: - Singular: Filtering through rule precision: Under MATCHES_REGEXP operator: Search through rule name or description (behaves like a string contains): This search is case-insensitive and filters through the rule metadata, specifically the ruleName and description keys. Multiple filters can also be used together: Ex 1: Requests using filter comparators other than HAS(:) or MATCHES_REGEXP(=~) will result in an InvalidArgument error. |
Request body
The request body must be empty.
Response body
Response message for featuredContentRules.list method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"featuredContentRules": [
{
object ( |
Fields | |
---|---|
featuredContentRules[] |
The list of FeaturedContentRules. |
nextPageToken |
Optional. A token, which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
chronicle.featuredContentRules.list
For more information, see the IAM documentation.
FeaturedContentRule
FeaturedContentRule resource. Next ID: 14
JSON representation |
---|
{ "name": string, "contentMetadata": { object ( |
Fields | |
---|---|
name |
Identifier. Full resource name for the FeaturedContentRule. Format: projects/{project}/locations/{location}/instances/{instance}/contentHub/featuredContentRules/{featuredContentRule} |
contentMetadata |
Output only. Metadata for all teams. |
curatedRuleContent |
Optional. The curated rule content. |
ruleText |
Output only. Rule text. |
ruleAssumption |
Output only. The assumption of the rule. |
severity |
Output only. The severity of the rule. |
alertingStatusEnabled |
Alerting status for the curated rule. |
liveStatusEnabled |
Live status for the curated rule. |
ruleEntitlement |
Indicates the entitlement of the curated rule. |
categoryId |
Output only. The category pack ID of the curated rule. |
ruleSet |
Output only. The rule set information for the curated rule. |
privateRule |
Output only. Indicates if the curated rule is private. If rule is marked as private, the rule text will be hidden. |
RuleSeverity
RuleSeverity is an enum representing the severity of the rule.
Enums | |
---|---|
RULE_SEVERITY_UNSPECIFIED |
Unspecified severity. |
LOW |
Rule is set to low severity. |
MEDIUM |
Rule is set to medium severity. |
HIGH |
Rule is set to high severity. |
CRITICAL |
Rule is set to critical severity. |
RuleEntitlement
Represents the rule entitlement for FeaturedContentRule.
Enums | |
---|---|
RULE_ENTITLEMENT_UNSPECIFIED |
Unspecified entitlement. |
ENTERPRISE |
Enterprise entitlement. |
ENTERPRISE_PLUS |
Enterprise Plus entitlement. |
RuleSet
Represents the rule set information for a FeaturedContentRule.
JSON representation |
---|
{ "curatedRuleSet": string, "id": string, "displayName": string } |
Fields | |
---|---|
curatedRuleSet |
Output only. The parent CuratedRuleSet that the rule set belongs to. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{category}/curatedRuleSets/{ruleSet} |
id |
The hash of the rule set. |
displayName |
The human readable name of the rule set. |