Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@continuoussecuritytooling/keycloak-auditor

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@continuoussecuritytooling/keycloak-auditor - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

.prettierrc

9

package.json
{
"name": "@continuoussecuritytooling/keycloak-auditor",
"version": "1.0.2",
"version": "1.1.0",
"description": "Auditing Tools for Keycloak",
"typings": "dist/index.d.ts",
"main": "dist/index.js",
"type": "module",

@@ -24,2 +25,5 @@ "scripts": {

"homepage": "https://github.com/ContinuousSecurityTooling/keycloak-auditor#readme",
"dependencies": {
"node-fetch": "^3.3.2"
},
"devDependencies": {

@@ -32,6 +36,7 @@ "@octokit/rest": "^20.0.2",

"eslint": "^8.40.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"gunzip-maybe": "^1.4.2",
"jest": "^29.5.0",
"jest-extended": "^4.0.0",
"node-fetch": "^3.3.2",
"tape": "^5.7.0",

@@ -38,0 +43,0 @@ "tar-fs": "^3.0.4",

/* tslint:disable */
/* eslint-disable */
// Generated using typescript-generator version 3.2.1263 on 2023-10-26 18:25:57.
// Generated using typescript-generator version 3.2.1263 on 2023-10-27 20:02:34.
export interface AuditedClientRepresentation extends ClientRepresentation {
realm: string;
lastLogin: string;
}
export interface AuditedUserRepresentation extends UserRepresentation {
lastLogin: string;
realm: string;
clientLogins: { [index: string]: string };
}
export interface ClientLoginDetails {

@@ -14,2 +25,274 @@ kcLogin: Date;

export interface ProtocolMapperRepresentation {
id: string;
name: string;
protocol: string;
protocolMapper: string;
/**
* @deprecated
*/
consentRequired: boolean;
/**
* @deprecated
*/
consentText: string;
config: { [index: string]: string };
}
export interface ResourceServerRepresentation {
id: string;
clientId: string;
name: string;
allowRemoteResourceManagement: boolean;
policyEnforcementMode: PolicyEnforcementMode;
resources: ResourceRepresentation[];
policies: PolicyRepresentation[];
scopes: ScopeRepresentation[];
decisionStrategy: DecisionStrategy;
}
export interface ClientRepresentation {
id: string;
clientId: string;
name: string;
description: string;
rootUrl: string;
adminUrl: string;
baseUrl: string;
surrogateAuthRequired: boolean;
enabled: boolean;
alwaysDisplayInConsole: boolean;
clientAuthenticatorType: string;
secret: string;
registrationAccessToken: string;
/**
* @deprecated
*/
defaultRoles: string[];
redirectUris: string[];
webOrigins: string[];
notBefore: number;
bearerOnly: boolean;
consentRequired: boolean;
standardFlowEnabled: boolean;
implicitFlowEnabled: boolean;
directAccessGrantsEnabled: boolean;
serviceAccountsEnabled: boolean;
authorizationServicesEnabled: boolean;
/**
* @deprecated
*/
directGrantsOnly: boolean;
publicClient: boolean;
frontchannelLogout: boolean;
protocol: string;
attributes: { [index: string]: string };
authenticationFlowBindingOverrides: { [index: string]: string };
fullScopeAllowed: boolean;
nodeReRegistrationTimeout: number;
registeredNodes: { [index: string]: number };
protocolMappers: ProtocolMapperRepresentation[];
/**
* @deprecated
*/
clientTemplate: string;
/**
* @deprecated
*/
useTemplateConfig: boolean;
/**
* @deprecated
*/
useTemplateScope: boolean;
/**
* @deprecated
*/
useTemplateMappers: boolean;
defaultClientScopes: string[];
optionalClientScopes: string[];
authorizationSettings: ResourceServerRepresentation;
access: { [index: string]: boolean };
origin: string;
}
export interface CredentialRepresentation {
id: string;
type: string;
userLabel: string;
createdDate: number;
secretData: string;
credentialData: string;
priority: number;
value: string;
temporary: boolean;
/**
* @deprecated
*/
device: string;
/**
* @deprecated
*/
hashedSaltedValue: string;
/**
* @deprecated
*/
salt: string;
/**
* @deprecated
*/
hashIterations: number;
/**
* @deprecated
*/
counter: number;
/**
* @deprecated
*/
algorithm: string;
/**
* @deprecated
*/
digits: number;
/**
* @deprecated
*/
period: number;
/**
* @deprecated
*/
config: { [index: string]: string[] };
}
export interface FederatedIdentityRepresentation {
identityProvider: string;
userId: string;
userName: string;
}
export interface UserConsentRepresentation {
clientId: string;
grantedClientScopes: string[];
createdDate: number;
lastUpdatedDate: number;
/**
* @deprecated
*/
grantedRealmRoles: string[];
}
export interface SocialLinkRepresentation {
socialProvider: string;
socialUserId: string;
socialUsername: string;
}
export interface UserProfileMetadata {
attributes: UserProfileAttributeMetadata[];
groups: UserProfileAttributeGroupMetadata[];
}
export interface UserRepresentation {
self: string;
id: string;
origin: string;
createdTimestamp: number;
username: string;
enabled: boolean;
/**
* @deprecated
*/
totp: boolean;
emailVerified: boolean;
firstName: string;
lastName: string;
email: string;
federationLink: string;
serviceAccountClientId: string;
attributes: { [index: string]: string[] };
credentials: CredentialRepresentation[];
disableableCredentialTypes: string[];
requiredActions: string[];
federatedIdentities: FederatedIdentityRepresentation[];
realmRoles: string[];
clientRoles: { [index: string]: string[] };
clientConsents: UserConsentRepresentation[];
notBefore: number;
/**
* @deprecated
*/
applicationRoles: { [index: string]: string[] };
socialLinks: SocialLinkRepresentation[];
groups: string[];
access: { [index: string]: boolean };
userProfileMetadata: UserProfileMetadata;
}
export interface ResourceRepresentation {
name: string;
type: string;
owner: ResourceOwnerRepresentation;
ownerManagedAccess: boolean;
displayName: string;
attributes: { [index: string]: string[] };
_id: string;
uris: string[];
scopes: ScopeRepresentation[];
icon_uri: string;
/**
* @deprecated
*/
uri: string;
resource_scopes: ScopeRepresentation[];
}
export interface PolicyRepresentation extends AbstractPolicyRepresentation {
config: { [index: string]: string };
}
export interface ScopeRepresentation {
id: string;
name: string;
iconUri: string;
policies: PolicyRepresentation[];
resources: ResourceRepresentation[];
displayName: string;
}
export interface UserProfileAttributeMetadata {
name: string;
displayName: string;
required: boolean;
readOnly: boolean;
annotations: { [index: string]: any };
validators: { [index: string]: { [index: string]: any } };
group: string;
}
export interface UserProfileAttributeGroupMetadata {
name: string;
displayHeader: string;
displayDescription: string;
annotations: { [index: string]: any };
}
export interface ResourceOwnerRepresentation {
id: string;
name: string;
}
export interface AbstractPolicyRepresentation {
id: string;
name: string;
description: string;
type: string;
policies: string[];
resources: string[];
scopes: string[];
logic: Logic;
decisionStrategy: DecisionStrategy;
owner: string;
resourcesData: ResourceRepresentation[];
scopesData: ScopeRepresentation[];
}
export const enum ConfigConstants {

@@ -28,1 +311,18 @@ DISABLE_EXTERNAL_ACCESS = "KC_AUD_DISABLE_EXTERNAL_ACCESS",

}
export const enum PolicyEnforcementMode {
ENFORCING = "ENFORCING",
PERMISSIVE = "PERMISSIVE",
DISABLED = "DISABLED",
}
export const enum DecisionStrategy {
AFFIRMATIVE = "AFFIRMATIVE",
UNANIMOUS = "UNANIMOUS",
CONSENSUS = "CONSENSUS",
}
export const enum Logic {
POSITIVE = "POSITIVE",
NEGATIVE = "NEGATIVE",
}
{
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"module": "Node16",
"esModuleInterop": true,
"allowImportingTsExtensions": true,
"emitDeclarationOnly": true,
"moduleResolution": "Node16",
"noEmit": false,
"declaration": true,
"target": "es2017",
"sourceMap": true,
"outFile": "dist/index.d",
"lib": ["dom", "es2017"]
"outDir": "dist",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"isolatedModules": true,
},
"exclude": [
"dist",
"test"
]
"exclude": ["dist", "test"]
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc