Skip to content

Admin flagged projects

GET
/api/v1/admin/abuse-scans
curl --request GET \
--url https://api.deploybase.eu/api/v1/api/v1/admin/abuse-scans \
--header 'Authorization: <Authorization>'

Latest finished keyword scan per project and branch, plus any older scan whose deployment is live again (a superseded one is returned as new), reported projects first, then by priority and score. Each row carries report_count (non-rejected abuse reports naming the project), team_name and site_host.

review_status
string

New, dismissed or actioned (default new)

page
integer

Page number (default 1)

page_size
integer

Page size, 1-100 (default 20)

OK

Media type application/json
object
data
meta
object
request_id
string
timestamp
string
trace_id
string
data
object
page
integer
page_size
integer
scans
Array<object>
object
branch
string
created_at
string
deployment_id
string
error
string
files_scanned
integer
handled_at
string
handled_by
string
id
string
matches
Array<object>
object
category
string
examples
Array<object>
object
path
string
snippet
string
hits
integer
rule_id
string
others_in_project

OthersInProject is not a column: the admin list and detail fill it with the project’s other open listed scans (other branches, or an older deployment live again), DEP-880.

integer
priority
string
project_id
string
report_count
integer
resolution
string
review_status
string
scanned_at
string
score
integer
site_host
string
status
string
team_id
string
team_name
string
truncated
boolean
total
integer

Example generated

{
"data": {
"page": 1,
"page_size": 1,
"scans": [
{
"branch": "example",
"created_at": "example",
"deployment_id": "example",
"error": "example",
"files_scanned": 1,
"handled_at": "example",
"handled_by": "example",
"id": "example",
"matches": [
{
"category": "example",
"examples": [
{
"path": "example",
"snippet": "example"
}
],
"hits": 1,
"rule_id": "example"
}
],
"others_in_project": 1,
"priority": "example",
"project_id": "example",
"report_count": 1,
"resolution": "example",
"review_status": "example",
"scanned_at": "example",
"score": 1,
"site_host": "example",
"status": "example",
"team_id": "example",
"team_name": "example",
"truncated": true
}
],
"total": 1
},
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
}
}

Bad Request

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Example generated

{
"code": "example",
"details": "example",
"docs_url": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
},
"next_actions": [
{
"action": "example",
"cli": "example",
"description": "example",
"http": "example",
"tool": "example"
}
],
"reason": "example",
"who_acts": "example"
}

Unauthorized

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Example generated

{
"code": "example",
"details": "example",
"docs_url": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
},
"next_actions": [
{
"action": "example",
"cli": "example",
"description": "example",
"http": "example",
"tool": "example"
}
],
"reason": "example",
"who_acts": "example"
}

Forbidden

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Example generated

{
"code": "example",
"details": "example",
"docs_url": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
},
"next_actions": [
{
"action": "example",
"cli": "example",
"description": "example",
"http": "example",
"tool": "example"
}
],
"reason": "example",
"who_acts": "example"
}

Internal Server Error

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Example generated

{
"code": "example",
"details": "example",
"docs_url": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
},
"next_actions": [
{
"action": "example",
"cli": "example",
"description": "example",
"http": "example",
"tool": "example"
}
],
"reason": "example",
"who_acts": "example"
}

Service Unavailable

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Example generated

{
"code": "example",
"details": "example",
"docs_url": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
},
"next_actions": [
{
"action": "example",
"cli": "example",
"description": "example",
"http": "example",
"tool": "example"
}
],
"reason": "example",
"who_acts": "example"
}

Live 582ac705 built