Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix security levels for trust scripts #439

Merged
merged 14 commits into from
May 3, 2024
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
Loading