Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Submitted
Workspace IBM i
Categories Security
Created by Guest
Created on May 14, 2024

Provide a view to list all files/objects which have authority collection turned on (i.e. AUTCOLVAL(*OBJINF))

Due to the nature of authority collection, it's common to leave it turned on for days/weeks.  It's easy to lose track of what objects are being collected.  Checking across the entire LPAR is generally not feasible (including the IFS).  One roundabout way of checking is to query a DISTINCT list of objects (or IFS paths) which have authority check entries in the authority collection repository, but this will only include objects for which an authority check has been recorded.  That's probably "good enough" but it seems like there should be a way to list all of the objects for which authority collection has been turned on.  This will help system administrators.

Idea priority Low
  • Guest
    Reply
    |
    Jun 18, 2024

    Since object authority collection in controlled by an object attribute, you can find QSYS.LIB objects with authority collection turned on with the following SQL:


    create or replace function OBJECTS_WITH_AUTHORITY_COLLECTED(
    Object_library varchar( 10 ) default '*ALL'
    , Object_name varchar( 10 ) default '*ALL'
    , Object_types varchar( 812 ) default '*ALL'
    )
    returns table (
    OBJLIB varchar( 10 )
    , OBJNAME varchar( 10 )
    , OBJTYPE varchar( 8 )
    , AUTHORITY_COLLECTION_VALUE varchar( 10 )
    )

    begin
    return
    select o.OBJLIB
    , o.OBJNAME
    , o.OBJTYPE
    , o.AUTHORITY_COLLECTION_VALUE
    from table( QSYS2.OBJECT_STATISTICS( OBJECT_SCHEMA => 'QSYS', OBJTYPELIST => '*LIB', OBJECT_NAME => Object_library ) ) l
    , table( QSYS2.OBJECT_STATISTICS( OBJECT_SCHEMA => l.OBJNAME, OBJTYPELIST => Object_types, OBJECT_NAME => Object_name ) ) o
    where o.AUTHORITY_COLLECTION_VALUE <> '*NONE'
    ;
    end

    You could create a similar function for IFS objects using the IFS_OBJECT_STATISTICS table function.


    Best regards,

    Christian Jorgensen - CEAC member