Skip to content

Commit

Permalink
Fix security levels for trust scripts (#439)
Browse files Browse the repository at this point in the history
* Fix `accts.transactions` security level

* Fix `chats.create` security level

* Fix `chats.send` security level

* Fix `chats.tell` security level

* Fix `corps.top` security level

* Fix `scripts.highsec` security level

* Fix `scripts.lowsec` security level

* Fix `scripts.midsec` security level

* Fix `scripts.nullsec` security level

* Fix `sys.breach` security level

* Fix `sys.specs` security level

* Fix `sys.status` security level

* Fix `sys.upgrade_log` missing subscriptor

* `corps.top` is actually nullsec
  • Loading branch information
fpiribauer authored May 3, 2024
1 parent 8b3e6f4 commit e3572c2
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/scripting/trust_scripts/accts.transactions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: "Returns a log of the user's transactions"

### Security Level

FULLSEC
HIGHSEC

## Syntax

Expand Down
4 changes: 2 additions & 2 deletions docs/scripting/trust_scripts/chats.create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: "Creates a custom chat channel"

### Security level

MIDSEC
FULLSEC

## Syntax

Expand Down Expand Up @@ -55,6 +55,6 @@ Same as CLI.
```js
function(context, args)
{
return #ms.chats.create({ name: "example_channel", password: "examplepass" })
return #fs.chats.create({ name: "example_channel", password: "examplepass" })
}
```
2 changes: 1 addition & 1 deletion docs/scripting/trust_scripts/chats.send.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: "Sends a message to a specified channel"

### Security level

MIDSEC
FULLSEC

## Syntax

Expand Down
2 changes: 1 addition & 1 deletion docs/scripting/trust_scripts/chats.tell.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: "Sends a private message to a specified user"

### Security level

MIDSEC
FULLSEC

## Syntax

Expand Down
4 changes: 2 additions & 2 deletions docs/scripting/trust_scripts/corps.top.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: "Returns the top 10 player coporations by total GC"

### Security level

FULLSEC
NULLSEC

## Syntax

Expand All @@ -20,7 +20,7 @@ corps.top
### Script

```
#fs.corps.top()
#ns.corps.top()
```

### Parameters
Expand Down
2 changes: 1 addition & 1 deletion docs/scripting/trust_scripts/scripts.highsec.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: "Lists HIGHSEC sectors and scripts"

### Security Level

HIGHSEC
FULLSEC

## Syntax

Expand Down
2 changes: 1 addition & 1 deletion docs/scripting/trust_scripts/scripts.lowsec.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: "Lists LOWSEC sectors and scripts"

### Security Level

LOWSEC
FULLSEC

## Syntax

Expand Down
2 changes: 1 addition & 1 deletion docs/scripting/trust_scripts/scripts.midsec.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: "Lists MIDSEC sectors and scripts"

### Security Level

MIDSEC
FULLSEC

## Syntax

Expand Down
2 changes: 1 addition & 1 deletion docs/scripting/trust_scripts/scripts.nullsec.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: "Lists NULLSEC sectors and scripts"

### Security Level

NULLSEC
FULLSEC

## Syntax

Expand Down
2 changes: 1 addition & 1 deletion docs/scripting/trust_scripts/sys.breach.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sys.breach { confirm: true }
### Script

```
#ls.sys.breach({ confirm: true })
#ns.sys.breach({ confirm: true })
```

### Parameters
Expand Down
6 changes: 5 additions & 1 deletion docs/scripting/trust_scripts/sys.specs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ description: "Returns the user's system specs"

((sys.specs)) returns the user's current system specifications.

### Security Level

HIGHSEC

## Syntax

### CLI
Expand All @@ -16,7 +20,7 @@ sys.specs
### Script

```
#ns.sys.specs()
#hs.sys.specs()
```

### Parameters
Expand Down
2 changes: 1 addition & 1 deletion docs/scripting/trust_scripts/sys.status.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sys.status
### Script

```
#fs.sys.status()
#hs.sys.status()
```

### Parameters
Expand Down
2 changes: 1 addition & 1 deletion docs/scripting/trust_scripts/sys.upgrade_log.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sys.upgrade_log
### Script

```
sys.upgrade_log()
#hs.sys.upgrade_log()
```

### Parameters
Expand Down

0 comments on commit e3572c2

Please sign in to comment.