Skip to main content

Policies

Artemis supports parsing some macOS policies applied to the system. Currently artemis supports parsing the following policies:

  • Password Policy

Collection

You have to use the artemis api in order to get macOS policies.

Sample API Script

import {
passwordPolicy,
} from "https://raw.githubusercontent.com/puffycid/artemis-api/master/mod.ts";

async function main() {
const results = passwordPolicy();

console.log(results);
}

Output Structure

An array of PasswordPolicy

export interface PasswordPolicy {
policy_id: string;
policy_content: string;
policy_description: string;
}