Splunk Dev

Why is "[SPLUNKD] Action Forbidden" on fetching Splunk app's configuration?

domaquino
Loves-to-Learn Lots

I'am trying to fetch the app's configuration using:

const appNamespace = { 

owner: "admin", 

app: appName, 

sharing: "app" 

};

const http = new splunkjs.SplunkWebHttp();
console.log(http);
const service = new splunkjs.Service(http, appNamespace,);
console.log(service);
stage = 'Retrieving configurations SDK collection';
const configCollection = service.configurations(appNamespace);
console.log(configCollection)
await configCollection.fetch()      // Adding this line is what's causing the error.

But I'm getting an error of "[SPLUNKD] Action Forbidden" when I look at the browser's console. The app's read permission is set to "Everyone".

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...