description:'Whether to return all results or only up to a given limit',
displayOptions:{
show:{
resource:[
'scan',
],
operation:[
'getAll',
],
},
},
},
{
displayName:'Limit',
name:'limit',
type:'number',
default:50,
description:'Max number of results to return',
typeOptions:{
minValue: 1,
},
displayOptions:{
show:{
resource:[
'scan',
],
operation:[
'getAll',
],
returnAll:[
false,
],
},
},
},
{
displayName:'Filters',
name:'filters',
type:'collection',
placeholder:'Add Filter',
default:{},
displayOptions:{
show:{
resource:[
'scan',
],
operation:[
'getAll',
],
},
},
options:[
{
displayName:'Query',
name:'query',
type:'string',
description:'Query using the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-dsl-query-string-query">Elastic Search Query String syntax</a>. See <a href="https://urlscan.io/docs/search/">supported fields</a> in the documentation.',
default:'',
placeholder:'domain:n8n.io',
},
],
},
// ----------------------------------------
// scan: perform
// ----------------------------------------
{
displayName:'URL',
name:'url',
type:'string',
default:'',
placeholder:'https://n8n.io',
description:'URL to scan',
displayOptions:{
show:{
resource:[
'scan',
],
operation:[
'perform',
],
},
},
},
{
displayName:'Additional Fields',
name:'additionalFields',
type:'collection',
placeholder:'Add Field',
default:{},
displayOptions:{
show:{
resource:[
'scan',
],
operation:[
'perform',
],
},
},
options:[
{
displayName:'Custom Agent',
name:'customAgent',
description:'<code>User-Agent</code> header to set for this scan. Defaults to <code>n8n</code>',
type:'string',
default:'',
},
{
displayName:'Override Safety',
name:'overrideSafety',
description:'Disable reclassification of URLs with potential PII in them',