Update Threat Signals article read status
client.cloudforceOne.threatSignals.articles.edit(stringarticleID, ArticleEditParams { account_id, read } params, RequestOptionsoptions?): ArticleEditResponse { id, bullet_points, content_r2_key, 17 more }
PATCH/accounts/{account_id}/cloudforce-one/v2/threat-signals/articles/{article_id}
Marks a Threat Signals article as read or unread.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
Accepted Permissions (at least one required)
Update Threat Signals article read status
import Cloudflare from 'cloudflare';
const client = new Cloudflare({
apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted
});
const response = await client.cloudforceOne.threatSignals.articles.edit(
'182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
{ account_id: 'account_id', read: true },
);
console.log(response.id);{
"errors": [
{
"message": "message"
}
],
"result": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"bullet_points": {
"impact": "impact",
"what_happened": "what_happened",
"who_affected": "who_affected"
},
"content_r2_key": "content_r2_key",
"feed_display_name": "feed_display_name",
"feed_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"fetched_at": "fetched_at",
"indicator_extraction_status": "in_progress",
"link": "link",
"metadata": {
"foo": "bar"
},
"published_at": "published_at",
"read": true,
"read_at": "read_at",
"severity": "informational",
"source_count": 0,
"summary": "summary",
"summary_r2_key": "summary_r2_key",
"tags": [
{
"applied_by": "ai",
"categoryId": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"uuid": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"value": "value"
}
],
"title": "title",
"skill_version": "skill_version",
"tag_skill_version": "tag_skill_version"
},
"success": true
}Returns Examples
{
"errors": [
{
"message": "message"
}
],
"result": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"bullet_points": {
"impact": "impact",
"what_happened": "what_happened",
"who_affected": "who_affected"
},
"content_r2_key": "content_r2_key",
"feed_display_name": "feed_display_name",
"feed_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"fetched_at": "fetched_at",
"indicator_extraction_status": "in_progress",
"link": "link",
"metadata": {
"foo": "bar"
},
"published_at": "published_at",
"read": true,
"read_at": "read_at",
"severity": "informational",
"source_count": 0,
"summary": "summary",
"summary_r2_key": "summary_r2_key",
"tags": [
{
"applied_by": "ai",
"categoryId": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"uuid": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"value": "value"
}
],
"title": "title",
"skill_version": "skill_version",
"tag_skill_version": "tag_skill_version"
},
"success": true
}